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
- ubuntu 開機無法啟動排查記錄
- ubuntu 使用snap安装包和软件的一些常用命令
- How to query the hard disk usage time of various distribution Linux systems
- 正確瀏覽器ipv6網站的方法
- 怎样申请免费的ipv6地址
- nginx nginx "--with-ipv6" option is deprecated 问题
- 使用ipv6进行rsync基于密匙证书进行数据同步教程。
- ubuntu、debian等Linux系统ssh登陆显示系统信息的软件推荐