Simplify iptables #16
1 changed files with 1 additions and 0 deletions
|
@ -4,6 +4,7 @@
|
|||
:OUTPUT ACCEPT [0:0]
|
||||
|
||||
# Cluster
|
||||
-A INPUT -p tcp --dport 22 -j ACCEPT
|
||||
-A INPUT -s 192.168.1.254 -j ACCEPT # router
|
||||
{% for selected_host in groups['cluster_nodes'] %}
|
||||
-A INPUT -s {{ hostvars[selected_host]['public_ip'] }} -j ACCEPT
|
||||
|
|
Reference in a new issue