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:
parent
824143672c
commit
efb4f2e142
3 changed files with 0 additions and 7 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue