Created
May 19, 2012 15:26
-
-
Save baoshan/2731227 to your computer and use it in GitHub Desktop.
Route Port 3000 to 80 for Node.js Deployment
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 -m tcp --dport 80 -j REDIRECT --to-ports 3000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment