Skip to content

Instantly share code, notes, and snippets.

@sescobb27
Created February 19, 2015 16:30
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 sescobb27/026ae102bc57dffc3d19 to your computer and use it in GitHub Desktop.
Save sescobb27/026ae102bc57dffc3d19 to your computer and use it in GitHub Desktop.
iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to 8080
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment