When we need to upload or download files from the CyberPanel server we can use the FTP service included in the panel itself, since by default it comes installed with the panel.
In this article we will show you how to enable it and configure it in passive mode for its use.
Configure passive mode
FTP in CyberPanel is already configured by default to be used in passive mode, the default passive port range is from port 50000 to port 50100, in our case we will use the default passive port range, but we can use any range between 40000-65534.
In case you want to use another passive port range you will have to access by SSH to your server and modify the pure-ftpd.conf file which is in the following path:
/etc/pure-ftpd/pure-ftpd.conf
In the last row of the file is the PasivePortRange directive where you have to write the passive port range you want to use, in our case we are using the default one:
PassivePortRange 50000 50100
Once we have our passive port range defined we will have to open these ports in the Clouding firewall:
Once you have opened the passive port range you will be able to access your server via FTP in passive mode.
To access via FTP you will first need to create an FTP user.
Remember, if you have any questions about this or any other issue related to your Clouding servers, do not hesitate to write to soporte@clouding.io. We are at your side for whatever you need, contact us!