You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Desktop no longer offers a pairing link for a NetBird (non-Tailscale VPN) address since #15753 #41053
macOS host with the T3 Code desktop app (0.1.11), Network access on. NetBird is the only VPN (utun100, an address in 100.64.0.0/10). Tailscale is not installed.
Open Settings → Sharing & access and create a pairing link.
Look at the addresses offered for the link.
Expected behavior
The host's NetBird address is offered for pairing, labelled VPN. The clients already have this route kind and label (#17158).
Actual behavior
The list offers loopback, one LAN address, and Tailscale. There is no link or QR code for the NetBird address, and no error or hint. A device that is away from the LAN cannot be paired from the desktop UI.
This is a regression. Before #15753 the NetBird address was listed under Tailscale, and pairing an iPad and an iPhone over NetBird worked. NetBird is a WireGuard mesh VPN like Tailscale and uses the same 100.64.0.0/10 range. The server still accepts connections from that range, and the devices paired earlier kept working over NetBird until their sessions expired. Only the way to create a new pairing over that address is gone.
Diagnosis
fix(desktop): exclude unrelated VPN addresses from Tailscale pairing #15753 (apps/desktop/src/backend/tailscaleEndpointProvider.ts) correctly stopped labelling other VPNs as Tailscale: an address in 100.64.0.0/10 is listed only when the interface is a Tailscale interface or tailscale status names the address.
Nothing lists the excluded addresses instead. resolveLanAdvertisedHost in apps/desktop/src/backend/DesktopServerExposure.ts picks one LAN address and prefers interfaces that are not utun, so the NetBird address is never chosen while a LAN address exists.
The server does report the address: resolveBoundEndpoints in apps/server/src/environment/DirectEndpoints.ts returns it with kind lan, so a device paired over the LAN can learn it as a VPN route.
Environment
Host: macOS (arm64), T3 Code desktop 0.1.11, NetBird 0.82.0 (userspace WireGuard), no Tailscale.
Activity