Can I allow multiple ICMP types in 1 rule?

后端 未结 0 1134
星月不相逢
星月不相逢 2021-02-09 07:44

So I want to accept icmp type 8 and type 0 but I want to do it in one rule for efficiency.

iptables -A INPUT -p icmp -m icmp ! --icmp-type 8 -j ACCEPT
iptables -A         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题