vickd wrote:
Can't comment on its suitability, but to redirect port 80 to 8080 -
iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8080
That is great, though I would like to hear from someone about its suitability. It seems great to me, as long as it doesn't degrade performance.
Do you happen to know how to properly save such new iptables configuration? I have seen numerous commands, such as "sudo service iptables save", but this gives a "iptables service does not exist".
Thanks a lot.