Created
July 12, 2016 03:56
-
-
Save pzaich/1a6a01146312102729c942763186e697 to your computer and use it in GitHub Desktop.
Forward port 80 to 3000 using pfctl
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
echo " | |
rdr pass inet proto tcp from any to any port 80 -> 127.0.0.1 port 3000 | |
" | sudo pfctl -ef - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment