咨询热线:4006-75-4006
售前:9:00-23:30 备案:9:00-18:00 技术:7*24h
禁止ping:
echo 1 > /proc/sys/net/ipv4/icmp_echo_ignore_all
允许ping:
echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_all
防火墙/etc/sysconfig/iptables添加
-A INPUT -p icmp -m icmp --icmp-type echo-request -m state --state NEW -j ACCEPT
/etc/init.d/iptables restart