Site Tools


nas-ftp

This is an old revision of the document!


FTP Server

The built-in 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's 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. In particular, FTP throughput can be much slower than either of the above.

FTP Server Configuration



Enable FTP Server:

  • 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 only for LAN users.


TLS support: checking this enables support for TLS-encrypted FTP communications.


FTP Port: here, specify the port to use for communications. (Default: TCP 21)


Anonymous User Access:

Here, choose whether anonymous users can access the FTP Server and which file rights they're given.

  • 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.


Allow Admin Login: enables your local system administrator account as an FTP user.


Log FTP requests and responses: the FTP Server and sysong will log all FTP activity to “/var/log/messages”

This includes:

  • Logons
  • Logoffs
  • Uploads
  • Downloads

Directories




Anonymous Root Directory: Specifies the filesystem location visible to anonymous connections.


Public Root Directory: Specifies the filesystem location accessible to any defined FTP user.


Private Root Directory: A filesystem location accessible only to the owner. Each user has a protected subfolder in 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 listings.
  • Disabled for Anonymous - Anonymous users aren't permitted to do directory listings.

Limits




Maximum Users Allowed to Log in: Sets the maximum number of logged-in users at once. Users above the limit are rejected.


Maximum Connections from the same IP: An FTP user can log on via multiple sessions from the same address. Here, specify how many simultaneous connections are for each user.


Maximum Bandwidth for Anonymous Users: FTP throttling limits available bandwidth available to what's specified here for each anonymous user.


Maximum Bandwidth for Authenticated Users: FTP throttling limits each authenticated user's bandwidth to this amount.


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




Limit Connection Attempts: This works when FTP is enabled on the WAN. If enabled, fields appear to define the maximum number of logon attempts in a given time. Further connection attempts are rejected.

Custom Configuration




Custom configuration: Here you can enter advanced settings. The underlying FTP Server is Vsftpd. vsftpd
Consult the official documentation before entering settings here.

User accounts

Here, define FTP user accounts. Accounts defined here are given only FTP service rights. No Linux 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 gives the user full access.


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


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


Private: Choosing allows the user to access only their own folder (not the public area).




nas-ftp.1732724085.txt.gz · Last modified: 2024/11/27 16:14 by hogwild