Re: need assistence for PREROUTING

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

 



Hello,

Seferovic Edvin a écrit :
$IPTABLES -t nat -A PREROUTING -i $ETH -p tcp --sport $UNPRIVPORTS --dport 4444 -d xxx.xxx.xxx.xxx -j DNAT
--to-destination 192.168.178.32

You need port here !!! --to-destination 192.168.178.32:80

Also, 192.168.178.112 must be the gateway for the return packets so they are properly un-DNATed.



[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