Site Tools


nas-ftp

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
nas-ftp [2022/01/13 02:38] – [Custom Configuration]-Insert link to vsftpd hogwildnas-ftp [2023/06/25 17:56] (current) – [Limits] -condense hogwild
Line 1: Line 1:
 ====== FTP Server ====== ====== FTP Server ======
  
-The built-in FTP (File Transfer Protocol) Server is an alternative way to transfer files in/out of your router and its attached storage.+The built-in FTP (File Transfer Protocol) Server is an alternative way to transfer files to/from your router and its attached storage. This menu contains settings to configure that server. It is divided into sections including: FTP Server Configuration, Directories, Limits, Custom Configuration and User Accounts. 
 + 
 +Before using FTP, you may want to consider the pros and cons of using it versus the NFS Server (in a *nix environment) or File Sharing via Samba. There are significant differences between them. 
  
 ===== FTP Server Configuration ===== ===== FTP Server Configuration =====
  
-**Enable FTP Server**:+{{:pasted:20220107-052410.png}}\\  \\
  
-  [No] \\ The FTP Server is disabled. +**Enable FTP Server:**
-  [Yes, WAN and LAN] \\ The FTP is Server is enabled for both WAN and LAN users. +
-  [Yes, LAN only]\\ The FTP Server is enabled for LAN users only.+
  
-\\ **TLS support**: Checking this option enables support for TLS-encrypted communication.+  No - The FTP Server is disabled. 
 +  Yes - The FTP Server is enabled for WAN and LAN users. 
 +  * Yes, LAN only The FTP Server is enabled for LAN users only.
  
-**FTP Port**: Here, you specify the port to be used for communications. (Default: TCP 21)+\\ **TLS support:**  Checking this option enables support for TLS-encrypted FTP communications.
  
-**Anonymous User Access**:+**FTP Port:**  Here, specify the port to be used for communications. (DefaultTCP 21)
  
-This dropdown allows you to choose whether anonymous users are allowed access to the FTP Server and which file rights they are given.+**Anonymous User Access:**
  
-  * [Disabled]  \\ Anonymous users are not given access+This lets you choose whether anonymous users are given access to the FTP Server and which file rights they are given.
-  * [Read Write] \\ Anonymous users are given read and write access. +
-  * [Read Only] \\ Anonymous users are given only read access, +
-  * [Write Only] \\ Anonymous users are given write access only.+
  
-**Allow Admin Login**: Enables your local system administrator account as a user for the FTP service.+  Disabled - Anonymous users are not given access. 
 +  Read Write - Anonymous users are given read/write access. 
 +  Read Only - Anonymous users are given read access only. 
 +  Write Only - Anonymous users are given write access only.
  
-**Log FTP requests and responses**The FTP Server will save all FTP activity (logins/logouts/uploads/downloads/etcetera) via the syslog facility to /var/log/messages.\\  \\+ \\ **Allow Admin Login:** Enables your local system administrator account as a user for the FTP service. 
 + 
 +**Log FTP requests and responses:** The FTP Server will save all FTP activity via syslog to "/var/log/messages" including: 
 + 
 +  * Logons 
 +  * Logoffs 
 +  * Uploads 
 +  * Downloads 
 +  * and more.\\  \\
  
  
Line 33: Line 44:
 \\ {{:pasted:20220107-053110.png}}\\  \\ \\ {{:pasted:20220107-053110.png}}\\  \\
  
-**Anonymous Root Directory**This specifies the location at filesystem-level that is visible to anonymous connections.+**Anonymous Root Directory:**  This specifies the filesystem location visible to anonymous connections.
  
-**Public Root Directory**This filesystem location is accessible by any defined FTP user.+**Public Root Directory:** This specifies the filesystem location accessible to any defined FTP user.
  
-**Private Root Directory**This filesystem location is accessible only by the owner. It indicates the location of the Root private directory. Each user will have a protected subfolder under this location.+**Private Root Directory:** This filesystem location is accessible only by the owner. Each user will have a protected subfolder under this location.
  
-**Directory Listings**:+**Directory Listings:  **This setting controls users' ability to do directory listings.
  
-This controls users' ability to do directory listings. +  * Enabled Users are permitted to do directory listings. 
- +  * Disabled Users are not permitted to perform listings. 
-  [Enabled] \\ Users are permitted to do directory listings. +  * Disabled for Anonymous Anonymous users aren'permitted to do directory listings.
-  * [Disabled] \\ Users are not permitted to do directory listings. +
-  * [Disabled for Anonymous] \\ Anonymous users are not permitted to do directory listings.+
  
  
Line 52: Line 61:
 \\ {{:pasted:20220107-054226.png}}\\  \\ \\ {{:pasted:20220107-054226.png}}\\  \\
  
