Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 May 2004 13:57:08 +0930
From:      Tim Aslat <tim@spyderweb.com.au>
To:        freebsd-security@freebsd.org
Subject:   Re: quick FW question [SOLVED]
Message-ID:  <20040512135708.219d1a5e@bofh.spyderweb.com.au>
In-Reply-To: <20040512115607.23ac80ea@bofh.spyderweb.com.au>
References:  <20040512115607.23ac80ea@bofh.spyderweb.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
Problem solved.

Here's the answer (for the archives)

# block all SMTP traffic from inside to out while letting the server
# through
ipfw add allow tcp from any to me 25
ipfw add allow tcp from me to any 25
ipfw add deny tcp from any to any dst-port 25

This prevents any host within the network from sending directly to an
SMTP server outside the network.

Thanks to "D J Hawkey Jr <hawkeyd@visi.com>" for helping me out with
this.

Cheers

Tim

-- 
Tim Aslat <tim@spyderweb.com.au>
Spyderweb Consulting
http://www.spyderweb.com.au
Phone: +61 0401088479



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040512135708.219d1a5e>