FTP server

In the Keenetic, with the ability to use a USB drive, you can enable the built-in FTP-server, to provide remote access to USB-drive files via FTP. Access to the server will be provided both from the local network and from the Internet.

NOTE: Important!

1. A direct connection to the FTP server from the Internet will be possible only if there is a public IP-address on the WAN-interface of the Keenetic router, through which the Internet is accessed. If you have a dynamic IP address that can change continuously, we recommend you to use the service Dynamic Domain Name (DDNS), to assign a nice permanent name to your Keenetic device. This name will not depend on which IP address is used (dynamic or static) and it will be easy of remembering.

2. If you have a private IP address, you can access the FTP server via a tunneled SSTP connection.

3. For more comfortable use, we recommend you to get a permanent and easy to remember domain name for your Keenetic using the KeenDNS service. If KeenDNS is enabled, direct access to the FTP-server will be possible by using the 'Direct access' mode. In 'Cloud access' mode access to FTP-server is possible via SSTP connection.

4. Some Internet providers are filtering incoming user traffic on standard protocols and ports (e.g. 21 (FTP), 25 (SMTP), 1723 (PPTP) and others). Therefore, it is important to know that the port which the FTP server uses is not blocked by the ISP.

5. For FTP server full operation install components 'FTP server' and 'Application-layer gateway (ALG) for FTP' on your Kenentic. Component 'Application-layer gateway (ALG) for FTP' allows you to use the NAT algorithm for the FTP. It is needed for FTP connections from an external network when the client is behind a private IP address and for connections to an FTP server in the local Keenetic network, which is behind a public IP address. When using FTP ALG, passive FTP mode is supported.

6. The Keenetic FTP server supports up to 10 simultaneous connections.

You can install the 'FTP server' and 'Application-layer gateway (ALG) for FTP' components on the 'General system settings' page in the 'Updates and component options' section by clicking on 'Component options' button.


Then go to the 'Applications' page. Here you will see the "FTP server" panel. Click on the 'FTP server' link.


The 'FTP server' window contains basic server settings and user management functions.


In the 'Port' field of the 'Basic settings' section, the port number for the built-in FTP server is specified. By default, the server uses the standard TCP port number 21. If necessary, you can change the port number (e.g. use 2121). If you want to allow access from the Internet, enable the corresponding option.

NOTE: Important! You do not need to create port forwarding rules or firewall rules to access the FTP server. The system will automatically create the necessary rules and allow access.

In the 'Users' section there is an option 'Anonymous access'. If you enable this option, connection to the FTP server will be available for all users without authorization. We recommend you not to use anonymous access, but rather to set up permissions to the FTP server by means of authorization (in this case, the user will have to enter a username and password when connecting to the FTP server). Check the accounts that will be permitted to access the FTP server. Here you can add new accounts by clicking the 'Create user' button and specifying the account login and password.

By default, each user has access to all folders on the USB drive, but you can change this setting by clicking 'Select' and specifying a folder on the drive. For example, you can define a personal folder on the disc for each account. You can configure user read/write access or read-only access depending on the task. You can do it by the manual Folder permissions control on a USB drive.

Now return to the 'Application' page. The FTP server is disabled by default. To turn it on, set the switch to Enabled.


Now, using an account with access to the FTP server ('admin' is used in this example), you can access files on a disk connected to the Keenetic's USB port from the Internet. You can use any FTP client (FileZilla, SmartFTP Client, WinSCP, etc.), file manager (Total Commander, Far Manager, Midnight Commander, etc.) or regular web browser (Google Chrome, Mozilla Firefox, Opera, etc.) to access the FTP server.

In the browser address bar you need to enter the type of URL:


If you use the standard port number 21 of the FTP server, you may not need to specify it. For example:



Here is an example of connecting from the FileZilla FTP client.


TIP: Tips:

1. System files are displayed on the disk when admin is connected via FTP. They are available for the Keenetic administrator only and can be saved from the server. If these entries are disturbing, you can create a standalone account to connect to the FTP server. These files are not available for normal users.

2. When accessing the FTP server through the SSTP VPN server, as well as the PPTP VPN server or the L2TP/IPsec VPN server, use the type of URL:



Have more questions? Submit a request



Please sign in to leave a comment.