No description
vpn
  • Go 94.5%
  • TypeScript 3%
  • Shell 1.4%
  • HTML 0.5%
  • Go Template 0.2%
  • Other 0.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Brad Ison 76ea72237f
[management] Add Agent Network managed proxy to the API spec (#7433)
Defines the cloud-side managed gateway provisioning surface
(POST/GET /api/integrations/agent-network/managed-proxy) and its
response objects so clients consume generated types instead of
hand-written ones. POST is idempotent: 202 when the call starts (or
restarts) provisioning, 200 when a deployment already exists; 409
names an already-assigned endpoint the managed flow does not own and
503 signals temporarily exhausted endpoint allocation.
2026-09-04 17:11:27 +02:00
.devcontainer [client, relay, management] Bump go version to 1.26 and go-quic to v0.62.0 (#7359) 2026-08-31 18:01:14 +02:00
.githooks [ci] Add local lint setup with pre-push hook to catch issues early (#4925) 2025-12-15 10:34:48 +01:00
.github [misc] Skip the protobuf breaking check on branch-creation pushes (#7411) 2026-09-03 16:44:18 +02:00
agent-network [management] Add Agent Network access roles and self-service endpoints (#7221) 2026-09-01 14:35:38 +02:00
base62 Update GitHub Actions and Enhance golangci-lint (#1075) 2023-09-04 17:03:44 +02:00
client [management] Add Agent Network managed proxy to the API spec (#7433) 2026-09-04 17:11:27 +02:00
combined [management] Keep embedded IdP deployments on a single account (#7380) 2026-09-04 11:03:54 +03:00
dns [client, management] offload client config generation to the client (#6711) 2026-07-22 18:20:27 +02:00
docs [management,client] Gate remote jobs behind an admin opt-in with MDM support (#7153) 2026-09-01 17:53:41 +02:00
e2e [management] Check a provider's url and credential before saving it (#7301) 2026-09-02 21:46:47 +02:00
encryption [management] Add Agent Network managed proxy to the API spec (#7433) 2026-09-04 17:11:27 +02:00
flow [management] Add Agent Network managed proxy to the API spec (#7433) 2026-09-04 17:11:27 +02:00
formatter [management] log user agent and return request id (#6380) 2026-06-09 15:24:26 +02:00
idp [infrastructure] Add unified admin CLI for self-hosted helpers (#6507) 2026-07-22 18:47:19 +02:00
infrastructure_files [infrastructure] Improve domain, Docker Compose, and license validation in self-hosted scripts (#7339) 2026-08-28 18:11:57 +03:00
integration_tests/management/network_map_db [management] update network_router_test to verify empty and nil peer_groups (#7425) 2026-09-04 15:29:51 +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
magefiles [management] network map from nmap data type (#6919) 2026-08-27 11:28:05 +02:00
management [management] update network_router_test to verify empty and nil peer_groups (#7425) 2026-09-04 15:29:51 +02:00
monotime [client] Fix elapsed time calculation when machine is in sleep mode (#4140) 2025-07-12 11:10:45 +02:00
proxy [management] Enforce reverse proxy group access before minting and when honouring a session cookie (#7240) 2026-09-04 07:15:20 +02:00
relay [relay] only trust X-Real-Ip headers from configured trusted proxies (#6833) 2026-07-20 18:15:03 +02:00
release_files [client] Stop the macOS UI on pkg upgrade (#7079) 2026-08-06 16:50:17 +02:00
route [client, management] offload client config generation to the client (#6711) 2026-07-22 18:20:27 +02:00
shared [management] Add Agent Network managed proxy to the API spec (#7433) 2026-09-04 17:11:27 +02:00
sharedsock [client] Fix staticcheck findings from the updated golangci-lint (#7266) 2026-08-20 16:50:50 +02:00
signal [signal] make pprof configurable (#6963) 2026-07-29 16:54:01 +02:00
stun [self-hosted] add netbird server (#5232) 2026-02-12 19:24:43 +01:00
tools/idp-migrate [management] Keep embedded IdP deployments on a single account (#7380) 2026-09-04 11:03:54 +03:00
trustedproxy [relay] only trust X-Real-Ip headers from configured trusted proxies (#6833) 2026-07-20 18:15:03 +02:00
upload-server [misc] improve goreleaser with RC handling and update docker builds (#6438) 2026-06-17 20:13:13 +02:00
util [client] Reuse the profile's account for iOS SSO logins (#7193) 2026-09-01 13:29:26 +02:00
version [management] network map from nmap data type (#6919) 2026-08-27 11:28:05 +02:00
.coderabbit.yaml [management,client] 0.75.0 release with new desktop UI (#6473) 2026-07-06 13:47:16 +02:00
.dockerignore [management, reverse proxy] Add reverse proxy feature (#5291) 2026-02-13 19:37:43 +01: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 [misc] Build release branches, and don't mark releases latest before signing (#7171) 2026-08-12 18:04:36 +02:00
.gitattributes Run linter action on MacOS and Windows (#1198) 2023-10-07 21:45:46 +02:00
.gitignore [client] Fix slow wg operations (#6633) 2026-07-02 20:42:43 +02:00
.gitmodules [client,signal,management] Add browser client support (#4415) 2025-10-01 20:10:11 +02:00
.golangci.yaml [management,client] 0.75.0 release with new desktop UI (#6473) 2026-07-06 13:47:16 +02:00
.goreleaser.yaml [misc] Build release branches, and don't mark releases latest before signing (#7171) 2026-08-12 18:04:36 +02:00
.goreleaser_ui.yaml [client] Ask the OS for privileges when a guarded SSH setting is changed (#7066) 2026-08-25 20:15:16 +02:00
.goreleaser_ui_darwin.yaml [misc] Build release branches, and don't mark releases latest before signing (#7171) 2026-08-12 18:04:36 +02:00
.goreleaser_ui_gtk3.yaml [misc] Build release branches, and don't mark releases latest before signing (#7171) 2026-08-12 18:04:36 +02:00
AGENTS.md [doc] Agent network docs update (#7020) 2026-08-15 19:31:49 +02:00
AUTHORS [misc, client, management] Replace Wiretrustee with Netbird (#3267) 2025-02-05 16:49:41 +01:00
CLAUDE.md [misc] add AGENTS.md file (#7014) 2026-08-01 08:17:03 +09:00
CODE_OF_CONDUCT.md Update CODE_OF_CONDUCT.md (#2048) 2024-05-24 17:29:14 +02:00
CONTRIBUTING.md [client, relay, management] Bump go version to 1.26 and go-quic to v0.62.0 (#7359) 2026-08-31 18:01:14 +02:00
CONTRIBUTOR_LICENSE_AGREEMENT.md [docs] Update CONTRIBUTOR_LICENSE_AGREEMENT.md (#5131) 2026-03-31 09:31:03 +02:00
crowdin.yml Fix Crowdin export paths and align import and export with repo bundle state (#7162) 2026-08-11 16:01:33 +02:00
funding.json [doc] Agent network docs update (#7020) 2026-08-15 19:31:49 +02:00
go.mod [client, relay, management] Bump go version to 1.26 and go-quic to v0.62.0 (#7359) 2026-08-31 18:01:14 +02:00
go.sum [client, relay, management] Bump go version to 1.26 and go-quic to v0.62.0 (#7359) 2026-08-31 18:01:14 +02:00
LICENSE [management, reverse proxy] Add reverse proxy feature (#5291) 2026-02-13 19:37:43 +01:00
Makefile [client] Categorize privileged tests behind a build tag and run them in Docker (#6425) 2026-06-28 16:15:54 +02:00
README.md Fix docs link (#7352) 2026-09-01 12:38:06 +02:00
SECURITY.md [doc] Agent network docs update (#7020) 2026-08-15 19:31:49 +02:00
sonar-project.properties [management,client] 0.75.0 release with new desktop UI (#6473) 2026-07-06 13:47:16 +02: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


🚀 We are hiring! Join us at https://netbird.io/careers

🤖 NetBird Agent Network (Beta)

Identity-aware access control for AI agents — keyless access to LLM APIs and private resources over the encrypted NetBird tunnel. See agent-network/ or read the docs at netbird.ai.

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.

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

Self-host NetBird (video)

Watch the video

Key features

Connectivity Management Security Automation Platforms
Kernel WireGuard Admin Web UI SSO & MFA support Public API Linux
Peer-to-peer connections ✓ Auto peer discovery and configuration Access control: groups & rules Setup keys for bulk provisioning macOS
✓ Connection relay fallback IdP integrations Activity logging Self-hosting quickstart script Windows
Routes to external networks Private DNS Traffic events IdP groups sync with JWT Android
Domain-based DNS routes Custom DNS zones Device posture checks Terraform provider Android TV
Exit nodes Multiuser support ✓ Peer-to-peer encryption Ansible collection iOS
IPv6 dual-stack overlay Multi-account profile switching SSH with central access policies Apple TV
Browser SSH & RDP Quantum-resistance with Rosenpass ✓ FreeBSD
Reverse proxy with auto-TLS Periodic re-authentication pfSense
OPNsense
MikroTik RouterOS
✓ OpenWRT
Synology
TrueNAS
Proxmox
Raspberry Pi
Serverless
Container

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 1 CPU and 2 GB of memory.
  • The VM should be publicly accessible on TCP ports 80 and 443 and UDP port 3478.
  • A public domain name pointing to the VM.

Software requirements:

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.sh | bash

A bit on NetBird internals

  • Every machine in the network runs the NetBird agent, which manages WireGuard.
  • Every agent connects to the Management Service, which holds network state, manages peer IPs, and distributes updates to agents.
  • Agents use ICE (via pion/ice) to discover connection candidates for peer-to-peer connections.
  • Candidates are discovered with the help of STUN servers.
  • Agents negotiate a connection through the Signal Service, exchanging end-to-end encrypted messages with candidates.
  • When NAT traversal fails (e.g. mobile carrier-grade NAT) and a direct p2p connection isn't possible, the system falls back to a Relay Service and a secure WireGuard tunnel is established through it.

NetBird high-level architecture diagram

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 the CISPA Helmholtz Center for Information Security, NetBird brings security best practices and simplicity to private networking.

CISPA_Logo_BLACK_EN_RZ_RGB (1)

Acknowledgements

We build on open source technologies like WireGuard®, Pion ICE, and Rosenpass. We greatly appreciate the work these projects are doing, and we'd love it if you could support them too (e.g., by starring or contributing).

This repository is licensed under the BSD-3-Clause license, which 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.