Permanently disable ForcePassiveIP option
Hello, I need disable ForcePassiveIP from my /etc/pure-ftpd.conf, when the file is saved works great, but with every update of cpanel, is actived by default.
how I can prevent this?
tks for your help
-
Hello, You can follow the steps referenced on the following document to ensure the changes are preserved: FTP FAQ - Documentation - cPanel Documentation Thank you. 0 -
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: 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 !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.0 -
Hello @QuentinC, This is actually a bug in cPanel version 64. Internal case CPANEL-13189 will address an issue where changes to the ForcePassiveIP value in the /var/cpanel/conf/pureftpd/main file are not retained. The resolution is included in cPanel version 66: Fixed case CPANEL-13189: Allow overriding pure-ftpd configuration settings. In the meantime, the workaround is to manually edit the /etc/pure-ftpd.conf with your preferred changes. Thank you. 0 -
Hello @QuentinC, This is actually a bug in cPanel version 64. Internal case CPANEL-13189 will address an issue where changes to the ForcePassiveIP value in the /var/cpanel/conf/pureftpd/main file are not retained. The resolution is included in cPanel version 66: Fixed case CPANEL-13189: Allow overriding pure-ftpd configuration settings. In the meantime, the workaround is to manually edit the /etc/pure-ftpd.conf with your preferred changes. Thank you.
Did you plan to backport this bug to 64 ?0 -
Hello, There are no plans to publish that resolution to cPanel version 64. However, cPanel version 66 is tentatively scheduled for publication to the "Release" build tier within the next week. Thank you. 0
Please sign in to leave a comment.
Comments
5 comments