EthanWong

EthanWong

Ethan's blog

close IPv6 on Ubuntu/LInux

Close IPv6 Forever .#

编辑文件:
vim /etc/sysctl.conf

追加配置:

`
net.ipv6.conf.all.disable_ipv6 = 1

net.ipv6.conf.default.disable_ipv6 = 1

net.ipv6.conf.lo.disable_ipv6 = 1

`
保存文件。

立即生效:

sysctl -p

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.