Home cloud storage based on HDD and Wi-Fi router

The transition to digital services often makes us think about data security and monthly subscription fees. Creating your own home cloud solves both problems, providing complete control over information and no subscription fees. You don't need to be a system administrator to deploy such a system using a regular hard drive and a router.

Modern routers are powerful enough to support file sharing within a local network. This allows for instant transfer of large video files or photo backups between devices without the need for an internet connection. The main advantage of this setup is high speed data transmission within the perimeter of an apartment or house.

In this article, we'll cover every step of the process: from selecting equipment to setting up remote access. You'll learn how to turn an old laptop or Raspberry Pi into a fully-fledged server, or how to use your router's built-in features. Local storage does not require a constant connection to the global network to access files within the home.

Selecting equipment: router, disk, and connection interface

The first step is to evaluate the capabilities of your current network equipment. Not every router supports external drives, so you need to check the presence of a USB port on the back of the device. If it does, it's important to check the specifications to see if it supports the mode. NAS or simply intended for printing.

The hard drive (HDD) itself should be selected based on the expected data capacity and noise level. For a permanent connection in a living room, 3.5-inch models may be too bulky and noisy. In such cases, 2.5-inch laptop drives or specialized ones are preferable. NAS drives with an increased service life.

⚠️ Please note: The power supply to a router's USB port is often limited to 0.5 amps. This is insufficient for a full-size 3.5-inch HDD, and the drive may fail to boot or repeatedly disconnect, resulting in data loss.

If your router doesn't have USB or its processor is too weak for comfortable speed, consider a single-board computer. Devices like Raspberry Pi or Orange Pi They will be the ideal base for creating flexible storage. They consume little power and can run full-fledged operating systems for file management.

  • 🔌 USB 3.0 - Provides maximum data transfer speed, but requires a shielded cable to avoid Wi-Fi interference.
  • 💾 Form factor — 2.5" drives can often be powered from a single USB port, while 3.5" drives require a separate power outlet.
  • 📡 Dual-band router — Using the 5 GHz band is critical for comfortable work with large files.

It's also worth paying attention to the disk's file system. Linux-based routers (OpenWrt, AsusWRT) usually read it without problems. ext4, but may require additional packages to work with NTFSFile system exFAT It is becoming a de facto standard for compatibility, but older router models may not support it.

📊 How much disk space do you plan to use for your home cloud?
Up to 500 GB
1 TB - 2 TB
4 TB or more
I use an SSD drive.

Connecting a hard drive to a router or mini PC

Physically connecting a drive is more than just plugging a cable into a port. Proper power and cooling are essential for stable system operation. If you're using an external HDD in an enclosure, make sure it's connected to a power source, not just a USB port.

When using single board computers such as Raspberry Pi 4 or 5, it is recommended to use a powered USB hub with its own power supply. This relieves the load on the board and prevents power surges that could damage the controller. Connecting directly to the board port is only suitable for SSD drives or flash cards with low power consumption.

☑️ Checking equipment readiness

Completed: 0 / 4

After the physical connection, you need to log into the router's web interface. The address is usually available at 192.168.0.1 or 192.168.1.1In the settings menu, find the section responsible for USB applications and enable the file sharing function. It is often called Media Server, FTP or Samba.

It's important to set up access rights correctly. Don't leave your storage open to everyone without a password, even within your home network. Create a separate user with read-only or write-only permissions to specific folders to isolate your router's system files from unauthorized access.

⚠️ Note: Router firmware interfaces may vary. If you can't find the settings you need, consult the manufacturer's official documentation or consider installing alternative firmware.

Setting up the SMB network protocol for access from PCs and TVs

Protocol SMB (Server Message Block) is a standard for file sharing in Windows and macOS networks. After activating the service on your router, your drive will become available as a network drive. On your Windows computer, open File Explorer and enter the router's IP address in the address bar, for example \\192.168.1.1.

For TVs based on Android TV or webOS This protocol is also the main one. Built-in media players or applications like VLC And Kodi Automatically find your network storage. This allows you to watch movies directly from your hard drive connected to your router, without having to transfer them to a flash drive.

Parameter Description Recommended value
Protocol Type of network interaction SMB v2 / v3
Port Network port for connection 445 (standard)
Encoding Character set for file names UTF-8
Access Folder access type Read/Write

If you're using macOS, connect via Finder -> Go -> Connect to Server. Enter the address in the following format: smb://192.168.1.1The system may request the username and password you specified in your router settings. For convenience, you can add this address to your favorites so that the drive connects automatically upon startup.

File copy speed over Wi-Fi will depend on the frequency band. On the 2.4 GHz band, actual speeds rarely exceed 2-3 MB/s, which is fine for documents but slow for video. Switching to the 5 GHz band will increase speeds to 10-20 MB/s and higher, comparable to fast flash drives.

Why is it better not to use SMB v1?

