From d2e560126767ac987fbd2bdf55e76923a6894a22 Mon Sep 17 00:00:00 2001 From: Usman Nasir Date: Mon, 3 Feb 2020 17:50:22 +0500 Subject: [PATCH] passive port range fix for ubuntu --- install/installCyberPanel.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install/installCyberPanel.py b/install/installCyberPanel.py index c53605992..38ec1b745 100755 --- a/install/installCyberPanel.py +++ b/install/installCyberPanel.py @@ -443,6 +443,9 @@ class InstallCyberPanel: command = 'echo %s > /etc/pure-ftpd/conf/ForcePassiveIP' % (self.publicip) subprocess.call(command, shell=True) + command = 'echo "40110 40210" > /etc/pure-ftpd/conf/PassivePortRange' + subprocess.call(command, shell=True) + command = 'systemctl restart pure-ftpd-mysql.service' install.preFlightsChecks.call(command, self.distro, command, command, 1, 1, os.EX_OSERR)