Topic: Disable IPv6 possible?

This feels like a silly question but I've just heard it's very hard to do in most distros. Is it possible to disable IPv6?


Re: Disable IPv6 possible?

This should help:

1. Create a file like this: /etc/sysctl.d/40-ipv6.conf
2. Enter the following within:

net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!


Re: Disable IPv6 possible?

Or edit the file
doas nano /etc/default/grub
and add ipv6.disable=1 to GRUB_CMDLINE_LINUX_DEFAULT=""
I added the option for flasroom and in my case it looks like this

GRUB_CMDLINE_LINUX_DEFAULT="quiet ipv6.disable=1 iomem=relaxed "

don't forget
doas grub-mkconfig -o /boot/grub/grub.cfg