natd

Gilberto Villani Brito gilberto at dilk.com.br
Thu Jun 9 14:08:48 GMT 2005


Why this rules works:
/sbin/ipfw -f flush
/sbin/ipfw add 00100 allow ip from any to any via lo0
/sbin/ipfw add 500 divert 8668 ip from any to any via sis0
/sbin/natd -a 200.200.200.2
/sbin/ipfw add 64002 pass all from any to any
/sbin/ipfw add 65000 allow all from any to any

and this rules doen't works:
/sbin/ipfw -f flush
/sbin/ipfw add 00100 allow ip from any to any via lo0
/sbin/ipfw add 500 divert 8668 ip from 10.0.0.2 to any via sis0
/sbin/natd -a 200.200.200.2
/sbin/ipfw add 64002 pass all from any to any
/sbin/ipfw add 65000 allow all from any to any

????????????????????

My internal ip is 10.0.0.2.


Gilberto


More information about the freebsd-ipfw mailing list