I self-host my mesh VPN with NetBird instead of Tailscale — here's the one reason, and where Tailscale still wins
Описание и применение
Автор заменил Tailscale на NetBird, чтобы иметь полностью самоуправляемую VPN‑сеть, интегрированную с собственным провайдером идентификации. Это позволило держать контроль над списком доступа в одной системе и избежать стороннего сервера управления.
Задача
Need a VPN that integrates with existing identity provider and keeps control plane self-hosted, avoiding a third‑party brain.
Результат
NetBird provides a self‑hosted, OIDC‑integrated mesh VPN that keeps all access control within the user’s own identity system, eliminating the need for a separate VPN account system.
Рабочий процесс
- 1. Install NetBird server and client on devices
- 2. Configure NetBird to use OIDC with existing IdP
- 3. Set dashboard to use ID token for authentication
- 4. Verify peer connectivity and DNS resolution across sites
- 5. Manage user/device offboarding through IdP
Доказательства
NetBird speaks OIDC to my existing self-hosted identity provider. So logging into the mesh is logging into everything else — same username, same 2FA, same place to revoke a person.
The token format gotcha. Wiring NetBird to my identity provider, the dashboard authenticated fine but API calls failed. The cause: my IdP was handing out opaque access tokens, and NetBird's dashboard needed a JWT.
- Дата записи: 2026-09-22T12:30:29.797Z