Skip to content

Instantly share code, notes, and snippets.

@ryanbennettvoid
Created January 3, 2016 23:51
Show Gist options
  • Save ryanbennettvoid/6acb4258e06d830539b7 to your computer and use it in GitHub Desktop.
Save ryanbennettvoid/6acb4258e06d830539b7 to your computer and use it in GitHub Desktop.
IP route 80 to 8080
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