Created
June 19, 2013 19:51
-
-
Save johnmdonahue/5817460 to your computer and use it in GitHub Desktop.
Port redirect hack
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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