diff --git a/scripts/install b/scripts/install index f425131..e55de83 100644 --- a/scripts/install +++ b/scripts/install @@ -73,9 +73,9 @@ turnserver_alt_tls_port=$(ynh_find_port $((turnserver_tls_port+1))) cli_port=$(ynh_find_port 5766) # Open this port -yunohost firewall allow --no-upnp TCP $synapse_tls_port > /dev/null 2>&1 -yunohost firewall allow --no-upnp Both $turnserver_tls_port > /dev/null 2>&1 -yunohost firewall allow --no-upnp Both $turnserver_alt_tls_port > /dev/null 2>&1 +yunohost firewall allow TCP $synapse_tls_port > /dev/null 2>&1 +yunohost firewall allow Both $turnserver_tls_port > /dev/null 2>&1 +yunohost firewall allow Both $turnserver_alt_tls_port > /dev/null 2>&1 # Store opened ports ynh_app_setting_set $app synapse_port $port diff --git a/scripts/restore b/scripts/restore index b49c110..1c79f96 100644 --- a/scripts/restore +++ b/scripts/restore @@ -78,9 +78,9 @@ adduser turnserver ssl-cert #================================================= # Ouvre le port dans le firewall -yunohost firewall allow --no-upnp TCP $synapse_tls_port > /dev/null 2>&1 -yunohost firewall allow --no-upnp Both $turnserver_tls_port > /dev/null 2>&1 -yunohost firewall allow --no-upnp Both $turnserver_alt_tls_port > /dev/null 2>&1 +yunohost firewall allow TCP $synapse_tls_port > /dev/null 2>&1 +yunohost firewall allow Both $turnserver_tls_port > /dev/null 2>&1 +yunohost firewall allow Both $turnserver_alt_tls_port > /dev/null 2>&1 #================================================= # SETUP SSOWAT diff --git a/scripts/upgrade b/scripts/upgrade index 2034733..9d552ce 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -318,7 +318,7 @@ then ynh_app_setting_set $app turnserver_alt_tls_port $turnserver_alt_tls_port ynh_app_setting_set $app cli_port $cli_port - yunohost firewall allow --no-upnp Both $turnserver_alt_tls_port > /dev/null 2>&1 + yunohost firewall allow Both $turnserver_alt_tls_port > /dev/null 2>&1 # Configure systemd cp ../conf/default_coturn /etc/default/coturn-$app