[root@localhost ~]# echo "net.ipv4.icmp_echo_ignore_all=1" >> /etc/sysctl.conf
禁止被ping
[root@localhost ~]# sysctl -p
刷新内核
[root@localhost ~]# echo "net.ipv4.icmp_echo_ignore_all=1" >> /etc/sysctl.conf
禁止被ping
[root@localhost ~]# sysctl -p
刷新内核
本文标题:linux 禁止被ping
本文链接:https://www.haomeiwen.com/subject/nxdzcctx.html
网友评论