diff options
| author | Thomas Kriechbaumer <Kriechi@users.noreply.github.com> | 2018-07-08 22:20:36 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-07-08 22:20:36 +0200 |
| commit | dfb6a08bba5919c09167bef3effbca964e4d0b8e (patch) | |
| tree | 7ee58ca1637a06a378e080a7e17754cec761d3ab | |
| parent | 3dec4176cfd86a8adf879e76dcf9f9a599bf2996 (diff) | |
| parent | e5121ee9770d62bbc7c2b5597c89a7708f71c303 (diff) | |
| download | mitmproxy-dfb6a08bba5919c09167bef3effbca964e4d0b8e.tar.gz mitmproxy-dfb6a08bba5919c09167bef3effbca964e4d0b8e.tar.bz2 mitmproxy-dfb6a08bba5919c09167bef3effbca964e4d0b8e.zip | |
Merge pull request #3239 from bunnyhero/patch-1
Update howto-transparent.md
| -rw-r--r-- | docs/src/content/howto-transparent.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/src/content/howto-transparent.md b/docs/src/content/howto-transparent.md index 07a21ec9..ae36f579 100644 --- a/docs/src/content/howto-transparent.md +++ b/docs/src/content/howto-transparent.md @@ -163,14 +163,14 @@ for earlier versions of OSX. sudo sysctl -w net.inet.ip.forwarding=1 {{< / highlight >}} -### 2. Place the following two lines in a file called, say, **pf.conf**. +### 2. Place the following line in a file called, say, **pf.conf**. {{< highlight none >}} -rdr on en0 inet proto tcp to any port {80, 443} -> 127.0.0.1 port 8080 +rdr pass on en0 inet proto tcp to any port {80, 443} -> 127.0.0.1 port 8080 {{< / highlight >}} -These rules tell pf to redirect all traffic destined for port 80 or 443 +This rule tells pf to redirect all traffic destined for port 80 or 443 to the local mitmproxy instance running on port 8080. You should replace `en0` with the interface on which your test device will appear. |
