Add router in the list
This commit is contained in:
parent
2f62cd580f
commit
7c984ae02b
1 changed files with 4 additions and 7 deletions
|
@ -32,13 +32,12 @@
|
|||
-A INPUT -p tcp --dport 80 -j ACCEPT
|
||||
-A INPUT -p tcp --dport 443 -j ACCEPT
|
||||
|
||||
# Coturn
|
||||
-A INPUT -p tcp --dport 3478 -j ACCEPT
|
||||
-A INPUT -p udp --dport 3478 -j ACCEPT
|
||||
-A INPUT -p tcp --dport 3479 -j ACCEPT
|
||||
-A INPUT -p udp --dport 3479 -j ACCEPT
|
||||
# Jitsi
|
||||
-A INPUT -p tcp --dport 8080 -j ACCEPT
|
||||
-A INPUT -p udp --dport 10000 -j ACCEPT
|
||||
|
||||
# Cluster
|
||||
-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
|
||||
-A INPUT -s {{ hostvars[selected_host]['private_ip'] }} -j ACCEPT
|
||||
|
@ -48,9 +47,7 @@
|
|||
-A INPUT -s 82.253.205.190 -j ACCEPT
|
||||
|
||||
-A INPUT -i docker0 -j ACCEPT
|
||||
|
||||
-A INPUT -s 127.0.0.1/8 -j ACCEPT
|
||||
|
||||
-A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT
|
||||
|
||||
COMMIT
|
||||
|
|
Reference in a new issue