如何解决“iptables:无链/目标/匹配的名称”?

我在我的linuxembedded式系统上构build并安装了iptables。 如果我列出所有的规则,一切工作正常:

#iptables --list Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination 

但是,如果我添加一个新的规则来阻止icmp ping,我会得到follwing错误:

 iptables -A INPUT -i eth0 -p icmp --icmp-type any -s 0/0 -d 10.20.3.179 -m state --state NEW,ESTABLISHED,RELATED -j DROP iptables: No chain/target/match by that name. 

如何解决它?

Solutions Collecting From Web of "如何解决“iptables:无链/目标/匹配的名称”?"