Created
January 25, 2017 01:11
-
-
Save redutan/cb82a34d76f05d4c15846fe2e89578c1 to your computer and use it in GitHub Desktop.
macOS(since sierra) 에서 8080 -> 80 으로 포트포워딩
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 8080 | |
" | sudo pfctl -ef - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment