diff options
author | Thomas Kriechbaumer <Kriechi@users.noreply.github.com> | 2018-02-09 16:21:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-09 16:21:27 +0100 |
commit | dc6552b79bea73f642f8ba3aa8c9ed5bdc70d1a5 (patch) | |
tree | c8eeae26c5ec755b7d572695225e70758b2a7409 | |
parent | a71d050fbfebbfa801d069cd15279ae9a25de676 (diff) | |
parent | 2042b32f927bb66233ab859d6be479d0405ea4ab (diff) | |
download | mitmproxy-dc6552b79bea73f642f8ba3aa8c9ed5bdc70d1a5.tar.gz mitmproxy-dc6552b79bea73f642f8ba3aa8c9ed5bdc70d1a5.tar.bz2 mitmproxy-dc6552b79bea73f642f8ba3aa8c9ed5bdc70d1a5.zip |
Merge pull request #2855 from gokulchandra/patch-1
Fixes issue with the pfctl config on OSX
-rw-r--r-- | docs/transparent/osx.rst | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/transparent/osx.rst b/docs/transparent/osx.rst index 40e91fac..5d4ec612 100644 --- a/docs/transparent/osx.rst +++ b/docs/transparent/osx.rst @@ -17,8 +17,7 @@ Note that this means we don't support transparent mode for earlier versions of O .. code-block:: none - rdr on en2 inet proto tcp to any port 80 -> 127.0.0.1 port 8080 - rdr on en2 inet proto tcp to any port 443 -> 127.0.0.1 port 8080 + rdr on en0 inet proto tcp to any port {80, 443} -> 127.0.0.1 port 8080 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 |