Le 15/04/2022 à 14:35, wilson a écrit :
after doing this, do I need to restart the OS?

thanks

Reco wrote:
The most non-intrusive way of doing it (side effects considered) is:

/sbin/sysctl -w net.ipv6.conf.default.disable_ipv6=1
/sbin/sysctl -w net.ipv6.conf.lo.disable_ipv6=0



No. But it won't be kept if you reboot
To make it permanent you need to create the file
/etc/sysctl.d/10-disable_ipv6.conf with the 2 lines

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


Reply via email to