Created
August 18, 2014 02:59
-
-
Save chrsgrffth/c2b33896138aa1894cfd to your computer and use it in GitHub Desktop.
Forward Port 80 to 3000 for Node.js (from StackOverflow)
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 -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment