Skip to content

Instantly share code, notes, and snippets.

@johnmdonahue
Created June 19, 2013 19:51
Show Gist options
  • Save johnmdonahue/5817460 to your computer and use it in GitHub Desktop.
Save johnmdonahue/5817460 to your computer and use it in GitHub Desktop.
Port redirect hack
sudo iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-ports 8000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment