6

ubuntu centos禁用ipv6

 3 years ago
source link: http://www.blogjava.net/fangw/archive/2021/11/14/436042.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

ubuntu centos禁用ipv6

方伟的博客 j2ee技术、网络、web等,同名的人真多,我的QQ是20025404

posts - 20,comments - 14,trackbacks - 0

编辑/etc/sysctl.conf:

vi /etc/sysctl.conf

增加如下两行:

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

:wq保存退出后,执行

sysctl -p

将立即生效。

posted on 2021-11-14 23:35 方伟的博客 阅读(2) 评论(0)  编辑  收藏 所属分类: 区块链

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK