Big Data and Cloud Development Tips.
Things we do in our day-to-day big data and cloud development.
Wednesday, December 27, 2017
Redirecting Traffic from 80 to 8080
$ sudo iptables -A INPUT -i eth0 -p tcp --dport 80 -j ACCEPT
$ sudo iptables -A INPUT -i eth0 -p tcp --dport 8080 -j ACCEPT
$ sudo iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8080
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)