Disable routable IPv6 address

This commit is contained in:
Joris van Rantwijk 2024-09-22 11:37:04 +02:00
parent b78f9be35e
commit 7c10b554dc
1 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,8 @@
# Disable IPv6 autoconfiguration to avoid obtaining a routable IPv6 address.
#
# The IPv6 interface will only have a link-local address.
# This reduces the risk of accidentally making the device accessible
# to the public internet.
net.ipv6.conf.eth0.autoconf=0
net.ipv6.conf.eth0.accept_ra=0