VsFTPd (Very Secure FTP Daemon) is a secure and fast FTP server for Linux systems. It supports both anonymous and authenticated FTP access and can be configured for high performance and security. To install and configure VsFTPd on Fedora, you can follow these steps:
- Update your system packages with the command:
sudo dnf update - Install VsFTPd with the command:
sudo dnf install vsftpd - Edit the configuration file
/etc/vsftpd/vsftpd.confwith a text editor of your choice. You can usesudo nano /etc/vsftpd/vsftpd.conffor example. - Set the basic configuration options, such as disabling anonymous login (
anonymous_enable=NO), enabling local user login (local_enable=YES), and permitting write operations (write_enable=YES). - Optionally, configure user isolation by adding
chroot_local_user=YESto the configuration file. This will restrict users to their home directory. - Allow FTP traffic through the firewall with the commands:
sudo firewall-cmd --zone=public --add-service=ftp --permanentandsudo firewall-cmd --reload - Adjust SELinux policies for VsFTPd if necessary. You can use the command
sudo setsebool -P ftp_home_dir onto allow FTP access to home directories. - Enable and start the VsFTPd service with the commands:
sudo systemctl enable vsftpdandsudo systemctl start vsftpd - Test the FTP server using an FTP client or command-line utility. You can use
ftp localhostfor example.
- How to Install and Configure VsFTPd Server on Fedora Linux - TecAdmin
- https://www.firewall.cx/operating-systems/linux-unix/linux-vsftpd-setup-configure.html