quick FW question [SOLVED]

Tim Aslat tim at spyderweb.com.au
Tue May 11 21:27:08 PDT 2004


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 at visi.com>" for helping me out with
this.

Cheers

Tim

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


More information about the freebsd-security mailing list