User Tools

Site Tools


doc:appunti:net:source_routing

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
doc:appunti:net:source_routing [2025/10/07 10:50] – [Firewall dual homed e source routing con Shorewall] niccolodoc:appunti:net:source_routing [2025/10/07 10:56] (current) – [Firewall dual homed e source routing con Shorewall] niccolo
Line 160: Line 160:
 <file> <file>
 # Dual-homed external interfaces require global ROUTE_FILTER=No in shorewall.conf. # Dual-homed external interfaces require global ROUTE_FILTER=No in shorewall.conf.
 +# The safe policy for connections with untrusted peers is to set accept_source_route to 0.
 +# Notice: source route packets are nonsensical on a PPP link.
 +accept_source_route = 0
 net    eth0    tcpflags,nosmurfs,sourceroute=0 net    eth0    tcpflags,nosmurfs,sourceroute=0
 net    eth2    tcpflags,nosmurfs,sourceroute=0 net    eth2    tcpflags,nosmurfs,sourceroute=0
-# Enable route filter (rp_filter kernel paramter) on the local interface.+# Enable route filter (rp_filter kernel paramter) specifically on the local interface.
 loc    eth1    dhcp,routefilter=1 loc    eth1    dhcp,routefilter=1
 </file> </file>
doc/appunti/net/source_routing.txt · Last modified: by niccolo