Fix proftpd port

This commit is contained in:
VirtuBox
2019-09-01 14:02:59 +02:00
parent e0e2ab21c0
commit 3e3401bb19

View File

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