aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles')
-rw-r--r--ansible/roles/network/templates/rules.v4.j211
1 files changed, 4 insertions, 7 deletions
diff --git a/ansible/roles/network/templates/rules.v4.j2 b/ansible/roles/network/templates/rules.v4.j2
index b60d1ee..cb935e8 100644
--- a/ansible/roles/network/templates/rules.v4.j2
+++ b/ansible/roles/network/templates/rules.v4.j2
@@ -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