From 3b974c91cc857ffcbd844fe76722903b0ac6e229 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Thu, 3 Jun 2021 21:41:08 +0200 Subject: [PATCH] Close WireGuard port in UDP during removal Matching its opening in UDP in install script --- scripts/remove | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/remove b/scripts/remove index c6577b8..e6aaf28 100644 --- a/scripts/remove +++ b/scripts/remove @@ -98,7 +98,7 @@ ynh_remove_logrotate if yunohost firewall list | grep -q "\- $port_wg$" then ynh_script_progression --message="Closing port $port_wg..." --weight=1 - ynh_exec_warn_less yunohost firewall disallow TCP $port_wg + ynh_exec_warn_less yunohost firewall disallow UDP $port_wg fi if yunohost firewall list | grep -q "\- $port$"