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
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