mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-28 10:18:51 +00:00
I realized we had the right approach in the comments on PR #2967, but had a bug in the implementation. This implements that approach. Tested to work under the following scenarios: - macOS with Ethernet and WiFi connected - Disable Ethernet adapter -> ✅ - Disable WiFi (no internet) -> Enable WiFi -> ✅ - Enable Ethernet adapter -> Disable WiFi -> ✅ - Disable both Ethernet and WiFi -> Enable WiFi -> ✅ - Switching WiFi networks -> ✅ - iOS with WiFi and cellular connected - Disable WiFi -> ✅ - Disable cellular -> ✅ - Disable both WiFi and cellular -> Enable WiFi -> ✅ - Switching WiFi networks -> ✅ Under all of the tests above, Split DNS with connlib worked reliably after the `onTunnelReady` callback completed.