X-Git-Url: https://git.distorted.org.uk/~mdw/firewall/blobdiff_plain/bfdc045deb6149808d309b4ac3c292d9c57a8b38..e2c5d32a16fdcf56738c022a2be48e14636bbe85:/icmp.m4 diff --git a/icmp.m4 b/icmp.m4 index 004d583..d3a7507 100644 --- a/icmp.m4 +++ b/icmp.m4 @@ -1,4 +1,4 @@ -### -*-m4-*- +### -*-sh-*- ### ### ICMP filtering for firewall scripts ### @@ -42,9 +42,7 @@ m4_divert(58)m4_dnl run iptables -A check-icmp -j ACCEPT ## Done. -for i in INPUT FORWARD; do - run iptables -A $i -p icmp -j check-icmp -done +for i in $inchains; do run ip46tables -A $i -p icmp -j check-icmp; done m4_divert(-1) ###----- That's all, folks --------------------------------------------------