Port DNATting

Oleg A. Arkhangelsky sysoleg at progtech.ru
Sat Nov 26 11:28:52 CET 2005


Hello Georgi,

Saturday, November 26, 2005, 1:20:09 PM, you wrote:

GA> If you want to do that you should read the
GA> iptables-tutorial.frozentux.net, then use the REDIRECT target:
GA> iptables -t nat -A PREROUTING -p tcp --dport 8080 -j REDIRECT --to 80

    Thank you very much! My error was that I use POSTROUTING instead
    of PREROUTING with DNAT.

-- 
Best regards,
 Oleg




More information about the netfilter mailing list