X-Git-Url: https://git.distorted.org.uk/~mdw/firewall/blobdiff_plain/59e0c21be6713b008285bf2857ef53003657d369..2cc301c282ec3617e909b4ccc0f266cc759c1ebd:/icmp.m4 diff --git a/icmp.m4 b/icmp.m4 index 93c2973..3ccc6d9 100644 --- a/icmp.m4 +++ b/icmp.m4 @@ -38,7 +38,10 @@ m4_divert(58)m4_dnl run ip46tables -A check-icmp -j ACCEPT ## Done. -for i in $inchains; do run ip46tables -A $i -p icmp -j check-icmp; done +for i in $inchains; do + run iptables -A $i -p icmp -j check-icmp + run ip6tables -A $i -p icmpv6 -j check-icmp +done m4_divert(-1) ###----- That's all, folks --------------------------------------------------