-
-
Save Bostonncity/f71a5589f321c8e062c2 to your computer and use it in GitHub Desktop.
Forward port 80 to 8080 on EC2 instance.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo iptables -t nat -L | |
sudo iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-ports 8000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment