Date: Fri, 7 Mar 2003 11:02:06 +0300 (MSK) From: denb <denb@front.ru> To: freebsd-questions@freebsd.org Cc: hackers@freebsd.org Subject: Why natd don't divert packets? Message-ID: <200303070802.h27826Mn058500@www6.mailru.com>
next in thread | raw e-mail | index | archive | help
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]?
Rules after natd running (why second rule has 0 in packets number?):
*********screenshot***********************
#ipfw show
0001 6 180 divert 1111 tcp from any to any dst-port 7
0002 0 0 divert 1111 tcp from any 7 to any
*********screenshot***********************
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200303070802.h27826Mn058500>
