diff options
author | Thomas Kriechbaumer <Kriechi@users.noreply.github.com> | 2019-07-03 20:45:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-03 20:45:29 +0200 |
commit | b5404f82daccee1491210888489192116d1476a0 (patch) | |
tree | 7debd0477b2cbff2c559fb6e58d896a23f10a36b | |
parent | 8353f4a55afeec9d30727d91d642e8b8af4040f8 (diff) | |
parent | a4f8457dd3d47f09b57fd0251bd65c38fabdec1e (diff) | |
download | mitmproxy-b5404f82daccee1491210888489192116d1476a0.tar.gz mitmproxy-b5404f82daccee1491210888489192116d1476a0.tar.bz2 mitmproxy-b5404f82daccee1491210888489192116d1476a0.zip |
Merge pull request #3570 from luciopaiva/patch-1
Doc fix regarding transparent proxy on macOS
-rw-r--r-- | docs/src/content/howto-transparent.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/src/content/howto-transparent.md b/docs/src/content/howto-transparent.md index 9be1e2f8..3915e4b7 100644 --- a/docs/src/content/howto-transparent.md +++ b/docs/src/content/howto-transparent.md @@ -229,7 +229,7 @@ for more. ### Work-around to redirect traffic originating from the machine itself -Follow the steps **1, 2** as above. In step **3** change the contents of the file **pf.conf** to +Follow steps **1, 2** as above, but in step **2** change the contents of the file **pf.conf** to {{< highlight none >}} #The ports to redirect to proxy @@ -257,7 +257,7 @@ rdr pass proto tcp from any to any port $redir_ports -> $tproxy pass out route-to (lo0 127.0.0.1) proto tcp from any to any port $redir_ports user $redir_users {{< / highlight >}} -Follow steps **4-6** above. This will redirect the packets from all users other than `nobody` on the machine to mitmproxy. To avoid circularity, run mitmproxy as the user `nobody`. Hence step **7** should look like: +Follow steps **3-5** above. This will redirect the packets from all users other than `nobody` on the machine to mitmproxy. To avoid circularity, run mitmproxy as the user `nobody`. Hence step **6** should look like: {{< highlight bash >}} sudo -u nobody mitmproxy --mode transparent --showhost |