diff --git a/templates/iptables-rules.v4.j2 b/templates/iptables-rules.v4.j2 index 855da52..0904922 100644 --- a/templates/iptables-rules.v4.j2 +++ b/templates/iptables-rules.v4.j2 @@ -297,7 +297,7 @@ # ANY rules {% for any_rule in iptables.any %} {% for rule in any_rule.allowed_hosts %} --A INPUT -s {{ rule.ip }} -j {{ rule.policy | default('ACCEPT') }} +-A INPUT {{ rule.iptables_rule | default('') }} -s {{ rule.ip }} -j {{ rule.policy | default('ACCEPT') }} {% endfor %} {% endfor %} {% endif %}