From 47560e84263bffa876659fcc30bdd45ae89239c0 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Sat, 22 Feb 2020 12:39:54 +0100 Subject: [PATCH] copr_keygen_dev_aws: fixup iptables rules And sync both copr_keygen_aws and copr_keygen_dev_aws so we can easily diff them. --- inventory/group_vars/copr_keygen_aws | 4 ++-- inventory/group_vars/copr_keygen_dev_aws | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/inventory/group_vars/copr_keygen_aws b/inventory/group_vars/copr_keygen_aws index 743939852f..877266543c 100644 --- a/inventory/group_vars/copr_keygen_aws +++ b/inventory/group_vars/copr_keygen_aws @@ -2,9 +2,9 @@ tcp_ports: [22] # http + signd dest ports -custom_rules: [ '-A INPUT -p tcp -m tcp -s 34.227.76.72 --dport 80 -j ACCEPT', - '-A INPUT -p tcp -m tcp -s 172.30.2.166 --dport 80 -j ACCEPT', +custom_rules: [ '-A INPUT -p tcp -m tcp -s 34.227.76.72 --dport 80 -j ACCEPT', '-A INPUT -p tcp -m tcp -s 34.227.76.72 --dport 5167 -j ACCEPT', + '-A INPUT -p tcp -m tcp -s 172.30.2.166 --dport 80 -j ACCEPT', '-A INPUT -p tcp -m tcp -s 172.30.2.166 --dport 5167 -j ACCEPT'] datacenter: aws diff --git a/inventory/group_vars/copr_keygen_dev_aws b/inventory/group_vars/copr_keygen_dev_aws index 91c6e40ca9..b432db5418 100644 --- a/inventory/group_vars/copr_keygen_dev_aws +++ b/inventory/group_vars/copr_keygen_dev_aws @@ -3,10 +3,10 @@ copr_hostbase: copr-keygen-dev tcp_ports: [] # http + signd dest ports -custom_rules: [ '-A INPUT -p tcp -m tcp -s 54.174.143.212 --dport 80 -j ACCEPT', - '-A INPUT -p tcp -m tcp -s 172.30.2.128 --dport 5167 -j ACCEPT', - '-A INPUT -p tcp -m tcp -s 54.174.143.212 --dport 80 -j ACCEPT', - '-A INPUT -p tcp -m tcp -s 172.30.2.128 --dport 5167 -j ACCEPT'] +custom_rules: [ '-A INPUT -p tcp -m tcp -s 54.174.143.212 --dport 80 -j ACCEPT', + '-A INPUT -p tcp -m tcp -s 54.174.143.212 --dport 5167 -j ACCEPT', + '-A INPUT -p tcp -m tcp -s 172.30.2.128 --dport 80 -j ACCEPT', + '-A INPUT -p tcp -m tcp -s 172.30.2.128 --dport 5167 -j ACCEPT'] datacenter: aws