Invalidate / discard packets when the route for outbound

traffic differs from the route of incoming traffic.
This commit is contained in:
Kolan Sh 2014-10-20 10:07:01 +04:00
parent 3759f8673a
commit a4124843cd
1 changed files with 4 additions and 2 deletions

View File

@ -9,5 +9,7 @@ net.ipv4.conf.default.accept_redirects = 0
net.ipv4.conf.all.secure_redirects = 1
# forbid sender to define route (default = 0)
net.ipv4.conf.default.accept_source_route = 0
# Invalidate / discard packets when the route for outbound
# traffic differs from the route of incoming traffic
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.all.rp_filter = 1