aboutsummaryrefslogtreecommitdiffstats
path: root/docs/src/content
diff options
context:
space:
mode:
authorJihyun Yu <yjh0502@gmail.com>2019-01-18 15:59:58 +0900
committerJihyun Yu <yjh0502@gmail.com>2019-01-18 15:59:58 +0900
commitc331ba91fca6e5d82ab09fba417d5ee0d37504bc (patch)
tree474e637a01d4ea673e6127c3bc6a7b1157994e7f /docs/src/content
parent82bc8c7ca2b946e7f022b92ab16ced2924feb284 (diff)
downloadmitmproxy-c331ba91fca6e5d82ab09fba417d5ee0d37504bc.tar.gz
mitmproxy-c331ba91fca6e5d82ab09fba417d5ee0d37504bc.tar.bz2
mitmproxy-c331ba91fca6e5d82ab09fba417d5ee0d37504bc.zip
openbsd: divert-to requires exact listen address
divert-to does not work with '0.0.0.0' or similar listen address, so we need to specify listen address that we provided to `pf`.
Diffstat (limited to 'docs/src/content')
-rw-r--r--docs/src/content/howto-transparent.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/src/content/howto-transparent.md b/docs/src/content/howto-transparent.md
index ae36f579..9be1e2f8 100644
--- a/docs/src/content/howto-transparent.md
+++ b/docs/src/content/howto-transparent.md
@@ -124,7 +124,7 @@ doas pfctl -e
You probably want a command like this:
{{< highlight bash >}}
-mitmproxy --mode transparent --showhost
+mitmproxy --mode transparent --listen-host 127.0.0.1 --showhost
{{< / highlight >}}
The `--mode transparent` option turns on transparent mode, and the `--showhost` argument tells