diff options
author | Miheer Dewaskar <miheerdew@gmail.com> | 2018-03-11 19:03:45 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-11 19:03:45 -0400 |
commit | 00d51db9250bedf8a36924e15345648b0cecc38f (patch) | |
tree | 9358e1a2f87438173ddb54a5057ac7a3fa301919 | |
parent | d866b959fe5118cd92672113436464784d1c8058 (diff) | |
download | mitmproxy-00d51db9250bedf8a36924e15345648b0cecc38f.tar.gz mitmproxy-00d51db9250bedf8a36924e15345648b0cecc38f.tar.bz2 mitmproxy-00d51db9250bedf8a36924e15345648b0cecc38f.zip |
Spelling
-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 ee9e5994..e30dcab0 100644 --- a/docs/src/content/howto-transparent.md +++ b/docs/src/content/howto-transparent.md @@ -268,7 +268,7 @@ intercepting traffic emanating from VMs. See the **pf.conf** man page for more. {{% /note %}} -### Work-around to redirect traffic origination from the machine itself +### Work-around to redirect traffic originating from the machine itself Follow the steps **1, 2** as above. In step **3** change the file **pf.conf** to @@ -298,7 +298,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, we must run mitmproxy as the user `nobody`. Hence step **7** should look like: +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: {{< highlight bash >}} sudo -u nobody mitmproxy --mode transparent --showhost |