Problem with natd on ipfw2

Denis Borisov denb at mailru.com
Sun Apr 6 04:17:01 PDT 2003


Why natd don't divert packets?

 *********screenshot***********************

 #ipfw add divert 1111 tcp from any to any 7
 #ipfw add divert 1111 tcp from any 7 to any
 #natd  -v -p 1111 -a 172.16.0.102 -redirect_port tcp 172.16.0.253:7 7

 In  [TCP]  [TCP] 172.16.0.104:49169 -> 172.16.0.102:7 aliased to
            [TCP] 172.16.0.104:49169 -> 172.16.0.253:7

 In  [TCP]  [TCP] 172.16.0.104:49169 -> 172.16.0.102:7 aliased to
            [TCP] 172.16.0.104:49169 -> 172.16.0.253:7

 ^C
 *********screenshot***********************

 Where is Out[TCP]?

This constructions fine work on FreeBSD4.7(ipfw1) but don't work on
FreeBSD 5.0-CURRENT(ipfw2).
What i am doing wrong?



More information about the freebsd-questions mailing list