Hi cPanelMichael,
Thanks you for your replied, it's really appreciated !
With cPanel server under NAT, we have a lots of issues with the FTP: each cPanel update version/build the FTP configuration file
/etc/pure-ftpd.conf is regenerated.
On CentOS7 the PassivePortRange is set from 49152 to 65534 but on CentOS6 those value was 30 000 50 000 (easy to give to the customer by phone and easy to learn)
Now with a naked CentOS7 you have this:
Code:
cat /etc/pure-ftpd.conf | grep Pass
PassivePortRange 49152 65534
ForcePassiveIP 185.22.110.X
I try your process, it's work for the PassivePortRange but not the ForcePassiveIP !
Code:
rm /var/cpanel/conf/pureftpd/main.cache -f
---
vi /var/cpanel/conf/pureftpd/main
#Edit this line
PassivePortRange: 49152 65534
#to
PassivePortRange: 30000 50000
#Remove this line
ForcePassiveIP: 146.88.233.X
---
/scripts/setupftpserver pure-ftpd -—force
---
cat /etc/pure-ftpd.conf | grep Pass
PassivePortRange 30000 50000
ForcePassiveIP 185.22.110.X
Do you have an other solution for us ?
Best regards.