vsFTPd (short for very secure FTP daemon) is a popular FTP server among Unix and Linux systems. It is licensed under the GPL and supports IPv6 and SSL. Additionally, it supports both explicit and implicit FTP. vsFTPd can be used on GNU/Linux distributions such as Ubuntu, CentOS, or Debian.
If you want to configure vsFTPd using an active connection, in the following article we explain how to do it, Configure vsFTPd on GNU/Linux
Configuring vsFTPd for Passive Connection
Once vsFTPd is installed and the basic configuration is done, you can refer to our article, Configure vsFTPd on GNU/Linux, the following lines need to be added to the vsftpd.conf file to enable passive mode:
pasv_enable=Yes
pasv_min_port=50000
pasv_max_port=50010
Once you have made these changes, you can save and exit. Then restart the vsftpd service:
# systemctl restart vsftpd
Important!
Note: To use passive mode, you will need to open the port range 50000 to 50010 in the client panel firewall.
Adding the FTP User
By default, the root user is disabled, so you will need to create an FTP user to establish the connection.
Once the new user is created, add it to the vsftpd.chroot_list file to grant access to the FTP service. To do this, edit the file and add the username, one per line.
# vi /etc/vsftpd.chroot_list
Finally, restart the vsftpd service, and you will be ready to connect.
# systemctl restart vsftpd.service
Connecting via Filezilla
To establish a passive connection using FileZilla, you can check out our article, Connect to FTP in passive mode using Filezilla, where we explain it.
We hope this article was helpful! 🙂 Remember, if you have any questions regarding this or any other issue related to your servers on Clouding, do not hesitate to contact us at soporte@clouding.io We are here to help you with anything you need!