IP forwarding

Jan Engelhardt jengelh at linux01.gwdg.de
Thu Aug 4 09:55:40 CEST 2005


>> 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
-- 



More information about the netfilter mailing list