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 40110 to port 40210, 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 40110 40210
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.
Create FTP users
To create an FTP user you must first access the CyberPanel dashboard you can do so using the following URL: https://Public_IP:8090
Note: Remember to modify the “Public_IP” to the public IP of your server from the URL above.
The CyberPanel panel access credentials can be found in the Image Information section of your server details.
Once you have accessed the CyberPanel panel you have to go to the MAIN -> FTP -> Create FTP account
To create an FTP user you have to select the domain in which you want to create it, by default it adds the user with which you create it plus an underscore in my case it is with the user “admin”, at the bottom in Path, we will put in which exact part we want to cage the user (by default it cages the user in the folder with the same name of the domain that is inside /home/domain).
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!