Tom Brown wrote:

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?

Try adding it manually to the iptables config.

# vim /etc/sysconfig/iptables

And then restart iptables.

Regards,
Max
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to