Skip to content

Commit c801e3c

Browse files
committed
ipv4: Clarify in docs that accept_local requires rp_filter.
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent f7eadaf commit c801e3c

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

Documentation/networking/ip-sysctl.txt

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -857,9 +857,14 @@ accept_source_route - BOOLEAN
857857
FALSE (host)
858858

859859
accept_local - BOOLEAN
860-
Accept packets with local source addresses. In combination with
861-
suitable routing, this can be used to direct packets between two
862-
local interfaces over the wire and have them accepted properly.
860+
Accept packets with local source addresses. In combination
861+
with suitable routing, this can be used to direct packets
862+
between two local interfaces over the wire and have them
863+
accepted properly.
864+
865+
rp_filter must be set to a non-zero value in order for
866+
accept_local to have an effect.
867+
863868
default FALSE
864869

865870
route_localnet - BOOLEAN

0 commit comments

Comments
 (0)