Skip to content

Instantly share code, notes, and snippets.

@mcantrell
Created December 22, 2012 20:55
Show Gist options
  • Save mcantrell/4361035 to your computer and use it in GitHub Desktop.
Save mcantrell/4361035 to your computer and use it in GitHub Desktop.
IP tables command to allow local, non-root applications to be accessed via port 80 without a proxy
sudo iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8080
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment