User Tools

Site Tools


FTP servers


FTP server vsftpd

The smallest of the three popular FTP servers

  1. Install from web-interface or command-line: "opkg install vsftpd"
  2. You might want to start and enable the vsftpd service in web-interface "System/Startup"
  3. Configuration file is located in "/etc/vsftpd.conf"
  4. To set the default FTP folder add the following to the config file: "local_root=/mnt/usb1"
  5. 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)


  1. Install from web-interface or command-line: "opkg install proftpd"
  2. Add a ftp user
  3. Disallow Root login in /etc/proftpd.conf:
    RootLogin               off
  4. Limit Access to ftpuser in /etc/proftpd.conf:
    <Limit LOGIN>
     AllowUser ftpuser
  5. Comment all in "<Anonymous ~ftp>…</Anonymous>" in /etc/proftpd.conf if you don't want anonymous access.
  6. Enable shell add /bin/false to /etc/shells OR RequireValidShell off to /etc/proftpd.conf
  7. Start the server /etc/init.d/proftpd start and add enable the server to start on reboot.
doc/howto/ftp.overview.txt · Last modified: 2015/08/19 12:56 by szagul