
How to turn off ubuntu's IPv6
Modify the /etc/sysctl.conf
file and add the following
Lazy version
1
2
3
4
net.ipv6.conf.all.disable_ipv6=1
net.ipv6.conf.default.disable_ipv6=1
net.ipv6.conf.lo.disable_ipv6=1
Execute sysctl -p to make the settings take effect
1
2
3
echo "net.ipv6.conf.all.disable_ipv6=1 \n
net.ipv6.conf.default.disable_ipv6=1 \n
net.ipv6.conf.lo.disable_ipv6=1 \n ">> /etc/sysctl.conf
💘 相关文章
- 关闭ubuntu的IPv6 的方法
- Debian 10 how to turn IPv6 on and off
- linux(ubuntu)制作windows安装盘
- 解決ubuntu nameserver 127.0.0.53的問題
- Debian系统设置ipv4优先或者ipv6优先
- 解决纯IPv6的vps服务器无法访问GitHub的方法
- debian 10單網卡添加多個IPv6地址的方法
- nginx nginx "--with-ipv6" option is deprecated 问题
- 在ARM服务器中基于ubuntu系统一键架设nginx quic http3环境
- sh: 0: getcwd() failed: No such file or directory的原因