Benutzer-Werkzeuge

Webseiten-Werkzeuge


public:disableipv6

Disable IPv6 persistent (Debian based systems)


Click on the code to copy to clipboard

Legacy method:

Edit the /etc/sysctl.d/99-sysctl.conf file:

sudo nano /etc/sysctl.d/99-sysctl.conf 


insert the following at the end:

# Disable IPv6 persistent
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
# optional
# net.ipv6.conf.lo.disable_ipv6 = 1 


then: enable and test with iptool:

sudo sysctl -p ; ip a 



On newer systems:


edit grub:

sudo nano /etc/default/grub



set:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash ipv6.disable=1"



sudo update-grub; \
sudo reboot



Enjoy!

public/disableipv6.txt · Zuletzt geändert: von gerson

Seiten-Werkzeuge