Skip to content

Instantly share code, notes, and snippets.

@kevingo
Created May 1, 2016 02:23
Show Gist options
  • Select an option

  • Save kevingo/95dc22e91d7cf655c2332023a5bfe4d0 to your computer and use it in GitHub Desktop.

Select an option

Save kevingo/95dc22e91d7cf655c2332023a5bfe4d0 to your computer and use it in GitHub Desktop.
Port forwarding from 80 to 3000
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