-**Maximum Users Allowed to Log in**: Here, specify the maximum number of logged-in users at one timeAdditional users above the limit will be rejected.+**Maximum Users Allowed to Log in:**  This sets the maximum number of logged-in users at onceUsers above the limit are rejected.
  
-**Maximum Connections from the same IP: ** FTP allows a user multiple sessions from the same client IP address. Here, you specify how many simultaneous FTP connections will be allowed from the same user.+**Maximum Connections from the same IP: ** FTP lets a user log on via multiple sessions from the same address. Here, specify how many simultaneous connections will be allowed for the same user.
  
-**Maximum Bandwidth for Anonymous Users**: Built-in FTP throttling will limit the amount of bandwidth (upload/download) to this amount for each anonymous user connected.+**Maximum Bandwidth for Anonymous Users:**  FTP throttling will limit the amount of bandwidth available to what's specified here for each anonymous user.
  
-**Maximum Bandwidth for Authenticated Users**: Built-in FTP throttling will limit the amount of bandwidth to this amount for each authenticated user.+**Maximum Bandwidth for Authenticated Users:**  FTP throttling will limit each authenticated users' bandwidth to this amount.
  
-**Idle Timeout**: Specifies the timeout period, in seconds, until a user is disconnected due to inactivity.+**Idle Timeout:**  This specifies the timeout period, in seconds, until a user is disconnected due to inactivity.
  
  \\  \\
Line 66: Line 75:
 \\ {{:pasted:20220107-060617.png}} \\ {{:pasted:20220107-060617.png}}
  
-**Limit Connection Attempts:** This option works only when FTP is enabled on the WAN. If selected, two new fields will appear where you can define the maximum number of logon attempts within a given time period. Further connection attempts to the FTP Server will be rejected.\\+ \\ 
 + 
 +**Limit Connection Attempts:**  This option works when FTP is enabled on the WAN. If selected, new fields appear where you can define the maximum number of logon attempts in a given time period. Further connection attempts will be rejected.\\
  
  
 ===== Custom Configuration ===== ===== Custom Configuration =====
  
-\\ {{:pasted:20220107-054851.png}}\\  \\+\\ {{:pasted:20220107-054851.png?703x334}}\\  \\
  
-**Custom configuration**: In this field, you can specify advanced parameters. The underlying software for the FTP Server is Vsftpd (Vs FTP Daemon)\\ [[https://security.appspot.com/vsftpd.html|vsftpd]]   \\ It's recommended you consult its official documentation if you plan to enter settings in this field.+**Custom configuration**: Here, you can enter advanced settings. The software underlying the FTP Server is Vsftpd. [[https://security.appspot.com/vsftpd.html|vsftpd]]\\ You are advised to consult the official documentation before entering settings in this field.
  
  
Line 80: Line 91:
 This is the area where you define FTP user accounts. User accounts defined here will be given only FTP service rights. No operating system accounts are created. This is the area where you define FTP user accounts. User accounts defined here will be given only FTP service rights. No operating system accounts are created.
  
-**Username**: The ftp user account name.+**Username:**  Here, enter the ftp user account name.
  
-**Password**: The ftp user account password.+**Password:**  Here, enter the ftp user account password.
  
 **Access:** **Access:**
  
-  * [Read/WriteThe FTP user is given read and write access. +  * Read/Write The FTP user is given read and write access. 
-  * [Read OnlyThe user is given only read access. +  * Read Only The FTP user is given only read access. 
-  * [View OnlyThe user is allowed only to view the directory contents.<Fix Me!>+  * View Only The FTP user is allowed only to view directory contents. 
 + 
 + \\
  
-**Read/Write**: This is basically full access.+**Read/Write:**  Choosing this setting provides the user full access.
  
-**Read only**: The user can only browse and download.+**Read only**:  Choosing this settings allows the user only to browse and download.
  
-**View Only**: The user can only browse.+**View Only:**  Selecting this setting mean the user can only browse directories.
  
-**Private**: The user can only access their own folder (and not the public area).\\+**Private:**  Choosing this will mean the user can only access their own folder (and not the public area).\\
  
  
nas-ftp.1642041489.txt.gz · Last modified: 2022/01/13 02:38 by hogwild