2

I found the following lines in a firewall script on one of our Linux servers (kernel 5.x)

ip6tables -A INPUT -p icmp -j ACCEPT
ip6tables -A INPUT -p ipv6-icmp -j ACCEPT

The two commands both run without error, but I'm confused about it. I can only figure out that ipv6-icmp is a synonym for icmpv6, but what is icmp in the context of IPv6 iptables (or ip6tables(8))?

iBug
  • 1,456

1 Answers1

0

This guy says icmp rule will not work. I tested that and I can confirm, "icmp" rules in context of ip6tables is a non-working rule. wile icmpv6 works just fine