summaryrefslogtreecommitdiffstats
path: root/extensions/libip6t_icmp6.txlate
blob: 324a48b9e46ac5334d4b69934e8f45575e6a0bfb (plain)
1
2
3
4
5
6
7
8
ip6tables-translate -t filter -A INPUT -m icmp6 --icmpv6-type 1 -j LOG
nft 'add rule ip6 filter INPUT icmpv6 type destination-unreachable counter log'

ip6tables-translate -t filter -A INPUT -m icmp6 --icmpv6-type neighbour-advertisement -j LOG
nft 'add rule ip6 filter INPUT icmpv6 type nd-neighbor-advert counter log'

ip6tables-translate -t filter -A INPUT -m icmp6 ! --icmpv6-type packet-too-big -j LOG
nft 'add rule ip6 filter INPUT icmpv6 type != packet-too-big counter log'