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
Discover tether daemon IP via Bluetooth when mDNS is unavailable #287
Tether currently discovers the desktop daemon’s IP address using mDNS. However, on some public or restricted networks, mDNS is unavailable or unreliable, which can prevent the iPhone from establishing a connection.
What you would like instead
When the iPhone is connected to the tether daemon over Bluetooth, it should be able to obtain the daemon’s IP address through Bluetooth instead of relying on mDNS.
Alternatives you tried
There are several implementation considerations to address. The daemon may be present on multiple network interfaces. It should advertise all available interfaces, and the app can determine the correct interface by matching the iPhone’s IP address against the relevant subnet or network mask.
It is possible but the iOS app would have to incorporate the bluetooth connection, which today is purely on iOS itself (the app only speaks wifi). A network that blocks mdns is probably also blocking host-to-host communication tho? I think most corp routers do this now.
You can enter the IP manually in the app as a workaround temporarily.
Idea:
The daemon publishes all of its interface IPs over Bluetooth.
The app reads that list, picks the IP that's on the same subnet as the phone, and dials it directly.
App:
Add CoreBluetooth and the entitlements/perms (NSBluetoothAlwaysUsageDescription might be the only)
retrieveConnectedPeripherals(withServices:) should find it without a new pairing, if not it may not be worth it.
tetherd:
register a GATT service through bluez , (plus advertising if needed), that lists the interface IPs and port.
Security is still good because the mtls certs are still checked even if the IP came in over bluetooth.
Thanks @Bubbu0129 this is now submitted to the App Store after thorough local testing. But I may not have caught everything so if you find issues please re-open and let me know. Great feature.
Activity
zackb commentedon Oct 28, 2026
It is possible but the iOS app would have to incorporate the bluetooth connection, which today is purely on iOS itself (the app only speaks wifi). A network that blocks mdns is probably also blocking host-to-host communication tho? I think most corp routers do this now.
You can enter the IP manually in the app as a workaround temporarily.
Idea:
App:
retrieveConnectedPeripherals(withServices:)should find it without a new pairing, if not it may not be worth it.tetherd:
Security is still good because the mtls certs are still checked even if the IP came in over bluetooth.
docs: temporary bluetooth discovery plan (#287)
zackb commentedon Nov 6, 2026
Thanks @Bubbu0129 this is now submitted to the App Store after thorough local testing. But I may not have caught everything so if you find issues please re-open and let me know. Great feature.
It is:
iOS: 1.5.2
tetherd: 0.3.4