Connect your devices into a single secure private WireGuard®-based mesh network with SSO/MFA and simple access controls.
Go to file
2025-10-14 17:46:01 +02:00
.devcontainer [misc] devcontainer Dockerfile: pin gopls to v0.18.1 (latest that supports golang 1.23) (#4240) 2025-07-29 20:52:18 +02:00
.github [client,signal,management] Add browser client support (#4415) 2025-10-01 20:10:11 +02:00
base62 Update GitHub Actions and Enhance golangci-lint (#1075) 2023-09-04 17:03:44 +02:00
client [client] Force TLS1.2 for RDP with Win11/Server2025 for CredSSP compatibility (#4617) 2025-10-13 17:50:16 +02:00
dns [client] Eliminate upstream server strings in dns code (#4267) 2025-08-11 11:57:21 +02:00
docs/media Update README.md (#524) 2022-10-22 16:19:16 +02:00
encryption [client,signal,management] Add browser client support (#4415) 2025-10-01 20:10:11 +02:00
flow [client,signal,management] Adjust browser client ws proxy paths (#4565) 2025-10-02 00:10:47 +02:00
formatter [misc] Separate shared code dependencies (#4288) 2025-08-05 18:34:41 +02:00
infrastructure_files [misc] Add service definition for netbird-signal (#4620) 2025-10-10 19:16:48 +02:00
LICENSES Dual license: apply AGPL‑3.0 to management/, signal/, and relay directories (BSD‑3 remains for the rest) 2025-08-05 11:37:21 +02:00
management remove status attr and unused function 2025-10-14 17:46:01 +02:00
monotime [client] Fix elapsed time calculation when machine is in sleep mode (#4140) 2025-07-12 11:10:45 +02:00
relay [relay] Let relay accept any origin (#4426) 2025-09-01 19:51:06 +02:00
release_files [misc] Remove aur support and start service on ostree (#4461) 2025-09-08 15:03:56 +02:00
route [management,client] Feat/exit node auto apply (#4272) 2025-08-19 18:19:24 +03:00
shared [management,client] Make DNS ForwarderPort Configurable & Change Well Known Port (#4479) 2025-10-02 01:02:10 +02:00
sharedsock [client] Use native windows sock opts to avoid routing loops (#4314) 2025-09-20 09:31:04 +02:00
signal [client,management,signal] Handle grpc from ws proxy internally instead of via tcp (#4593) 2025-10-06 21:22:19 +02:00
upload-server client: container: support CLI with entrypoint addition (#4126) 2025-07-25 11:44:30 +02:00
util [management,signal] Remove ws-proxy read deadline (#4598) 2025-10-06 22:05:48 +02:00
version [client,gui] Update url_windows.go to offer arm64 executable download (#4586) 2025-10-08 21:27:32 +02:00
.dockerignore-client client: container: support CLI with entrypoint addition (#4126) 2025-07-25 11:44:30 +02:00
.editorconfig Fix syslog output containing duplicated timestamps (#2292) 2024-08-01 18:22:02 +02:00
.git-branches.toml add git town config (#3555) 2025-04-09 20:18:52 +01:00
.gitattributes Run linter action on MacOS and Windows (#1198) 2023-10-07 21:45:46 +02:00
.gitignore client: container: support CLI with entrypoint addition (#4126) 2025-07-25 11:44:30 +02:00
.gitmodules [client,signal,management] Add browser client support (#4415) 2025-10-01 20:10:11 +02:00
.golangci.yaml [management] optimize test execution (#3204) 2025-02-19 19:13:45 +01:00
.goreleaser_ui_darwin.yaml [client] Add universal bin build and update sign workflow version (#2738) 2024-10-15 15:03:17 +02:00
.goreleaser_ui.yaml [client] Add windows arm64 build (#4206) 2025-08-07 11:30:19 +02:00
.goreleaser.yaml [client,signal,management] Add browser client support (#4415) 2025-10-01 20:10:11 +02:00
AUTHORS [misc, client, management] Replace Wiretrustee with Netbird (#3267) 2025-02-05 16:49:41 +01:00
CODE_OF_CONDUCT.md Update CODE_OF_CONDUCT.md (#2048) 2024-05-24 17:29:14 +02:00
CONTRIBUTING.md Specify goreleaser version and update to 2 (#2673) 2024-09-30 16:43:34 +02:00
CONTRIBUTOR_LICENSE_AGREEMENT.md Update CONTRIBUTOR_LICENSE_AGREEMENT.md (#3535) 2025-03-19 15:11:58 +01:00
funding.json Create funding.json (#2813) 2024-10-30 17:18:27 +01:00
go.mod [management] pass temporary flag to validator (#4599) 2025-10-10 16:15:51 +02:00
go.sum [management] pass temporary flag to validator (#4599) 2025-10-10 16:15:51 +02:00
LICENSE Dual license: apply AGPL‑3.0 to management/, signal/, and relay directories (BSD‑3 remains for the rest) 2025-08-05 11:37:21 +02:00
README.md Add a new product demo video (#4520) 2025-09-19 13:06:44 +02:00
SECURITY.md Add security policy file (#600) 2022-12-02 13:54:22 +01:00
versioninfo.json Add release version to windows binaries and update sign pipeline version (#2256) 2024-07-11 19:06:55 +02:00

Start using NetBird at netbird.io
See Documentation
Join our Slack channel or our Community forum

New: NetBird terraform provider


NetBird combines a configuration-free peer-to-peer private network and a centralized access control system in a single platform, making it easy to create secure private networks for your organization or home.

Connect. NetBird creates a WireGuard-based overlay network that automatically connects your machines over an encrypted tunnel, leaving behind the hassle of opening ports, complex firewall rules, VPN gateways, and so forth.

Secure. NetBird enables secure remote access by applying granular access policies while allowing you to manage them intuitively from a single place. Works universally on any infrastructure.

Open Source Network Security in a Single Platform

https://github.com/user-attachments/assets/10cec749-bb56-4ab3-97af-4e38850108d2

NetBird on Lawrence Systems (Video)

Watch the video

Key features

Connectivity Management Security Automation Platforms
  • - [x] Kernel WireGuard
  • - [x] Linux
  • - [x] Peer-to-peer connections
  • - [x] Auto peer discovery and configuration
  • - [x] Mac
  • - [x] Connection relay fallback
  • - [x] Windows
  • - [x] IdP groups sync with JWT
  • - [x] Android
  • - [x] NAT traversal with BPF
  • - [x] Peer-to-peer encryption
  • - [x] iOS
  • - [x] OpenWRT
  • - [x] Docker

Quickstart with NetBird Cloud

Quickstart with self-hosted NetBird

This is the quickest way to try self-hosted NetBird. It should take around 5 minutes to get started if you already have a public domain and a VM. Follow the Advanced guide with a custom identity provider for installations with different IDPs.

Infrastructure requirements:

  • A Linux VM with at least 1CPU and 2GB of memory.
  • The VM should be publicly accessible on TCP ports 80 and 443 and UDP ports: 3478, 49152-65535.
  • Public domain name pointing to the VM.

Software requirements:

  • Docker installed on the VM with the docker-compose plugin (Docker installation guide) or docker with docker-compose in version 2 or higher.
  • jq installed. In most distributions Usually available in the official repositories and can be installed with sudo apt install jq or sudo yum install jq
  • curl installed. Usually available in the official repositories and can be installed with sudo apt install curl or sudo yum install curl

Steps

  • Download and run the installation script:
export NETBIRD_DOMAIN=netbird.example.com; curl -fsSL https://github.com/netbirdio/netbird/releases/latest/download/getting-started-with-zitadel.sh | bash
  • Once finished, you can manage the resources via docker-compose

A bit on NetBird internals

  • Every machine in the network runs NetBird Agent (or Client) that manages WireGuard.
  • Every agent connects to Management Service that holds network state, manages peer IPs, and distributes network updates to agents (peers).
  • NetBird agent uses WebRTC ICE implemented in pion/ice library to discover connection candidates when establishing a peer-to-peer connection between machines.
  • Connection candidates are discovered with the help of STUN servers.
  • Agents negotiate a connection through Signal Service passing p2p encrypted messages with candidates.
  • Sometimes the NAT traversal is unsuccessful due to strict NATs (e.g. mobile carrier-grade NAT) and a p2p connection isn't possible. When this occurs the system falls back to a relay server called TURN, and a secure WireGuard tunnel is established via the TURN server.

Coturn is the one that has been successfully used for STUN and TURN in NetBird setups.

See a complete architecture overview for details.

Community projects

Note: The main branch may be in an unstable or even broken state during development. For stable versions, see releases.

Support acknowledgement

In November 2022, NetBird joined the StartUpSecure program sponsored by The Federal Ministry of Education and Research of The Federal Republic of Germany. Together with CISPA Helmholtz Center for Information Security NetBird brings the security best practices and simplicity to private networking.

CISPA_Logo_BLACK_EN_RZ_RGB (1)

Testimonials

We use open-source technologies like WireGuard®, Pion ICE (WebRTC), Coturn, and Rosenpass. We very much appreciate the work these guys are doing and we'd greatly appreciate if you could support them in any way (e.g., by giving a star or a contribution).

This repository is licensed under BSD-3-Clause license that applies to all parts of the repository except for the directories management/, signal/ and relay/. Those directories are licensed under the GNU Affero General Public License version 3.0 (AGPLv3). See the respective LICENSE files inside each directory.

WireGuard and the WireGuard logo are registered trademarks of Jason A. Donenfeld.