Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
docs:user-guide:services:ftp.overview [2018/02/20 20:46] – ↷ Links adapted because of a move operation docs:guide-user:services:nas:ftp.overview [2024/05/16 11:25] (current) – [vsftpd] Link added which shows an anonymous ftp setup richy_64
Line 3: Line 3:
 ===== Links ===== ===== Links =====
  
-  * [[docs:user-guide:services:pure-ftpd|Pure-FTPd]] +  * [[https://systembash.com/evaluating-ftp-servers-proftpd-vs-pureftpd-vs-vsftpd/|Evaluating FTP Servers: ProFTPd vs PureFTPd vs vsftpd]]
-  * [[http://diantokam.blogspot.com/2012/11/openwrt-proftp-server.html|ProFTPD]] +
-  * [[http://systembash.com/content/evaluating-ftp-servers-proftpd-vs-pureftpd-vs-vsftpd/|Evaluating FTP Servers: ProFTPd vs PureFTPd vs vsftpd]]+
  
  
    
 ===== Quickguides: ===== ===== Quickguides: =====
-==== FTP server vsftpd ====+==== vsftpd ====
 The smallest of the three popular FTP servers The smallest of the three popular FTP servers
  
Line 17: Line 15:
   - Configuration file is located in "**/etc/vsftpd.conf**"   - 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 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:   - The vsftpd service can be controlled with the usual commands:
  
Line 27: Line 26:
  
  
-  +To support FTPD server through a firewall "opkg install kmod-nf-nathelper"  (Not typically needed)
-==== ProFTPD ====+
  
-   - Install from web-interface or command-line: "**opkg install proftpd**" +[[https://web.archive.org/web/20230928140326/https://www.linuxscrew.com/vsftpd-anonymous-ftp-server|This guide]] easily explains how to setup an **anonymous ftp server** with vsftpd.
-   - Add a ftp [[docs:user-guide:security:secure.access#create_a_non-privileged_user_in_openwrt|user]] +
-   - Disallow Root login in **/etc/proftpd.conf**: <code>RootLogin               off</code> +
-   - Limit Access to **ftpuser** in **/etc/proftpd.conf**<code><Limit LOGIN> +
- AllowUser ftpuser +
- DenyAll +
-</Limit></code> +
-   - Comment all in "**<Anonymous ~ftp>...</Anonymous>**" in **/etc/proftpd.conf** if you don't want anonymous access. +
-   Enable shell add **/bin/false** to **/etc/shells** OR **RequireValidShell       off** to **/etc/proftpd.conf** +
-   - Start the server **/etc/init.d/proftpd start** and add enable the server to start on reboot.+
  • Last modified: 2024/05/16 11:25
  • by richy_64