chkconfig iptables on
service iptables start
iptables -A INPUT -p icmp --icmp-type 8 -j ACCEPT
iptables -A OUTPUT -p icmp --icmp-type 0 -j ACCEPT
iptables-ping放行,布布扣,bubuko.com
iptables-ping放行
原文:http://louislu.blog.51cto.com/2730266/1432364