Port forward using iptables

To forward all request on port 80 to port 8080, run

iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8080

Related Posts

iptables

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *