Skip to content

Instantly share code, notes, and snippets.

@baoshan
Created May 19, 2012 15:26
Show Gist options
  • Save baoshan/2731227 to your computer and use it in GitHub Desktop.
Save baoshan/2731227 to your computer and use it in GitHub Desktop.
Route Port 3000 to 80 for Node.js Deployment
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