netbird

module
v0.20.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2023 License: BSD-3-Clause

README

:hatching_chick: New Release! Peer expiration. Learn more


Start using NetBird at app.netbird.io
See Documentation
Join our Slack channel


NetBird is an open-source VPN management platform built on top of WireGuard® making it easy to create secure private networks for your organization or home.

It requires zero configuration effort leaving behind the hassle of opening ports, complex firewall rules, VPN gateways, and so forth.

NetBird uses NAT traversal techniques to automatically create an overlay peer-to-peer network connecting machines regardless of location (home, office, data center, container, cloud, or edge environments), unifying virtual private network management experience.

Key features:

  • [x] Automatic IP allocation and network management with a Web UI (separate repo)
  • [x] Automatic WireGuard peer (machine) discovery and configuration.
  • [x] Encrypted peer-to-peer connections without a central VPN gateway.
  • [x] Connection relay fallback in case a peer-to-peer connection is not possible.
  • [x] Desktop client applications for Linux, MacOS, and Windows (systray).
  • [x] Multiuser support - sharing network between multiple users.
  • [x] SSO and MFA support.
  • [x] Multicloud and hybrid-cloud support.
  • [x] Kernel WireGuard usage when possible.
  • [x] Access Controls - groups & rules.
  • [x] Remote SSH access without managing SSH keys.
  • [x] Network Routes.
  • [x] Private DNS.
  • [x] Network Activity Monitoring.

Coming soon:

  • [ ] Mobile clients.

Secure peer-to-peer VPN with SSO and MFA in minutes

https://user-images.githubusercontent.com/700848/197345890-2e2cded5-7b7a-436f-a444-94e80dd24f46.mov

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

Start using NetBird

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 a 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 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.

Roadmap

Community projects

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), and Coturn. 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. giving a star or a contribution).

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

Directories

Path Synopsis
cmd
internal/stdnet
Package stdnet is an extension of the pion's stdnet.
Package stdnet is an extension of the pion's stdnet.
ssh
ui
skipping linux 32 bits build and tests
skipping linux 32 bits build and tests
Package dns implement dns types and standard methods and functions to parse and normalize dns records and configuration
Package dns implement dns types and standard methods and functions to parse and normalize dns records and configuration
Package iface provides wireguard network interface creation and management
Package iface provides wireguard network interface creation and management
cmd
server/http/api
Package api provides primitives to interact with the openapi HTTP API.
Package api provides primitives to interact with the openapi HTTP API.
server/metrics
Package metrics gather anonymous information about the usage of NetBird management
Package metrics gather anonymous information about the usage of NetBird management
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL