Re: Disable sending ICMPV6 redirects on IPV6



Hello,

ianbrn@xxxxxxxxx a écrit :
I try to find out how to disable a Linux machine (acting as a router)
from sending ICMPV6 redirects ;

There is : /proc/sys/net/ipv6/conf/all/accept_redirects
but I cannot find /proc/sys/net/ipv6/conf/all/send_redirects

Maybe it is impossible to disable a Linux machine from sending
ICMPV6 redirects?

As a last resort, you can drop them with an ip6tables rule :

ip6tables -A OUTPUT -p icmpv6 --icmpv6-type redirect -j DROP
.