The SMB version 1 protocol is deprecated and has known security vulnerabilities. Modern operating systems, such as Windows 10/11, disable support for it by default. Use SMB v2 or v3 for security and stability.

Organizing remote access via FTP and cloud services

To access files outside your home network, the local SMB protocol isn't enough. This is where FTP (File Transfer Protocol) or its secure version SFTPRouters often have a built-in FTP server, which must be activated in the appropriate settings section.

Setting up remote access requires port forwarding on your router. You need to specify that incoming connections to a specific port (e.g., 2121) should be forwarded to the IP address of your storage device or router on the internal network. Without this step, the outside world won't be able to see your server.

However, not all providers offer a "white" IP address. If you have a dynamic IP, you'll need to configure it. DDNS (Dynamic DNS). This technology binds a changing IP address to a constant domain name. Many routers have built-in support for free DDNS services, such as No-IP or DynDNS.

  • 🔒 Security — Use complex passwords and change default FTP ports to avoid automated bot attacks.
  • 🌐 HTTPS — Some advanced routers allow access via a secure protocol, which is safer for data transfer.
  • 📱 Mobile access — for phones, it is more convenient to use specialized client applications that support FTP and WebDAV.

An alternative to manually setting up FTP is to use the router manufacturer's cloud functionality. Companies like Asus (AiCloud), TP-Link (Tether) or Keenetic Offer ready-made solutions. They create a secure tunnel that allows accessing files through a proprietary application without port forwarding.

⚠️ Warning: Opening FTP ports externally makes your network visible to vulnerability scanners. Be sure to set a strong password and, if possible, restrict access by IP address or use a VPN.

Using specialized software: OpenMediaVault and Nextcloud

If the router's functionality is insufficient, the best solution is to install a specialized operating system on a separate device. OpenMediaVault (OMV) is a free Linux-based system that turns any computer into a powerful NAS. It supports RAID, disk monitoring, and numerous plugins.

For those who want to get an analogue of Google Drive or Dropbox, but under their own control, this is ideal NextcloudThis software is installed on top of the operating system (often via Docker) and provides a user-friendly web interface, synchronization of contacts, calendars, and files between devices.

sudo apt update

sudo apt install nextcloud

Example installation command (simplified)

Deploying such systems requires a little more technical knowledge than setting up a router, but offers incomparably more possibilities. You can set up automatic backups of photos from your phone as soon as you get home, and organize a media library with posters and descriptions via Jellyfin or Plex.

A key advantage of using custom software is vendor independence. You're not tied to a single router manufacturer's ecosystem and can upgrade the hardware independently of the software. Security updates for Linux distributions are released regularly and patch vulnerabilities faster than firmware updates for consumer routers.

Optimizing Wi-Fi speed and system power consumption

The speed of a home cloud directly depends on the quality of your wireless connection. For transferring large amounts of data (4K video, backups), it's crucial to use the standard Wi-Fi 5 (802.11ac) or Wi-Fi 6Old standards can become a bottleneck for the entire system.

The placement of the router and client (such as a laptop or set-top box) plays a crucial role. Walls, especially load-bearing ones, and household appliances create interference. For stationary devices, such as a TV or gaming console, a cable connection is always preferred. LAN, if possible.

Power consumption is another aspect that can't be ignored when running 24/7. Hard drives consume power even when idle. You can configure power-saving modes in your router or OS (OMV) settings, such as turning off the drive after 30 minutes of inactivity.

  • 🌡️ Temperature conditions — ensure ventilation of the disk, overheating reduces the service life of the mechanics.
  • Stabilization - Use an uninterruptible power supply (UPS) to protect against power surges and ensure proper shutdown.
  • 📶 Wi-Fi channels — select a free channel in the router settings to avoid interference with neighboring networks.

Regular defragmentation (for HDDs) or SMART status checks help maintain the drive's health. The software allows you to configure email notifications when errors are detected or the drive reaches critical temperatures.

Is it possible to use an old router without USB to create a cloud?

A router without a USB port won't be able to host a drive on its own. However, if it can run OpenWrt firmware and has free contacts on the board, theoretically, you could solder a USB port. It's easier to buy a USB Wi-Fi adapter for a single-board computer and use the router solely as an access point.

What is the maximum speed via Wi-Fi with an HDD?

Under ideal conditions, Wi-Fi 5 (802.11ac) in the 5 GHz band can achieve speeds of 40-80 Mbps. Wi-Fi 6 can achieve higher speeds. However, actual performance depends on distance, number of walls, and airwave congestion.

Is it safe to store personal photos on a home server?

Yes, it's more secure than public clouds, as the data isn't analyzed by algorithms. However, security is up to you: use strong passwords, keep your router firmware up to date, and don't open ports unnecessarily.

Do macOS and iOS support this type of storage?

Yes, completely. iOS has built-in SMB support in the Files app. macOS also natively supports network drives. For more advanced functionality, you can use third-party file managers.