diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2022-03-09 16:54:19 +0100 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2022-03-09 16:54:19 +0100 |
commit | a1c6c33d735761f4897dd64d2145f21913ad84a6 (patch) | |
tree | 846f7d28ab611bcb72209974edbedfd61face69d /os/config/roles/network/templates/rules.v4 | |
parent | 1322dae8dad83a5d44d84d0cbbb685f71d3a3ff4 (diff) | |
download | infrastructure-a1c6c33d735761f4897dd64d2145f21913ad84a6.tar.gz infrastructure-a1c6c33d735761f4897dd64d2145f21913ad84a6.zip |
Maintenance du 2022-03-09
Diffstat (limited to 'os/config/roles/network/templates/rules.v4')
-rw-r--r-- | os/config/roles/network/templates/rules.v4 | 8 |
1 files changed, 4 insertions, 4 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 |