RE: IP forwarding

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

 



>> iptables -t nat -A PREROUTING -d 1.2.3.4 -p tcp --dport 80 -j DNAT
>> --to 192.168.1.202
>
>The roule should look like this:
>
>iptables -t nat -A PREROUTING -d 1.2.3.4 -p tcp --dport 80 -j DNAT
>--to-destination 192.168.1.202

Or just --to-dest ;-)



Jan Engelhardt
-- 


[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