Tuesday, October 17, 2023

Disable IPv6 on Debian

Append the following in the /etc/sysctl.conf file:


net.ipv6.conf.all.disable_ipv6 = 1

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

and run:

sudo sysctl -p

and reboot

No comments:

Post a Comment