Remote access to USB drive files from the Internet

If you connect a USB drive to the Keenetic, you can not only share files within your home network, but also set up remote access to your USB drive from the Internet. USB drive files can be accessed from a computer as well as from a mobile device.

Let's suppose that you have Keenetic router at home and a USB drive connected to it. You want to access your USB drive files from anywhere in the Internet (e.g. a computer at work).

Remote access can be provided in a number of ways, depending on which IP address (public or private) is used on the Keenetic and what type of connection (FTP, PPTP, SSTP, L2TP/IPsec).
For information on how to check if the IP address is public, see What is the difference between a public and private IP address?.

IP address for Internet connection: private IP public IP
Remote access options:
  • router web interface by KeenDNS domain name
  • SSTP connection
  • router web interface by KeenDNS domain name
  • L2TP/IPsec connection
  • SSTP connection
  • FTP connection
  • PPTP connection


1. Now consider remote access to a USB drive with a private IP address that is used for Internet access.

At first, set up the initial connection of the USB drive to the Keenetic as follows Connecting a USB drive.

Then register a permanent domain name for the router in the KeenDNS service (use the 'Cloud access' mode). You can do this by following the instructions KeenDNS service.

1.1. Remote access to the Keenetic web interface by KeenDNS domain name.

Use the KeenDNS registered domain name to connect to the Keenetic web interface. Once connected, go to the 'Applications' page and click on the connected disk entry.

usb-access-01-en.png

The built-in file manager will appear, where you will see all folders on the disk.

usb-access-02-en.png

With the built-in file manager you can:

  • fb01.png Create a directory inside the selection;
  • fb02.png Download the file to your computer;
  • fb03.png Upload file to selected directory;
  • fb04.png Delete file or folder.

1.2. Remote access via SSTP connection.

You can set up a SSTP VPN server in the Keenetic router. It allows remote connection of clients to your local network.

NOTE: Important! The main advantage of the SSTP (Secure Socket Tunnel Protocol) tunnel is its ability to work over the cloud, i.e. it allows you to establish a connection between the client and the server, even if there are private IP addresses on both sides. All other VPN servers require a public IP address.

Configure the SSTP server according to the instruction SSTP VPN server. For example:

usb-access-03-en.png

Then, for remote access to the server, you need to configure the SSTP client. The SSTP client can be:

After successful connecting to the SSTP VPN server, set up network access to a USB drive connected to the Keenetic. For example, in Windows, launch the 'Run' application or the 'Explorer'. In the address bar, enter the local IP address of the Keenetic after '\\' symbols (in our example it is \\192.168.1.1).

usb-access-05-en.png

usb-access-06-en.png

usb-access-07-en.png

If 'Anonymous Access' is turned off when you set up USB sharing on the 'Windows Network' page, you will be prompted to enter your login and password. In this case, you need to specify the account information to access to your Windows home network and USB drives via SMB/CIFS protocol.

2. Now consider remote access to a USB drive with a public IP address that is used for Internet access.

The remote access options mentioned above for a private IP address are also suitable for access from a public IP address, but with a public address, these options are more numerous than with a private address. They consist of enabling one of the L2TP/IPsec (L2TP over IPsec), FTP, SSTP or PPTP servers for remote access to the local network where the USB drive is connected.

At first, set up the initial connection of the USB drive to the Keenetic as follows Connecting a USB drive.

Then register a permanent domain name for the router in the KeenDNS service (use the 'Cloud access' mode). You can do this by following the instructions KeenDNS service.

2.1. Remote access via L2TP/IPsec connection.

We recommend you to use an L2TP/IPsec server for secure access to local network resources. This type of connection can be established from a smartphone, tablet or computer with minimal configuration: Android, iOS and Windows have a convenient built-in client for this type of VPN.

Configure the L2TP over IPsec according to the instruction L2TP/IPsec VPN server. For example:

usb-access-04-en.png

Then, for remote access to the server, you need to configure the L2TP/IPsec client. The L2TP/IPsec client can be:

After successful connecting to the L2TP/IPsec VPN server, set up network access to a USB drive connected to the Keenetic. For example, in Windows, launch the 'Run' application or the 'Explorer'. In the address bar, enter the local IP address of the Keenetic after '\\' symbols (in our example it is \\192.168.1.1).

usb-access-05-en.png

usb-access-06-en.png

usb-access-07-en.png

If 'Anonymous Access' is turned off when you set up USB sharing on the 'Windows Network' page, you will be prompted to enter your login and password. In this case, you need to specify the account information to access to your Windows home network and USB drives via SMB/CIFS protocol.

TIP: Note: Using a VPN connection to one of the Keenetic servers (SSTP, L2TP/IPsec, PPTP), you can set up remote access to a USB printer or any other LAN device such as a webcam, network drive, media server, etc.

 

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.