From e542e889e348285f14caf7b697e6aea501093b0d Mon Sep 17 00:00:00 2001 From: Stephen Smoogen Date: Mon, 21 Mar 2016 18:41:12 +0000 Subject: [PATCH] and we are now monday to push change --- roles/base/templates/iptables/ip6tables | 4 ++-- .../templates/iptables/ip6tables.jenkins.fedorainfracloud.org | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/roles/base/templates/iptables/ip6tables b/roles/base/templates/iptables/ip6tables index add78a738a..778599abc7 100644 --- a/roles/base/templates/iptables/ip6tables +++ b/roles/base/templates/iptables/ip6tables @@ -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 %} diff --git a/roles/base/templates/iptables/ip6tables.jenkins.fedorainfracloud.org b/roles/base/templates/iptables/ip6tables.jenkins.fedorainfracloud.org index 92be2a5297..fb29487026 100644 --- a/roles/base/templates/iptables/ip6tables.jenkins.fedorainfracloud.org +++ b/roles/base/templates/iptables/ip6tables.jenkins.fedorainfracloud.org @@ -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 %}