Frequently Asked Question

Disable Ipv6 Systemwide
Last Updated 11 days ago

There are many reasons to pull Ipv6 support from Proxmox (and Debian)

So here's how to do it. 

There are eseentially two options

GRUB

The first involves adding 

ipv6.disable=1 

to the GRUB_CMDLINE_LINUX and GRUB_CMDLINE_LINUX_DEFAULT lines in 

/etc/default/grub

and then running 

update-grub

before rebooting - Effective and brutal. 

SYSCTL

The safer way, is to use the sysctl commands to turn it off in the network stack, and that is done by creating a file /etc/sysctl.d/60-disableipv6.conf

Add the following lines to that file: 

net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1

Then activate this configuration using

sysctl --system 

Remember to sudo if you're not a superuser. 


This website relies on temporary cookies to function, but no personal data is ever stored in the cookies.
OK
Powered by GEN UK CLEAN GREEN ENERGY

Loading ...