Building a Super Secure Internal VPN Mesh Network Between Home Lab and Multi-Cloud VPS Using NetBird
A detailed guide to building a super secure internal VPN mesh network between a home lab and multiple VPS instances across different cloud platforms using NetBird. The guide covers...
Introduction to VPN Mesh Networks and NetBird
An internal VPN mesh network is a networking architecture that allows devices to connect directly to each other through a secure virtual network, without relying on intermediate servers. This is an ideal solution for environments such as home labs and multi-cloud VPS, where secure connectivity between distributed devices across different cloud platforms is required. NetBird is a decentralized, open-source networking tool that enables the easy, automated, and absolutely secure construction of VPN mesh networks.
NetBird operates on a peer-to-peer (P2P) foundation and uses TLS 1.3 to encrypt all traffic. Unlike traditional VPN solutions, NetBird does not require manual configuration of firewalls, NAT, or open ports. Instead, it automatically establishes connections between devices using Relay and Direct connections when possible.
Prerequisites and NetBird Installation
To get started, you will need:
- One or more home lab devices (PC, Raspberry Pi, etc.)
- At least one VPS on cloud platforms such as AWS, GCP, or DPTCloud (see Cloud VPS with L3/L4/L7 Anycast Anti-DDoS)
- A NetBird account (create one for free at netbird.io)
Install NetBird on each device:
- Download the appropriate version from the download page.
- Run the installation command:
curl -s https://get.netbird.io | sudo sh
After installation, log in using your NetBird account:
netbird login
NetBird will prompt you to log in via a browser to authenticate the device.
Configuring the VPN Mesh Network
After logging in, your device will be added to the NetBird network. To create a mesh network:
- On the NetBird management page, go to Networks → Create Network.
- Assign a name to the network (e.g.,
home-lab-cloud). - Select the Mesh mode (automatically connects all devices).
- Set security policies such as Firewall Rules and Access Control.
NetBird will automatically establish P2P connections between all devices. You can monitor connection status from the management dashboard.
Testing Connectivity and Security
To verify that connections are working:
- Run the connection status command:
netbird status
The output will display connection status and virtual network IP addresses.
To verify security:
- NetBird uses TLS 1.3 for all connections.
- No sensitive information is stored on intermediate servers.
- NetBird supports Zero Trust by validating access rights for each device.
Alternative Solutions and References
NetBird is a modern solution, but if you prefer a WireGuard-based approach, refer to the guide on self-hosting a WireGuard VPN server on high-speed VPS for absolute business security.
For remote control solutions, consider deploying RustDesk with a private IDRelay server.
For more information on secure infrastructure, refer to Network Security & 99.98% SLA Infrastructure at DPTCloud.
Additional Information
NetBird is an open-source solution developed by NetBird.io. Detailed documentation is available at https://docs.netbird.io.
Recommended NVMe Cloud VPS Plans to Deploy This Setup
Enterprise RAID 10 NVMe SSDs, CMC & FPT District 9 uplinks with Anycast Anti-DDoS and 99.99% SLA.
VPS-3E
10% VAT included
- CPU: 2 vCPU
- RAM: 4 GB
- SSD: 50 GB NVMe
