1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/galene_ynh.git synced 2024-09-03 18:36:31 +02:00

remove firewall allow for 8443

This commit is contained in:
ericgaspar 2021-04-09 00:09:40 +02:00
parent 824143672c
commit efb4f2e142
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 0 additions and 7 deletions

View file

@ -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

View file

@ -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

View file

@ -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
#=================================================