Clement Laforet <[EMAIL PROTECTED]>: > On Fri, 7 Mar 2003 11:02:06 +0300 (MSK) > denb <[EMAIL PROTECTED]> wrote: > > > 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]? > > > Your boxes seems to be on the same subnet, "out" packets are directly > sent to 172.16.0.104, not 172.16.0.102 > nat'ing implies routing, so natd is inefficient in your case > > clem > >
This working in FreeBSD4.7(ipfw1), but broken in FreeBSD 5.0(ipfw2). Why? To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message