[root@86 sysconfig]# echo 1 > /proc/sys/net/ipv4/icmp_echo_ignore_all #关闭ping
[root@86 sysconfig]# echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_all #开启ping
2023-07-21 18:22:28
[root@86 sysconfig]# echo 1 > /proc/sys/net/ipv4/icmp_echo_ignore_all #关闭ping
[root@86 sysconfig]# echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_all #开启ping