iptables -A INPUT -p icmp --icmp-type echo-request -j ACCEPTip
iptables -A OUTPUT -p icmp --icmp-type echo-reply -j ACCEPT域名
iptables –A INPUT –p icmp --icmp-type echo-reply –j ACCEPT
iptables –A OUTPUT –p icmp --icmp-type echo-request –j ACCEPTtable
iptables -A INPUT -i lo -p all -j ACCEPT
iptables –A OUTPUT –o lo –p all –j ACCEPTiptables
iptables -A INPUT -p udp --sport 53 -j ACCEPTudp
iptables -A OUTPUT -p udp --sport 53 -j ACCEPTrequest