centos禁止别人ping 发表于 2016-06-10 更新于 2026-03-03 分类于 技术分享 1vi /proc/sys/net/ipv4/icmp_echo_ignore_all 修改里面的内容为1(1是不允许别人ping 0是允许).