Differences
This shows you the differences between two versions of the page.
Both sides previous revision
Previous revision
|
Next revision
Both sides next revision
|
unix:gateway [2013/10/13 12:30] robm [Physical Topology] Update diagram to show only one network adaptor |
unix:gateway [2013/10/13 12:32] robm [IP Forwarding and NAT] |
**Update 2013-10:** This guide used to update ''/proc/sys/net/ipv4/conf/all/accept_redirects'', but now uses ''*'' in place of ''all''. That was bad as the ''all'' configuration merely sets the default, but won't alter any existing interfaces. Thanks to [[http://unix.stackexchange.com/a/58081/22537|unix.stackexchange.com]] for this tip. | **Update 2013-10:** This guide used to update ''/proc/sys/net/ipv4/conf/all/accept_redirects'', but now uses ''*'' in place of ''all''. That was bad as the ''all'' configuration merely sets the default, but won't alter any existing interfaces. Thanks to [[http://unix.stackexchange.com/a/58081/22537|unix.stackexchange.com]] for this tip. |
| |
Or permanently by adding the following to ''/etc/sysctl.conf'': | Or permanently by adding the following to ''/etc/sysctl.conf''. Again, be on the safe side and explicitly name your interfaces: |
<code> | <code> |
net/ipv4/conf/all/accept_redirects = 0 | net/ipv4/conf/all/accept_redirects = 0 |
net/ipv4/conf/all/send_redirects = 0 | net/ipv4/conf/all/send_redirects = 0 |
| net/ipv4/conf/eth0/accept_redirects = 0 |
| net/ipv4/conf/eth0/send_redirects = 0 |
</code> | </code> |
| |