How to set up HTTP File Server for remote file access

Discover how to use HTTP File Server on Windows, macOS, and Linux devices to remotely share and download files over Meshnet.

Introduction

HTTP File Server (HFS) is an open-source web server designed for convenient file sharing. It can be used as a more user-friendly alternative to shared folder configurations. However, without port forwarding, the HFS instance is limited only to the local area network (LAN).

With the help of Meshnet, you can form your own virtual network with devices from different networks all around the globe. This setup allows you to remotely access the HFS instance and share files with others without compromising your home network’s security.

This guide showcases how you can set up HTTP File Server on Windows, macOS, and Linux devices and access the shared files from remote devices over Meshnet.

Set up HTTP File Server

First, you need to configure the HTTP File Server software on your device.

Starting HFS

Begin by downloading the latest version of HFS and starting it.

  1. Visit the Releases page of the HFS GitHub repository.

  2. Download the archive for Windows and extract its contents to a dedicated folder.

  3. Launch the hfs executable file.

The executable will open a command line window displaying information about your HFS instance and network interfaces.

Once the server is started, the HFS admin panel should open in your default internet browser.

Creating a new administrator account

When the server is active, it is recommended to create a dedicated administrator account. This way, you’ll be able to manage your server’s settings from other devices. The default configuration allows administrator access only from the same device.

  1. On the HFS admin panel, click the Accounts option on the left.

  2. Select Add > User.

  3. Fill in your preferred username and password and enable the Permission to access admin-panel toggle.

  4. Click Save.

Your newly created user entry should be visible on the Accounts page.

Adding shared files

After securing administrator access, you can start importing files that you want to share with your Meshnet peers.

  1. On the HFS admin panel, select the Shared files section.

  2. Click Add > From disk.

  3. Choose the files or folders you want to be shared on your HFS web interface and click Select.

The selected files should now appear on the Shared files page under Virtual file system.

Remotely download your files over Meshnet

After setting up the server, you can start using its functionality remotely over Meshnet. The shared files can be seen on the HFS front-end page.

Accessing HFS from remote devices

To access the HFS front-end page from remote devices in your Meshnet:

  1. Copy the Nord name of the device running HFS from the NordVPN app.

  2. Open your internet browser.

  3. Paste the copied Nord name followed by a slash (/) to the URL field and press Enter. Example secret.meerkat-fuji.nord/

The HFS front-end page should load, showcasing all of the files that have been shared from the server.

Tip

To access the admin panel from a remote device, click Login in the upper-right corner and enter your administrator account credentials. Upon logging in, click Options > Admin-panel.

Downloading files

Once you have accessed the HFS front-end page, you can download your preferred files. You can choose to download individual files and folders or group multiple items into a single download.

Downloading individual items

  1. Hover your mouse over the name of the item you want to download.

  2. If it is a single file, click its name. If it’s a folder — click the Menu button next to its name.

  3. Click Download to start downloading the item.

Downloading grouped items

  1. Click the Select button at the top of the page.

  2. Select the checkboxes next to the items you want to download.

  3. In the upper-right corner, click ZIP to start the download.

Now you can conveniently share files between remote computers and mobile devices using the HFS web interface over Meshnet.

Last updated

© 2024 Nord Security. All Rights Reserved.