MacOS VPN on demand connects VPN but not Tailscale itself
What is the issue?
Initial state: Tailscale and VPN show disconnected:
Opening a Terminal and try to SSH in a Tailscale conencted device with it's MagicDNS hostname. On demand VPN seem to work and connect the VPN, but Tailscale itself stays disconnected and the connection is not possible:
When connecting Tailscale manually, the connection is possible.
Steps to reproduce
- Install Tailscale from MacOS appstore
- Enable VPN on demand
- Disable Tailscale / VPN
- Try to connect to a host with MagicDNS
Are there any recent changes that introduced the issue?
No response
OS
macOS
OS version
No response
Tailscale version
14.5
Other software
No response
Bug report
No response
Hi @itmokel, what do your Tailscale VPN On-Demand settings look like in Tailscale > Settings > Manage (VPN On-Demand)? For MagicDNS to trigger a connection, you'll need to set your Wifi and Ethernet settings to "Do nothing", and enable "Detect MagicDNS hostnames".
Hi @kelivel,
of course it is set like you mentioned ;):
And i guess it's partly working, otherwise MacOS would not trigger the VPN, but Tailscale is not connecting somehow. And there is no difference if i call the MagicDNS name from the terminal or browser, and no difference if i enable VPN on demand within the VPN settings themselfes. By the way, updated to Tailscale 1.66.3 from the AppStore and it's still the same.
I'm having the same issue on 1.68.1 from the Mac App Store.
I'm also having the same issue on 1.68.1 from the Mac App Store.
I am trying to access a web site via Safari using a MagicDNS hostname. I also tried via ssh. No luck. Perhaps we need to reboot?
I have the same issue with 1.80.1 (managed via MDM). I set up VPN on Demand to everything except my Company network, and every single time I see the same status - VPN setting says connected, Tailscale says disconnected, and VPN is actually not working (no DNS). Clicking the VPN status checkbox in the settings does nothing, it does not actually cause Tailscale to connect or disconnect.
Experiencing this too.
Other factors:
- I have 2 accounts on my client, both have these settings. I've tried disconnecting from them both, still doesn't connect on either.
- I have other wireguard configs installed, but I haven't used them in a little while and none are currently active
- I use LuLu, but I've tried disabling it and it doesn't make a difference.
Whatever is supposed to be starting the dns proxy on demand from the network extension doesn't seem to be triggering when I try to resolve a .ts.net host. I don't want to spend time debugging further without guidance on what to do here.
I'm running the standalone pkg version on osx 15.5 (24F74)