Search Our Database
How to disable ipv6 on Ubuntu/Debian
1. Check the ipv6 on your server
2. Go to the file /etc/sysctl.conf
vim /etc/sysctl.conf
3. Add these lines to the file, then save and exit the file (:wq)
net.ipv6.conf.all.disable_ipv6=1
net.ipv6.conf.default.disable_ipv6=1
net.ipv6.conf.lo.disable_ipv6=1
4. Run this command to load the file settings
sysctl -p
5. ipv6 has been disable