mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 08:11:00 +00:00
Merge pull request #2855 from gokulchandra/patch-1
Fixes issue with the pfctl config on OSX
This commit is contained in:
commit
dc6552b79b
@ -17,8 +17,7 @@ Note that this means we don't support transparent mode for earlier versions of O
|
|||||||
|
|
||||||
.. code-block:: none
|
.. code-block:: none
|
||||||
|
|
||||||
rdr on en2 inet proto tcp to any port 80 -> 127.0.0.1 port 8080
|
rdr on en0 inet proto tcp to any port {80, 443} -> 127.0.0.1 port 8080
|
||||||
rdr on en2 inet proto tcp to any port 443 -> 127.0.0.1 port 8080
|
|
||||||
|
|
||||||
These rules tell pf to redirect all traffic destined for port 80 or 443
|
These rules tell pf to redirect all traffic destined for port 80 or 443
|
||||||
to the local mitmproxy instance running on port 8080. You should
|
to the local mitmproxy instance running on port 8080. You should
|
||||||
|
Loading…
Reference in New Issue
Block a user