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`.
This commit is contained in:
Jihyun Yu 2019-01-18 15:59:58 +09:00
parent 82bc8c7ca2
commit c331ba91fc
1 changed files with 1 additions and 1 deletions

View File

@ -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