禁止ping:
允许ping:
防火墙/etc/sysconfig/iptables添加 -A INPUT -p icmp -m icmp --icmp-type echo-request -m state --state NEW -j ACCEPT /etc/init.d/iptables restart iptables -L -nv 7 588 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 state NEW icmp type 8 (责任编辑:IT) |