
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
💘 相关文章
- Debian 10 how to turn IPv6 on and off
- 关闭ubuntu的IPv6 的方法
- 在ARM服务器中基于ubuntu系统一键架设nginx quic http3环境
- how can do speed test network for debian /ubuntu?
- debian/Ubuntu系统超级简单的防火墙配置
- ubuntu 使用snap安装包和软件的一些常用命令
- ubuntu 系统出现has install-snap change in progress的解决方法
- ubuntu16.04在线安装chrome谷歌浏览器
- python和c语言计算ipv6地址子网源代码,使用python脚本简直就是噩梦。。。
- ovh独立服务器安装pve开启独立IPv6小鸡的简单记录