📜  ubuntu 禁用 IPV6 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:51.631000             🧑  作者: Mango

代码示例1
sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1
sudo sysctl -w net.ipv6.conf.default.disable_ipv6=1
sudo sysctl -w net.ipv6.conf.lo.disable_ipv6=1