From 3e3401bb1999580580c4d24276f704e629d27bc8 Mon Sep 17 00:00:00 2001 From: VirtuBox Date: Sun, 1 Sep 2019 14:02:59 +0200 Subject: [PATCH] Fix proftpd port --- wo/cli/plugins/stack_pref.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wo/cli/plugins/stack_pref.py b/wo/cli/plugins/stack_pref.py index 0d2a58f..dff1e56 100644 --- a/wo/cli/plugins/stack_pref.py +++ b/wo/cli/plugins/stack_pref.py @@ -1076,6 +1076,8 @@ def post_pref(self, apt_packages, packages, upgrade=False): # add rule for proftpd with UFW if os.path.isdir('/etc/ufw'): try: + WOShellExec.cmd_exec( + self, "ufw allow 21") WOShellExec.cmd_exec( self, "ufw allow 49000:50000/tcp") WOShellExec.cmd_exec(