mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-01-31 11:49:05 +01:00
passive port range fix for ubuntu
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user