aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorMiheer Dewaskar <miheerdew@gmail.com>2018-03-11 19:01:14 -0400
committerGitHub <noreply@github.com>2018-03-11 19:01:14 -0400
commitd866b959fe5118cd92672113436464784d1c8058 (patch)
tree84e27af748b8c9c03ef43e35892896ef189f4eea /docs
parent6f802274c1a078dc13b3cbea88dd385a178726a2 (diff)
downloadmitmproxy-d866b959fe5118cd92672113436464784d1c8058.tar.gz
mitmproxy-d866b959fe5118cd92672113436464784d1c8058.tar.bz2
mitmproxy-d866b959fe5118cd92672113436464784d1c8058.zip
Extrac comment and typo
Diffstat (limited to 'docs')
-rw-r--r--docs/src/content/howto-transparent.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/src/content/howto-transparent.md b/docs/src/content/howto-transparent.md
index 277ab4de..ee9e5994 100644
--- a/docs/src/content/howto-transparent.md
+++ b/docs/src/content/howto-transparent.md
@@ -279,6 +279,7 @@ redir_ports = "{http, https}"
#The address the transparent proxy is listening on
tproxy = "127.0.0.1 port 8080"
+#The user the transparent proxy is running as
tproxy_user = "nobody"
#The users whose connection must be redirected.
@@ -297,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 all the packets originating from all users other than `nobody` on the machine to mitmproxy. To avoid circularity, the 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, we must run mitmproxy as the user `nobody`. Hence step **7** should look like:
{{< highlight bash >}}
sudo -u nobody mitmproxy --mode transparent --showhost