Fix iptables not liking comment on same line

This commit is contained in:
Alex 2020-06-30 17:31:12 +02:00
parent d3ada90d83
commit 65af077d5a
1 changed files with 2 additions and 2 deletions

View File

@ -7,8 +7,6 @@
-A INPUT -p tcp --dport 22 -j ACCEPT
# 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'] %}
-A INPUT -s {{ hostvars[selected_host]['public_ip'] }} -p udp --dport 51820 -j ACCEPT
-A INPUT -s {{ hostvars[selected_host]['vpn_ip'] }} -j ACCEPT
@ -21,6 +19,8 @@
# Rennes
-A INPUT -s 93.2.173.168 -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 -s 127.0.0.1/8 -j ACCEPT