Created
February 13, 2015 02:17
-
-
Save khapota/1058b8ad6a1d0f99ba80 to your computer and use it in GitHub Desktop.
/etc/pf.anchors/mitm
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
rdr pass on en0 inet proto tcp to any port 80 -> 127.0.0.1 port 8080 | |
rdr pass on en0 inet proto tcp to any port 443 -> 127.0.0.1 port 8080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Other way: