[CentOS] iptables local forwarding

Tom Brown

tom at ng23.net
Thu Oct 23 13:15:12 UTC 2008


Hi

I am trying to forward port 80 to 8080 locally using iptables with the 
following

/sbin/iptables -t nat -I PREROUTING -p tcp --dport 80 -j REDIRECT 
--to-port 8080

However this does not get put into the iptables configuration even after 
running iptables-save

Have i missed something along the way?

thanks




More information about the CentOS mailing list