
NetBird
WireGuard overlay network with Zero Trust, SSO, and self-hosting
Replaces Tailscale, Zerotier, Twingate

Who it's for
Teams that need to give remote employees access to internal resources (databases, monitoring dashboards, internal apps) without exposing those services to the internet. NetBird ties access to the employee's SSO identity and device posture, so off-boarding a user through the identity provider revokes their network access automatically.
If your workforce is entirely office-based and remote access is handled by an existing enterprise VPN you have no plans to replace, the migration overhead will outweigh the benefit for a small team.
Engineers managing services across AWS, GCP, Azure, and on-premises hardware can join every node to a NetBird network and define access rules that mirror their infrastructure topology. The Terraform provider and public API let that configuration live alongside the infrastructure it protects in the same code review and deployment pipeline.
If your infrastructure is entirely within a single cloud VPC and cross-cloud connectivity is not a requirement, cloud-native private networking such as VPC peering may be simpler than operating an overlay network.
Security teams that need to record exactly which user connected to which internal resource, from which device, and at what time. NetBird's activity logs stream to SIEM platforms in real time, and device posture checks enforce baseline security requirements before any access is granted. Group-based rules implement least-privilege access across the entire private network.
If your compliance framework requires a certified SIEM connector with an SLA, evaluate whether NetBird's logging export meets the specific evidence standard before committing to it as the sole access layer.
Individuals and small teams who want a self-hosted alternative to Tailscale's cloud, with no per-seat fees and full control over the management plane. A single VM with 2 GB RAM handles dozens of peers. The BSD-3-Clause client and AGPL-3.0 server are both OSI-approved, and the cloud-free setup costs nothing beyond the VM.
If you want zero infrastructure management and are comfortable with a managed control plane, NetBird Cloud or Tailscale's free tier are simpler to operate than a self-hosted NetBird server.
The problem
Traditional VPNs route all traffic through a central gateway, creating three distinct pains for growing teams. The gateway becomes a performance bottleneck under load, a single point of failure when it goes down, and a configuration burden as the number of nodes and access rules grows. Setting up split tunnels, managing firewall rules, and onboarding new machines requires significant network expertise, and mistakes open attack surface. Access control is a separate problem. Most VPN tools grant a user full network access once they authenticate, leaving every internal service exposed to anyone on the VPN. Layering a Zero Trust policy on top typically requires additional NAC tooling, complex identity provider integrations, and a web of firewall rules that drift over time and are difficult to audit at scale.
How it works
NetBird forms direct encrypted tunnels between peers using kernel WireGuard, bypassing any gateway in the data path. When a direct connection is not possible due to carrier-grade NAT or restrictive firewalls, the network automatically falls back to a relay service and maintains the encrypted WireGuard tunnel through it. No firewall port changes are required on the endpoint side.
Network access in NetBird is tied to user identity through your existing identity provider. Okta, Microsoft Entra, Google Workspace, and other OpenID-compatible providers gate each connection. Group-based rules define which users and devices can reach which internal resources, and periodic re-authentication keeps sessions short-lived. MFA settings from your identity provider apply automatically.
Before granting any connection, NetBird can verify that the connecting device meets your security baseline: firewall active, antivirus running, OS version at or above a threshold, or geographic location within an allowed range. Integrations with popular MDM and EDR platforms extend those checks further. Devices that fail posture are blocked at the network layer.
NetBird exposes a full REST API and an official Terraform provider, so network topology, access rules, and peer groups can be managed as code alongside the infrastructure they protect. An Ansible collection and setup-key-based bulk provisioning let you automate agent enrollment at scale without manual web UI steps.
NetBird agents run on Linux, Windows, macOS, Android, iOS, FreeBSD, pfSense, OPNsense, MikroTik RouterOS, OpenWRT, Synology, TrueNAS, Proxmox, Raspberry Pi, Docker containers, and serverless functions. The same agent joins any NetBird network regardless of platform, so a container in AWS and an on-premises server behind NAT can share a private network with no special treatment.
NetBird logs all connection events, configuration changes, and access decisions with timestamps and user attribution. Logs stream to external SIEM platforms in real time, providing the audit trail required for compliance in environments that need to record who connected to what and when. All traffic events are also captured for forensic review.
Features
- Peer-to-peer WireGuard tunnels with relay fallback
- Identity-aware access control with SSO and MFA
- Device posture checks before network access
- Infrastructure-as-code via Terraform, API, and Ansible
- Cross-platform agents across 15+ operating systems
- Activity logging and real-time SIEM streaming
How to install
Deploy the NetBird server stack on a Linux VM with Docker and a public domain.
export NETBIRD_DOMAIN=netbird.example.com
curl -fsSL https://github.com/netbirdio/netbird/releases/latest/download/getting-started.sh | bashRecommended for this setup
Strengths
- Fully self-hostable management plane: Unlike Tailscale or Twingate, NetBird lets you operate your own management, signal, and relay servers on your infrastructure. The quickstart script deploys the full server stack via Docker Compose on a 2 GB Linux VM and handles TLS certificate provisioning automatically. Your network state never leaves your infrastructure unless you choose the managed cloud option.
- 30,680 GitHub stars with active daily development: The netbirdio/netbird repository has over 30,000 stars and received its most recent commit on 2026-11-04. The team maintains active Slack and community forum channels for self-hosters. Bug reports go through a discussion-first workflow that keeps the issue tracker focused on confirmed, in-progress work rather than unvalidated reports.
- Zero Trust access control without additional tooling: NetBird bundles identity provider integration, device posture checks, group-based access rules, and audit logging into one agent and management plane. Teams running legacy VPNs typically need separate NAC products, firewall policy layers, and SIEM connectors to get equivalent enforcement. NetBird covers all of that in a single deployment.
- Connects anything that can run an agent: A container in AWS, an on-premises server behind carrier-grade NAT, a laptop on a mobile network, and a router running OpenWRT can all join the same private NetBird network. The platform-agnostic agent list covers NAS devices, routers, single-board computers, and serverless runtimes, so the tool fits infrastructure that VPN clients typically cannot reach.
Trade-offs
- Self-hosting requires a publicly accessible VM: The management and signal servers need TCP ports 80 and 443 and UDP port 3478 reachable from the internet, plus a public domain name with DNS pointing at the host. This rules out purely internal or air-gapped deployments for the management plane and adds a dependency on DNS and TLS certificate management. The quickstart script automates certificate provisioning, but the VM must remain reachable.
- Split license: BSD-3-Clause clients, AGPL-3.0 servers: The client code and most of the codebase are BSD-3-Clause. The server components (management, signal, relay, and combined directories) are AGPL-3.0 and carry their own LICENSE files. Both are OSI-approved licenses and the full stack is self-hostable. If you modify the server-side code and distribute it as a managed service to others, AGPL requires publishing those changes. Internal use, including commercial team deployments, carries no such obligation.
- 468 open issues reflect a broad, evolving feature set: The project tracks 468 open issues (pull requests excluded, as of 2026-11-05). That is a reasonable count for a project with over 30,000 stars, but it reflects ongoing work across a broad feature set. Users in highly specific environments, such as unusual NAT configurations or niche router platforms, may encounter rough edges that are known but not yet resolved.
Tech stack
FAQ
Yes. The self-hosted option is free: the client code is BSD-3-Clause and the server components are AGPL-3.0, both OSI-approved. You run everything on your own VM at no license cost. NetBird also offers a cloud-managed option (NetBird Cloud) with a free tier for small teams and paid plans for larger organizations. For most self-hosters, the open source path costs nothing beyond the VM and domain.
The key difference is where the control plane lives. Tailscale's coordination server runs in Tailscale's cloud and cannot be moved. NetBird lets you self-host the management, signal, and relay servers on your own infrastructure, so your network state stays on your systems unless you choose the managed option. For air-gapped networks, regulated environments, or organizations with policies against third-party cloud control planes, that distinction matters.
A Linux VM with at least 1 CPU and 2 GB of RAM, publicly accessible on TCP ports 80 and 443 and UDP port 3478, with a public domain name pointing at it, and Docker with the Compose v2 plugin. The quickstart script automates the rest of the setup including TLS certificate provisioning. If the domain and VM are already in place, setup takes about five minutes.
The repository uses two OSI-approved licenses. Client code and most of the codebase are BSD-3-Clause. The server directories (management, signal, relay, and combined) each carry their own LICENSE file under AGPL-3.0. Self-hosters running the full stack internally for their own use, including commercial team deployments, can do so freely under both licenses. AGPL's distribution requirement applies only if you modify the server code and offer it as a hosted service to others.
Yes, in beta. The project includes a NetBird Agent Network feature that provides identity-aware access control for AI agents, with keyless access to LLM APIs and private resources over the encrypted NetBird tunnel. The beta is documented at netbird.ai and in the agent-network/ directory of the repository. It follows the same identity and policy model as human user access.