Skip to content

Instantly share code, notes, and snippets.

@kkd927
Last active August 29, 2015 14:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kkd927/0f8fb8175b9c12c47f96 to your computer and use it in GitHub Desktop.
Save kkd927/0f8fb8175b9c12c47f96 to your computer and use it in GitHub Desktop.
Linux Port Forwarding
sudo iptables -t nat -A PREROUTING -p tcp -d your_ip_address --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