X-Git-Url: https://git.distorted.org.uk/~mdw/firewall/blobdiff_plain/216285e1f550316101d0c49d4420664a5dc74963..f0033e0790c7f01b23f24504d3685cbaffc90f1f:/local.m4 diff --git a/local.m4 b/local.m4 index f139f00..d91b171 100644 --- a/local.m4 +++ b/local.m4 @@ -264,12 +264,9 @@ run ip46tables -A inbound -j forbidden run ip46tables -A INPUT -m mark --mark $from_untrusted/$MASK_FROM -g inbound ## Otherwise process as indicated by the mark. -run ip46tables -A INPUT -m mark ! --mark 0/$MASK_MASK -j ACCEPT -case $forward in - 1) - run ip46tables -A FORWARD -m mark ! --mark 0/$MASK_MASK -j ACCEPT - ;; -esac +for i in $inchains; do + run ip46tables -A $i -m mark ! --mark 0/$MASK_MASK -j ACCEPT +done m4_divert(-1) ###----- That's all, folks --------------------------------------------------