# Disable /proc/sys/net/ipv4/conf/*/send_redirects net.ipv4.conf.all.send_redirects=0 net.ipv4.conf.default.send_redirects=0 net.ipv4.conf.eth0.send_redirects=0 net.ipv4.conf.ip_vti0.send_redirects=0 net.ipv4.conf.lo.send_redirects=0 # Disable /proc/sys/net/ipv4/conf/*/accept_redirects net.ipv4.conf.all.accept_redirects=0 net.ipv4.conf.default.accept_redirects=0 net.ipv4.conf.eth0.accept_redirects=0 net.ipv4.conf.ip_vti0.accept_redirects=0 net.ipv4.conf.lo.accept_redirects=0 # Two or more interfaces found, checking IP forwarding net.ipv4.ip_forward=1 # Checking rp_filter net.ipv4.conf.all.rp_filter=0 net.ipv4.conf.default.rp_filter=0 net.ipv4.conf.eth0.rp_filter=0 net.ipv4.conf.ip_vti0.rp_filter=0 net.ipv4.conf.lo.rp_filter=0