dark API endpoint / two layer vpn #798

Open
opened 2025-11-20 05:17:45 -05:00 by saavagebueno · 1 comment
Owner

Originally created by @aep on GitHub (Apr 16, 2024).

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). 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 2025-11-20 05:17:45 -05: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?

@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?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#798