Site Tools


nas-ftp

This is an old revision of the document!


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 FTP Server menu contains settings to configure that server. It is divided into sections including: FTP Server Configuration, Directories, Limits, Custom Configuration and User Accounts.

FTP Server Configuration



Enable FTP Server:

  • No - The FTP Server is disabled.
  • Yes - The FTP 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 FTP communications.

FTP Port: Here, specify the port to be used for communications. (Default: TCP 21)

Anonymous User Access:

This dropdown lets you choose whether anonymous users are allowed access to the FTP Server and which file rights they are given.

  • Disabled - Anonymous users are not given access.
  • 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.

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.

Directories




Anonymous Root Directory: This specifies the location at filesystem-level that is visible to anonymous connections.

Public Root Directory: This specifies the filesystem location accessible by 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.

Directory Listings:

This setting controls users' ability to do directory listings.

  • Enabled - Users are permitted to do directory listings.
  • Disabled - Users are not permitted to perform directory listings.
  • Disabled for Anonymous - Anonymous users aren't permitted to do directory listings.

Limits




Maximum Users Allowed to Log in: This number specifies the maximum number of logged-in users at one time. Users above the limit will be rejected.

Maximum Connections from the same IP: FTP allows a user to log on via multiple sessions from the same IP address. Here, you specify how many simultaneous FTP connections will be allowed from the same user.

Maximum Bandwidth for Anonymous Users: FTP throttling will limit the amount of bandwidth (upload/download) available to the amount specified here for each anonymous user.

Maximum Bandwidth for Authenticated Users: FTP throttling will limit each authenticated users's bandwidth to this amount.

Idle Timeout: This specifies the timeout period, in seconds, until a user is disconnected due to inactivity.




Limit Connection Attempts: This option works only when FTP is enabled on the WAN. If selected, two new fields 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.

Custom Configuration




Custom configuration: In this field, you can specify advanced parameters. The underlying software for the FTP Server is Vsftpd (Vs FTP Daemon). vsftpd
It is recommended that you consult the official documentation before entering settings in this field.

User accounts

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: Here, enter the ftp user account name.

Password: Here, enter the ftp user account password.

Access:

  • Read/Write - The FTP user is given read and write access.
  • Read Only - The FTP user is given only read access.
  • View Only - The FTP user is allowed only to view directory contents.

Read/Write: Choosing this setting provides the user full access.

Read only: Choosing this settings allows the user only to browse and download.

View Only: Selecting this setting mean the user can only browse directories.

Private: Choosing this will mean the user can only access their own folder (and not the public area).

nas-ftp.1683725045.txt.gz · Last modified: 2023/05/10 14:24 by hogwild