Ubuntu disable IPv6

modify /etc/sysctl.conf.

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

sudo sysctl -p

Leave a Comment

Your email address will not be published. Required fields are marked *