45 禁用IPV6
warning:
这篇文章距离上次修改已过1310天,其中的内容可能已经有所变动。
编辑文件/etc/sysctl.conf
vi /etc/sysctl.conf添加
net.ipv6.conf.all.disable_ipv6 =1
net.ipv6.conf.default.disable_ipv6 =1如果你想要为特定的网卡禁止IPv6,比如,对于enp0s3,添加下面的行。
net.ipv6.conf.enp0s3.disable_ipv6 =1最后执行下面命令使其生效
sysctl -p

打赏名单
不分博文,不定期整理近期数据,感谢各位打赏,如有需求请在扫码后的备注填写
| 网名 | 打赏金额(元) | 网名 | 打赏金额(元) |
|---|---|---|---|
| 火舞艳阳☀ | 50 | *帆(喝奶茶) | 7 |
| *宇 | 1 | 杨*8 | 5 |
| 乖乖鲁 | 1 | linyi | 2 |
| *人 | 2 | a*9 | 1 |
| 张九今 | 500 |
评论已关闭