看板FB_security
标 题quick FW question
发信站NCTU CSIE FreeBSD Server (Wed May 12 02:20:01 2004)
转信站ptt!FreeBSD.csie.NCTU!not-for-mail
I hope this isn't too off topic, but I'd like a quick solution to a
problem.
I have a small network behind a NAT firewall (FreeBSD of course) and I'd
like to block/redirect all traffic from the internal network to the
local mail server (same box as firewall) in order to prevent direct smtp
requests to the outside world (mainly virus/trokan programs).
I think I have it right in this rule, but I would prefer to get a
second, or even a third opinion.
ipfw add fwd 127.0.0.1,25 tcp from any to me dst-port 25
Cheers
Tim
--
Tim Aslat <
[email protected]>
Spyderweb Consulting
http://www.spyderweb.com.au
Phone: +61 0401088479
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "
[email protected]"