From 7c984ae02b7502305af0eced8b4b47732483e790 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Sat, 23 May 2020 17:13:32 +0200 Subject: Add router in the list --- ansible/roles/network/templates/rules.v4.j2 | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'ansible/roles/network') 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 -- cgit v1.2.3