forked from Deuxfleurs/infrastructure
Fix iptables not liking comment on same line
This commit is contained in:
parent
d3ada90d83
commit
65af077d5a
1 changed files with 2 additions and 2 deletions
|
@ -7,8 +7,6 @@
|
||||||
-A INPUT -p tcp --dport 22 -j ACCEPT
|
-A INPUT -p tcp --dport 22 -j ACCEPT
|
||||||
|
|
||||||
# Cluster
|
# Cluster
|
||||||
-A INPUT -s 192.168.1.254 -j ACCEPT
|
|
||||||
-A INPUT -s 82.253.205.190 -j ACCEPT
|
|
||||||
{% for selected_host in groups['cluster_nodes'] %}
|
{% for selected_host in groups['cluster_nodes'] %}
|
||||||
-A INPUT -s {{ hostvars[selected_host]['public_ip'] }} -p udp --dport 51820 -j ACCEPT
|
-A INPUT -s {{ hostvars[selected_host]['public_ip'] }} -p udp --dport 51820 -j ACCEPT
|
||||||
-A INPUT -s {{ hostvars[selected_host]['vpn_ip'] }} -j ACCEPT
|
-A INPUT -s {{ hostvars[selected_host]['vpn_ip'] }} -j ACCEPT
|
||||||
|
@ -21,6 +19,8 @@
|
||||||
# Rennes
|
# Rennes
|
||||||
-A INPUT -s 93.2.173.168 -j ACCEPT
|
-A INPUT -s 93.2.173.168 -j ACCEPT
|
||||||
-A INPUT -s 82.253.205.190 -j ACCEPT
|
-A INPUT -s 82.253.205.190 -j ACCEPT
|
||||||
|
# router
|
||||||
|
-A INPUT -s 192.168.1.254 -j ACCEPT
|
||||||
|
|
||||||
-A INPUT -i docker0 -j ACCEPT
|
-A INPUT -i docker0 -j ACCEPT
|
||||||
-A INPUT -s 127.0.0.1/8 -j ACCEPT
|
-A INPUT -s 127.0.0.1/8 -j ACCEPT
|
||||||
|
|
Loading…
Reference in a new issue