Cookie
FlexiHub Team uses cookies to personalize your experience on our website. By continuing to use this site, you agree to our cookie policy. Click here to learn more.

Tips on Sharing a USB Drive over Network

Olga Weis Olga Weis Last updated Oct 26, 2026

Hi! I'm Olga Weis (more about my credentials at https://www.electronic.us/author/olgaweis/). I'm a technical author at Electronic Team, Inc., and I often explore different ways to use the company's software.

Today, the topic is USB drive sharing! USB drives are a broad category of hardware - the first things that come to mind are flash drives and portable HDDs (the ones that are basically normal SATA drives with a USB adapter and a plastic shell around them). But I'd also include USB CD/DVD drives and NASes (Network Attached Storage) that have a USB interface. All these devices have two things in common: they require a lot more bandwidth than an input device, and don't like interruptions. Interrupted playback from a DVD or a hard drive can cause video artifacts, and interrupted writing can waste a blank CD, or corrupt a file system!

That being said, here's what I suggest.

Contents

Choosing sharing methods

Some methods may be more or less suitable - or completely unavailable - depending on your situation.

What OS is hosting or accessing the drive?

Windows (I'm assuming 11 - don't connect 10 to a network, non-ESU editions don't get security updates anymore!) provides a native solution for drive and folder sharing. Even though you don't need to mess around with a console, it's still pretty tedious. Reportedly, Windows updates can also break this functionality. However, once a drive is shared, accessing it is really easy, literally just a few clicks.

Windows 11 Advanced Sharing dialog

To start sharing folders or drives on Windows 11, do the following:

  1. Go to Settings > Network & Internet > Advanced network settings.
  2. Select "Change advanced sharing settings".
  3. Enable network discovery and file sharing.

And for individual folders:

  1. Right-click the folder.
  2. Switch to the "Sharing" tab.
  3. Select "Advanced sharing".
  4. Enable "Share this folder".

As for joining - open File Explorer, select Network, and it should appear there.

Drive mapping on Windows uses the SMB protocol. Technically, SMB shares are also accessible from Linux machines through the Samba application, but the process can be a bit tough. You need to specify the domain, and may also need to force the use of a certain protocol. As is usually the case with Windows-Linux interactions, things break and it's hard to find a definite guide.

Linux users have access both to NFS (in the form of nfs-kernel-server) and to SMB (samba). Both require command-line and config file setup. In fact, I even found Linux-Linux SMB sharing to be somewhat easier than NFS. Samba shares are listed in Nautilus, under Network, without any extra setup - much like they are on Windows.

Since Samba is the easier option, here's how you create a share:

  1. Install samba in apt (sudo apt-get install samba).
  2. Add your share to the /etc/samba/smb.conf. You'll need sudo!
  3. Run "sudo service smbd restart" to guarantee that it creates the share immediately.
  4. Run "sudo smbpasswd -a youruser" (use the local user's name). Samba uses a separate password from the login system.

A Samba share configuration looks like this:

[testshare]
path = /home/youruser/sharedfolder
browseable = yes
read only = yes

Note: you need "browseable" for the folder to show up in Nautilus. "read only" is recommended, so you explicitly know the setting without needing to remember the default.

To open a share created in Samba, launch Nautilus (sometimes simply called Files) and go to Network. If the folder doesn't appear, use the "Server address" text field to manually find it.

FlexiHub by Electronic Team, Inc. is probably the best option in terms of convenience, and it's almost guaranteed to work. However, it's also paid. I see it as a trade-off - do you want to trudge through menus? Or worse, try and explain them to a relative/coworker over the phone? Even on Linux, the FlexiHub installer never caused me (or others that needed access to my drives) any trouble.

Do you just need a folder, or the drive itself?

NFS and SMB share individual folders, but they don't give you full access to the drive. If you need to use it like a block device - for example, to run smartctl, to burn an .iso file with dd, or simply view device information - that would require a USB-over-IP solution. FlexiHub works this way, and devices redirected this way behave like they're physically connected.

Do you need to access the drive over the Internet?

If you're sharing drives on a local network, NFS and SMB are fine. But exposing ports to the internet is a huge risk! Either use a VPN, a tunnel connection, or FlexiHub, since it handles the security side of the connection for you.

Sharing a USB drive via FlexiHub

Once a drive is shared with FlexiHub, you can access it anywhere with an Internet connection. Even on Raspberry Pi and Android devices!
1
Create a FlexiHub account at https://account.flexihub.com/user/registration/. Verify your email.
 FlexiHub sign-in page
2
Download FlexiHub on the computer that has the USB drive and install it. Use the “Add computers” section in the web interface.
 The Add computers section in the FlexiHub web interface
3
Sign into the app. The FlexiHub Demo allows you to create 5 connections for free.
4
Now, switch to the remote computer, and also install/sign into FlexiHub there. You will see the USB drive and will be able to connect to it.
 FlexiHub desktop UI

Create single-use login tokens ("Shared access" at https://account.flexihub.com/) if you want to share your devices - don't just give others your password!

Mitigating risks

The primary risk when using a drive remotely is, of course, unauthorized access. If you do decide to make yours available on a public network, use IP whitelisting instead of plain password protection. And, when it comes to personal data, never make it available on the Internet at all.

Then, there's the more mundane risk of bad writes. If you aren't intending to write to a disk, use it in explicit read-only mode, or change the files and folders you're accessing to be read-only. On Windows, you can add a volume attribute for this, and on Linux, you can change permissions for folders in Nautilus or through chmod. Don't forget to change recursively. You can also unmount the drive and manually reconnect it through udisksctl with the "o -ro" argument.

Of course, if you are intending to write to a network drive, use a journalling file system on it, like ext4 (Linux) or NTFS (Windows). This won't help much with a non-rewritable CD or DVD, so don't write to these over the network, period. And finally, always keep backups!

Maximizing performance

For a USB drive, the first thing you should do is always connect it to a USB3.0 port (or the latest standard at the time of reading), with a high-quality USB3.0 cable.

Pick out the best Ethernet cables, use the shortest cables possible, and for non-local sharing, pick out the provider that gives you the most bandwidth.

When benchmarking it, don't forget to test the drive both with large files, and sets of smaller files. On Linux, use the "time" command when running tests. Windows usually shows file transfer speed in the transfer dialog, but I'd time it just in case.

That's it! Good luck with your USB drive!

FlexiHub

Requirements: Windows, macOS, Linux, Android and Raspberry Pi.
Size: 11.63MB
Version: 7.0.15594 (19 May, 2026)
User rating: (4.8 based on 386+ users)