Created
August 8, 2016 21:20
-
-
Save juniorbird/f0f9a96778e5a2c94ff7738e1a065a68 to your computer and use it in GitHub Desktop.
Forward Mac OS >= 10.10.x 8080 to 80
This file contains 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
echo " | |
rdr pass inet proto tcp from any to any port 80 -> 127.0.0.1 port 8080 | |
rdr pass inet proto tcp from any to any port 443 -> 127.0.0.1 port 8443 | |
" | sudo pfctl -ef - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment