How to enable the passive port range for Pure-FTPd?
To enable the passive port range for Pure-FTPd, perform the following via the command line as the root user:
Open the /etc/pure-ftpd.conf configuration file in your preferred text editor.
Remove the comment (#) from the beginning of the line which contains the PassivePortRange option.
Change that line to the following:
PassivePortRange 49152 65534
Save the changes to the configuration file.
Run the /usr/local/cpanel/scripts/restartsrv_ftpserver command to restart the server.
These configuration changes may be overwritten by system updates. To make these changes permanent, perform the following additional steps via the command line as the root user:
Run the rm -f /var/cpanel/conf/pureftpd/main.cache command to clear the cache.
Run the echo “PassivePortRange: 49152 65534” >> /var/cpanel/conf/pureftpd/main command to append the passive ports to the configuration file.
How do I enable the passive port range for ProFTPd?
To enable the passive port range for ProFTPd, perform the following via the command line as the root user:
Open the /etc/proftpd.conf configuration file in your preferred text editor.
Add the following to the first section of the configuration file:
PassivePortRange 49152 65534
Save the changes to the configuration file.
Run the /usr/local/cpanel/scripts/restartsrv_ftpserver command to restart the server.
These configuration changes may be overwritten by system updates. To make these changes permanent, perform the following additional steps via the command line as the root user:
Run the rm -f /var/cpanel/conf/proftpd/main.cache command to clear the cache.
Run the echo “PassivePorts: 49152 65534” >> /var/cpanel/conf/proftpd/main command to append the passive ports to the configuration file.
by-
eLite Server Management
We Specialize In cPanel Server Management
Affordable 24/7 Technical Support Company
*Also check: how to install postgresql in cpanel