linux系统下如何禁ping和允许ping 2023-6-26 8:10 1. 系统禁止ping #echo 1 >/proc/sys/net/ipv4/icmp_echo_ignore_all 2. 系统允许ping #echo 0 >/proc/sys/net/ipv4/icmp_echo_ignore_all