From 2042b32f927bb66233ab859d6be479d0405ea4ab Mon Sep 17 00:00:00 2001 From: Gokul Date: Fri, 9 Feb 2018 10:42:41 +0530 Subject: [PATCH] Updates the pfctl config The previous config threw a syntax error when saving. --- docs/transparent/osx.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/transparent/osx.rst b/docs/transparent/osx.rst index 40e91fac1..5d4ec6120 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