From 3ea781a010031b64bf37500474564681dd6eaa64 Mon Sep 17 00:00:00 2001 From: kload Date: Fri, 8 May 2015 18:08:03 +0200 Subject: [PATCH] [fix] Allow SSH port in TCP only --- lib/yunohost/firewall.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/yunohost/firewall.py b/lib/yunohost/firewall.py index 0b78d0ee..c0b06e64 100644 --- a/lib/yunohost/firewall.py +++ b/lib/yunohost/firewall.py @@ -202,7 +202,7 @@ def firewall_reload(): # Check if SSH port is allowed ssh_port = _get_ssh_port() if ssh_port not in firewall_list()['opened_ports']: - firewall_allow(ssh_port, no_reload=True) + firewall_allow('TCP', ssh_port, no_reload=True) # Retrieve firewall rules and UPnP status firewall = firewall_list(raw=True)