Re: Trouble shooting for port forwarding , Want to make sure port is forwarded

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

John Joseph a écrit :
Hi For the purpose of trouble shooting , one setup
which I had done  for redirecting port 110 to port
8110 ( same machine)  . For this purpose   I gave the
command as
iptables -t nat -A PREROUTING  -p tcp --dport 110 -j
REDIRECT --to-port  8110

   Now after this . When I do a tcpdump for port 8110
, I do not get any results , when I access port 110

This is normal. Tcpdump sees the incoming original packets when they arrive at the interface, before they are DNATed or REDIRECTed by iptables in the PREROUTING chain.



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux