FTP servers
Links
Quickguides:
vsftpd
The smallest of the three popular FTP servers
- Install from web-interface or command-line: “opkg install vsftpd”
- You might want to start and enable the vsftpd service in web-interface “System/Startup”
- Configuration file is located in “/etc/vsftpd.conf”
- To set the default FTP folder add the following to the config file: “local_root=/mnt/usb1”
- To enable PASSIVE mode, add the following to the config file: “pasv_enable=YES”, “pasv_min_port=10090”, and “pasv_max_port=10100”
- The vsftpd service can be controlled with the usual commands:
/etc/init.d/vsftpd start (Start the service) /etc/init.d/vsftpd stop (Stop the service) /etc/init.d/vsftpd restart (Restart the service) /etc/init.d/vsftpd reload (Reload configuration files (or restart if that fails)) /etc/init.d/vsftpd enable (Enable service autostart) /etc/init.d/vsftpd disable (Disable service autostart)
To support FTPD server through a firewall “opkg install kmod-nf-nathelper” (Not typically needed)
This guide easily explains how to setup an anonymous ftp server with vsftpd.