Iptables in FreeBSD

kashif imran kashif_imran4u at yahoo.com
Thu Feb 12 00:58:23 PST 2009


Hi all
I am a new to FreeBsd, can someone translate these iptables rules for freebsd?
 
/usr/sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
/usr/sbin/iptables -A FORWARD -i eth0 -o eth1 -m state --state RELATED,ESTABLISHED -j ACCEPT
/usr/sbin/iptables -A FORWARD -i eth1 -o eth0 -j ACCEPT

 
regards
Imran


      


More information about the freebsd-questions mailing list