What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

question about firewall ipv6 icmp

DonnyJohnny

Very Senior Member
Hi,

I just want to harden the ipv6 table.
I am reading on
https://github.com/CERTCC-Vulnerability-Analysis/ip6tables-configuration/blob/master/firewall_rules5

I wanted to add the following to iptables
Code:
# Allow some others ICMPv6 types but only if the hop limit field is 255.
# We're still in the INPUT chain. Types can be listed by name (ip6tables -p ipv6-icmp -h).

ip6tables -A INPUT -p icmpv6 --icmpv6-type router-advertisement -m hl --hl-eq 255 -j ACCEPT
ip6tables -A INPUT -p icmpv6 --icmpv6-type 141 -m hl --hl-eq 255 -j ACCEPT
ip6tables -A INPUT -p icmpv6 --icmpv6-type 142 -m hl --hl-eq 255 -j ACCEPT
ip6tables -A INPUT -p icmpv6 --icmpv6-type 151 -m hl --hl-eq 255 -j ACCEPT

However, i encountered the following error message
" ip6tables: No chain/target/match by that name. "

It seems like the ip6tables unable to use the hop limit. Can someone advise me on how to get this to work.

Thanks
 
Anyone?
 

Similar threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top