In this guide, weβll set up NetBird so your phone, tablet, or laptop can securely connect to your Home Lab, Server, or ZimaOS NAS and access devices on your LAN. π
Log in to the NetBird Cloud Dashboard.
β‘οΈ Go to Peers β Setup Keys β New Key
β‘οΈ Name it: Netbird-Client-SetupKey-Change-Me
β‘οΈ Set Reusable = Yes (valid 7 days)
Copy UUID β Netbird-Client-SetupKeyUUID-Change-Me
Open Portainer β Stacks β Add stack and paste this YAML:
Give the container a name: netbird (all lowercase)
version: '3.8'
services:
netbird-client:
image: netbirdio/netbird:latest
container_name: netbird-client
restart: unless-stopped
environment:
- NB_SETUP_KEY=Netbird-Client-SetupKeyUUID-Change-Me
volumes:
- /DATA/AppData/netbird-client:/etc/netbird
network_mode: "host"
Replace placeholders:
Click Deploy the stack. Check the logs β you should see: peer has been successfully registered β
β‘οΈ NetBird dashboard β Network Routes β Add Route
β‘οΈ Route: 192.168.1.0/24 (replace with your LAN subnet)
β‘οΈ Assign to group: All
β‘οΈ Enable Route Masquerade
β‘οΈ Name: home-network β Add Route
Download and install the NetBird client:
β οΈ First-time setup requires being on the same LAN as your server (zero trust authorization step).
β‘οΈ Open the NetBird app β Connect β Approve device in the dashboard β It will appear under Peers.
β‘οΈ Now disconnect Wi-Fi and switch to LTE/5G.
β‘οΈ Reconnect with NetBird β You should still reach your server, NAS, Nextcloud, or cameras as if you were local. π
You now have a secure Zero Trust VPN powered by NetBird. Every device must be explicitly authorized, keeping AI-driven brute force bots and stolen credentials useless.
Access your files, dashboards, and apps (Nextcloud, Jellyfin, security cameras, etc.) remotely and securely. π
Sponsored by: Pulse Of Light
Wh0re Island and Other Cool Stuff