标签


禁止 / 解禁 Linux 中的 ping 功能

2015年01月08日

sudo vim /proc/sys/net/ipv4/icmp_echo_ignore_all

将值改为1,为禁止PING
将值改为0,为解除禁止PING


//