diff options
Diffstat (limited to 'os/config/roles/network')
-rw-r--r-- | os/config/roles/network/templates/rules.v4 | 8 | ||||
-rw-r--r-- | os/config/roles/network/templates/rules.v6 | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/os/config/roles/network/templates/rules.v4 b/os/config/roles/network/templates/rules.v4 index a5f138b..89d9ebf 100644 --- a/os/config/roles/network/templates/rules.v4 +++ b/os/config/roles/network/templates/rules.v4 @@ -10,12 +10,12 @@ -A INPUT -p tcp --dport 22 -j ACCEPT # Diplonat needs everything open to communicate with IGD with the router --A INPUT -s 192.168.1.254 -j ACCEPT +-A INPUT -s 192.168.0.254 -j ACCEPT # Cluster -{% for selected_host in groups['cluster_nodes'] %} --A INPUT -s {{ hostvars[selected_host]['ipv4'] }} -j ACCEPT -{% endfor %} +-A INPUT -s 192.168.0.2 -j ACCEPT +-A INPUT -s 192.168.0.3 -j ACCEPT +-A INPUT -s 192.168.0.4 -j ACCEPT # Local -A INPUT -i docker0 -j ACCEPT diff --git a/os/config/roles/network/templates/rules.v6 b/os/config/roles/network/templates/rules.v6 index ef3de43..35bcb0d 100644 --- a/os/config/roles/network/templates/rules.v6 +++ b/os/config/roles/network/templates/rules.v6 @@ -16,9 +16,9 @@ -A INPUT -p tcp --dport 22 -j ACCEPT # Cluster -{% for selected_host in groups['cluster_nodes'] %} --A INPUT -s {{ hostvars[selected_host]['ipv6'] }} -j ACCEPT -{% endfor %} +-A INPUT -s 2a01:e0a:260:b5b0::2 -j ACCEPT +-A INPUT -s 2a01:e0a:260:b5b0::3 -j ACCEPT +-A INPUT -s 2a01:e0a:260:b5b0::4 -j ACCEPT # Local -A INPUT -i docker0 -j ACCEPT |