add note about icmp redirects, fix #255

This commit is contained in:
Maximilian Hils 2014-09-08 18:35:52 +02:00
parent ebd539b49f
commit 7ea8d3ff35
1 changed files with 10 additions and 0 deletions

View File

@ -15,6 +15,16 @@ achieve transparent mode.
</li>
<li> If your target machine is on the same physical network and you configured it to use a custom gateway,
disable ICMP redirects:
<pre class="terminal">echo 0 | sudo tee /proc/sys/net/ipv4/conf/*/send_redirects</pre>
You may also want to consider enabling this permanently in
<b>/etc/sysctl.conf</b> as demonstrated <a href="http://unix.stackexchange.com/a/58081">here</a>.
</li>
<li> Create an iptables ruleset that redirects the desired traffic to the
mitmproxy port. Details will differ according to your setup, but the
ruleset should look something like this: