[GH-ISSUE #1849] dark API endpoint / two layer vpn #3332

Open
opened 2026-08-05 00:51:53 -04:00 by saavagebueno · 2 comments
Owner

Originally created by @aep on GitHub (Apr 16, 2024).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/1849

We're looking into contributing the following feature:

Currently the API endpoint to bootstrap the VPN is on the public Internet. Wireguard has the huge advantage that it's invisible until you know the key. With net bird we're loosing that.

Letsencrypt is easily tricked into breaking tls for any mitm, so we use mtls or pinning for security related things. https://notes.valdikss.org.ru/jabber.ru-mitm/

Ideally we'd have the ability to hide the entire API behind wireguard itself, which avoids a whole category of issues. But would involve a two-stage login where some services (like login) need to be available to a user before oauth.

There's some solutions we can come up with if there's a general willingness to accept a PR for it.

Originally created by @aep on GitHub (Apr 16, 2024). Original GitHub issue: https://github.com/netbirdio/netbird/issues/1849 We're looking into _contributing_ the following feature: Currently the API endpoint to bootstrap the VPN is on the public Internet. Wireguard has the huge advantage that it's invisible until you know the key. With net bird we're loosing that. Letsencrypt is easily tricked into breaking tls for any mitm, so we use mtls or pinning for security related things. https://notes.valdikss.org.ru/jabber.ru-mitm/ Ideally we'd have the ability to hide the entire API behind wireguard itself, which avoids a whole category of issues. But would involve a two-stage login where some services (like login) need to be available to a user before oauth. There's some solutions we can come up with if there's a general willingness to accept a PR for it.
saavagebueno added the feature-request label 2026-08-05 00:51:53 -04:00
Author
Owner

@mlsmaycon commented on GitHub (Apr 16, 2024):

@aep we would love to discuss your concerns and feature proposal. Would you join our slack workspace and reach out?

<!-- gh-comment-id:2058343584 --> @mlsmaycon commented on GitHub (Apr 16, 2024): @aep we would love to discuss your concerns and feature proposal. Would you join our [slack workspace](https://join.slack.com/t/netbirdio/shared_invite/zt-vrahf41g-ik1v7fV8du6t0RwxSrJ96A) and reach out?
Author
Owner

@PizzaLovingNerd commented on GitHub (May 27, 2026):

We’re closing this as stale since there hasn’t been follow-up activity since April 2024. If this is still important, please reopen it as a GitHub Discussion (not an issue).

Thanks!

<!-- gh-comment-id:4559437931 --> @PizzaLovingNerd commented on GitHub (May 27, 2026): We’re closing this as stale since there hasn’t been follow-up activity since April 2024. If this is still important, please reopen it as a [GitHub Discussion](https://github.com/netbirdio/netbird/discussions) (not an issue). Thanks!
Sign in to join this conversation.
No Label feature-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#3332