From efb4f2e142cf2ca345fa2d9c4a57c9a5f1554f73 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 9 Apr 2021 00:09:40 +0200 Subject: [PATCH] remove firewall allow for 8443 --- scripts/install | 1 - scripts/remove | 5 ----- scripts/restore | 1 - 3 files changed, 7 deletions(-) diff --git a/scripts/install b/scripts/install index b191bbd..b8c1d65 100755 --- a/scripts/install +++ b/scripts/install @@ -85,7 +85,6 @@ port=$(ynh_find_port --port=8443) turnserver_port=$(ynh_find_port --port=1194) # Open the ports -ynh_exec_warn_less yunohost firewall allow --no-upnp TCP $port ynh_exec_warn_less yunohost firewall allow Both $turnserver_port # Store opened ports diff --git a/scripts/remove b/scripts/remove index 78cdef0..1035d54 100755 --- a/scripts/remove +++ b/scripts/remove @@ -87,11 +87,6 @@ ynh_remove_logrotate #================================================= ynh_script_progression --message="Closing ports..." --weight=1 -if yunohost firewall list | grep -q "\- $port$" -then - ynh_exec_warn_less yunohost firewall disallow TCP $port -fi - if yunohost firewall list | grep -q "\- $turnserver_port$" then ynh_exec_warn_less yunohost firewall disallow Both $turnserver_port diff --git a/scripts/restore b/scripts/restore index 98a4eac..2c85d53 100755 --- a/scripts/restore +++ b/scripts/restore @@ -127,7 +127,6 @@ fi #================================================= # Ouvre le port dans le firewall -ynh_exec_warn_less yunohost firewall allow --no-upnp TCP $port ynh_exec_warn_less yunohost firewall allow Both $turnserver_port #=================================================