[GH-ISSUE #5729] Kernel level wireguard support for MacOS #11697

Open
opened 2026-08-05 01:30:32 -04:00 by saavagebueno · 5 comments
Owner

Originally created by @robvanvolt on GitHub (Mar 29, 2026).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/5729

Is your feature request related to a problem? Please describe.
Currently, it does seem that only userspace wireguard is established on netbird on macos, in contrast to tailscale that uses a faster, and more robust kernel level implementation.

Describe the solution you'd like
Add kernel level wireguard support like Tailscale clients do.

Additional context
In sleep mode, wireguard kernel implementations still keep working, whereas userspace wireguard are "disconnected". Thus, you either have to disable sleep mode on MacOS clients to stay connected, or live with interrupted netbird connections.

Originally created by @robvanvolt on GitHub (Mar 29, 2026). Original GitHub issue: https://github.com/netbirdio/netbird/issues/5729 **Is your feature request related to a problem? Please describe.** Currently, it does seem that only userspace wireguard is established on netbird on macos, in contrast to tailscale that uses a faster, and more robust kernel level implementation. **Describe the solution you'd like** Add kernel level wireguard support like Tailscale clients do. **Additional context** In sleep mode, wireguard kernel implementations still keep working, whereas userspace wireguard are "disconnected". Thus, you either have to disable sleep mode on MacOS clients to stay connected, or live with interrupted netbird connections.
saavagebueno added the feature-request label 2026-08-05 01:30:32 -04:00
Author
Owner

@lixmal commented on GitHub (Apr 5, 2026):

A kernel wireguard module is not feasible at the moment.

How did you come to the conclusion that tailscale uses a kernel wireguard module? It doesn't

<!-- gh-comment-id:4189062402 --> @lixmal commented on GitHub (Apr 5, 2026): A kernel wireguard module is not feasible at the moment. How did you come to the conclusion that tailscale uses a kernel wireguard module? It doesn't
Author
Owner

@robvanvolt commented on GitHub (Apr 7, 2026):

Ah I thought the reason for have disconnectes with netbird when my macos devices sleep are because of the deeper implementation of tailscale... For example, tailscale is listed in the settings under "VPN", whereas netbird is not (while still both are connected to the corresponding selfhosted servers).

<!-- gh-comment-id:4197933335 --> @robvanvolt commented on GitHub (Apr 7, 2026): Ah I thought the reason for have disconnectes with netbird when my macos devices sleep are because of the deeper implementation of tailscale... For example, tailscale is listed in the settings under "VPN", whereas netbird is not (while still both are connected to the corresponding selfhosted servers).
Author
Owner

@jnfrati commented on GitHub (Apr 7, 2026):

@robvanvolt are you referring to this one? https://developer.apple.com/documentation/NetworkExtension

<!-- gh-comment-id:4198092228 --> @jnfrati commented on GitHub (Apr 7, 2026): @robvanvolt are you referring to this one? https://developer.apple.com/documentation/NetworkExtension
Author
Owner

@robvanvolt commented on GitHub (Apr 7, 2026):

Yes! And I assume this is the reason why the Netbird is disconnected when the Mac is asleep while the Tailscale works flawlessly (showing "connected" in the headscale server and is able to "wake" the Mac / connect to it over ssh / screen sharing).

<!-- gh-comment-id:4198176334 --> @robvanvolt commented on GitHub (Apr 7, 2026): Yes! And I assume this is the reason why the Netbird is disconnected when the Mac is asleep while the Tailscale works flawlessly (showing "connected" in the headscale server and is able to "wake" the Mac / connect to it over ssh / screen sharing).
Author
Owner

@lixmal commented on GitHub (Apr 20, 2026):

You might want to disable the sleep detector:

netbird service reconfigure --service-env "NB_DISABLE_SLEEP_DETECTOR=true"

once https://github.com/netbirdio/netbird/pull/5926 is released

<!-- gh-comment-id:4278115093 --> @lixmal commented on GitHub (Apr 20, 2026): You might want to disable the sleep detector: ``` netbird service reconfigure --service-env "NB_DISABLE_SLEEP_DETECTOR=true" ``` once https://github.com/netbirdio/netbird/pull/5926 is released
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#11697