How to disable IPv6 route and address discovery

From PeerFreedom Wiki
Jump to navigation Jump to search

Modify sysctl parameters:

net.ipv6.conf.default.forwarding=0
net.ipv6.conf.all.forwarding=0
net.ipv6.conf.default.accept_ra=0
net.ipv6.conf.all.accept_ra=0


Put above lines into /etc/sysctl.d/50-ipv6-stop.conf and run sysctl --system.

(e.g. see https://www.cyberciti.biz/faq/reload-sysctl-conf-on-linux-using-sysctl/)