Skip to content

Instantly share code, notes, and snippets.

@redutan
Created January 25, 2017 01:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save redutan/cb82a34d76f05d4c15846fe2e89578c1 to your computer and use it in GitHub Desktop.
Save redutan/cb82a34d76f05d4c15846fe2e89578c1 to your computer and use it in GitHub Desktop.
macOS(since sierra) 에서 8080 -> 80 으로 포트포워딩
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