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
- Debian系统设置ipv4优先或者ipv6优先
- ipv6 /64的可用IP地址計算方法
- linux系统使用ping命令测试ipv6地址
- debian /ubuntu系统安装测速软件的方法
- how to do install LibXml2 , LibXslt for centos 7
- 在ARM服务器中基于ubuntu系统一键架设nginx quic http3环境
- hetzner独立服务器pve开启ipv4 Nat和独立IPv6开小鸡的方法
- debian 10單網卡添加多個IPv6地址的方法