Fix proftpd port
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user