[CentOS] Redirecting port 8080 to port 80 - how to add in /etc/sysconfig/iptables file?

Gordon Messmer gordon.messmer at gmail.com
Tue Jun 21 14:13:35 UTC 2016


On 06/21/2016 02:30 AM, Alexander Farber wrote:
> -A PREROUTING -p tcp -m tcp -d 144.76.184.154/32 --dport 80 -j REDIRECT
> --to-ports 8080


I think you have the ports backward, here.




More information about the CentOS mailing list