87631cbc8b
The peer IP allocation logic was allocating sequential peer IP from the 100.64.0.0/10 address block. Each account is created with a random subnet from 100.64.0.0/10. The total amount of potential subnets is 64. The new logic allocates random peer IP from the account subnet. This gives us flexibility to add support for multi subnet accounts without overlapping IPs. |
||
---|---|---|
.github/workflows | ||
client | ||
docs | ||
encryption | ||
iface | ||
infrastructure_files | ||
management | ||
release_files | ||
signal | ||
util | ||
.gitignore | ||
.goreleaser_ui_darwin.yaml | ||
.goreleaser.yaml | ||
AUTHORS | ||
CODE_OF_CONDUCT.md | ||
go.mod | ||
go.sum | ||
LICENSE | ||
README.md |
🐣 New release! Beta Update May 2022. 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 creates an overlay peer-to-peer network connecting machines automatically regardless of their location (home, office, datacenter, container, cloud or edge environments) unifying virtual private network management experience.
Key features:
- Automatic IP allocation and management.
- Automatic peer (machine) discovery and configuration.
- Encrypted peer-to-peer connections without a central VPN gateway.
- Connection relay fallback in case a peer-to-peer connection is not possible.
- Network management layer with a neat Web UI panel (separate repo)
- Desktop client applications for Linux, MacOS, and Windows.
- Multiuser support - sharing network between multiple users.
- SSO and MFA support.
- Multicloud and hybrid-cloud support.
- Kernel WireGuard usage when possible.
- Access Controls - groups & rules (coming soon).
- Private DNS (coming soon).
- Mobile clients (coming soon).
- Network Activity Monitoring (coming soon).
Secure peer-to-peer VPN with SSO and MFA in minutes
Note: The main
branch may be in an unstable or even broken state during development.
For stable versions, see releases.
Start using NetBird
See our documentation for Quickstart Guide.
If you are looking to self-host NetBird, check our Self-Hosting Guide.
Step-by-step Installation Guide for different platforms.
Hosted version: https://app.netbird.io/.
A bit on Netbird internals
- Every machine in the network runs Netbird Agent (or Client) that manages WireGuard.
- Netbird features a Management Service that offers peer IP management and network updates distribution (e.g. when a new machine joins the network others are getting notified if allowed by access controls). Simply put, this service holds the state of the network.
- Every agent is connected to Management Service.
- 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 server.
- Agents negotiate a connection through Signal Service.
- Signal Service uses public Wireguard keys to route messages between peers. Contents of the messages sent between peers through the signaling server are encrypted with Wireguard keys, making it impossible to inspect them.
- 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.
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).
Product Roadmap
Legal
WireGuard is a registered trademark of Jason A. Donenfeld.