Jack Posted July 24, 2021 Share Posted July 24, 2021 如果云服务商给你IPv4与IPv6,你可以选择关闭IPv6 修改 vi /etc/sysctl.conf 底下加入 net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1 保存并离开 :wq 重启 sudo reboot 再确认,查看系统是否启用IPv6,没反应就是已关闭IPv6 ifconfig -a | grep inet6 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now