and we are now monday to push change

This commit is contained in:
Stephen Smoogen 2016-03-21 18:41:12 +00:00
parent 948c542da5
commit e542e889e3
2 changed files with 4 additions and 4 deletions

View file

@ -18,8 +18,8 @@
-A OUTPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
# if the blocked_ips is defined - drop them
{% if blocked_ips is defined %}
{% for ip in blocked_ips %}
{% if blocked_ip_v6 is defined %}
{% for ip in blocked_ip_v6 %}
-A INPUT -s {{ ip }} -j DROP
{% endfor %}
{% endif %}

View file

@ -33,8 +33,8 @@ COMMIT
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A OUTPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
# if the blocked_ips is defined - drop them
{% if blocked_ips is defined %}
# if the blocked_ip_v6 is defined - drop them
{% if blocked_ip_v6 is defined %}
{% for ip in blocked_ips %}
-A INPUT -s {{ ip }} -j DROP
{% endfor %}