tailscale icon indicating copy to clipboard operation
tailscale copied to clipboard

iOS can't reach internet when connected to tailscale network without any exit nodes

Open soundalchemist opened this issue 1 year ago • 4 comments

What is the issue?

I have an issue similar to bug report #8806.

On my iphone SE V2, I had previously created a tailscale network with an exit node and that worked as expected. Now, I've created a new tailscale network without any exit nodes, and when connected to the vpn I am unable to reach the internet outside of the tailscale network. Disabling the network immediately enables connection to the internet at large, and vice versa.

Steps to reproduce

Create new tailscale network, connect iOS device, connect and disconnect to network.

Are there any recent changes that introduced the issue?

I added a few other clients: 1 ubuntu, 1 home assistant OS plugin, 2 MacOS and the 1 iphone in question.

OS

Linux, macOS, iOS

OS version

everything is updated. iphone is on 17.3

Tailscale version

ios version 1.58.2

Other software

No response

Bug report

BUG-b611a923db7ae1e27bf328c6992ccfe7f135f1843aceda0b98669daf71326dd9-20240128214722Z-df6e51dc977c9929

soundalchemist avatar Jan 28 '24 21:01 soundalchemist

I'm experiencing a similar issue, perhaps the same one. A few times since enabling Tailscale I have been unable to reach the internet on my iPhone. I think it occurs after the phone has been idle for some time.

It seems like the device can't reach the Tailscale DNS server, perhaps because the VPN tunnel has timed out. At one point while this was happening, I was able to ping the phone from my laptop over the tailnet and also access a web server running on my laptop by typing its tailnet IP into the browser, but not using its domain name.

I found that toggling VPN off/on from device settings resolves the issue temporarily.

p-lindberg avatar Jan 29 '24 12:01 p-lindberg

I am also experiencing a similar issue. However, I can't get any connectionto to my Tailnet when I enable Use DNS in the iOS Tailscale app. When I disable DNS and can ping all of the node, but can't use MagicDNS. Sometimes it will all work for a few moments, but then everything stops responding.

justinmartin avatar Feb 11 '24 14:02 justinmartin

@p-lindberg @justinmartin can you please attach a bug report identifier, and a date/time + timezone at which the issue occurred? Thanks.

agottardo avatar Feb 13 '24 22:02 agottardo

I created a bug report this morning.

BUG-4c71ea6041e86690cd28aea0c5300c535aab2f611833307364b0dcfc043136c0-20240214124631Z-7a82ad4656b586f4

It was happening last night at 6:04pm CST, 2024-02-13.

justinmartin avatar Feb 14 '24 12:02 justinmartin

My own repro: BUG-4f12dbf1c14e0d1ab236eab531eff35d0061a9fb53bcc6c113d70791e49b679f-20240224041535Z-db58c1963675f5b4

agottardo avatar Feb 24 '24 07:02 agottardo

My connection has been stable for the last few days now.

justinmartin avatar Feb 24 '24 21:02 justinmartin

We suspect there is a correlation between DNS usage and this issue. Turning off "Use Tailscale DNS Settings" in the app settings might help if anybody wants a quick workaround.

agottardo avatar Feb 24 '24 21:02 agottardo

No change here messing with the Tailscale iOS app dns settings.

On Sat, Feb 24, 2024 at 2:14 PM Andrea Gottardo @.***> wrote:

We suspect there is a correlation between DNS usage and this issue. Turning off "Use Tailscale DNS Settings" in the app settings might help if anybody wants a quick workaround.

— Reply to this email directly, view it on GitHub https://github.com/tailscale/tailscale/issues/10967#issuecomment-1962732785, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJKRS5GH3SG5BWUTXQ37PLYVJJ2RAVCNFSM6AAAAABCOPGOK6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRSG4ZTENZYGU . You are receiving this because you authored the thread.Message ID: @.***>

soundalchemist avatar Feb 24 '24 21:02 soundalchemist

OP here.

I purchased a cheap VPS and added an exit node to my tailscale network, and while using the exit node my iPhone is able to access the internet and tailscale network at the same time. Turning off the exit node restores the broken functionality.

On Sat, Feb 24, 2024 at 2:15 PM RE Wood @.***> wrote:

No change here messing with the Tailscale iOS app dns settings.

On Sat, Feb 24, 2024 at 2:14 PM Andrea Gottardo @.***> wrote:

We suspect there is a correlation between DNS usage and this issue. Turning off "Use Tailscale DNS Settings" in the app settings might help if anybody wants a quick workaround.

— Reply to this email directly, view it on GitHub https://github.com/tailscale/tailscale/issues/10967#issuecomment-1962732785, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJKRS5GH3SG5BWUTXQ37PLYVJJ2RAVCNFSM6AAAAABCOPGOK6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRSG4ZTENZYGU . You are receiving this because you authored the thread.Message ID: @.***>

soundalchemist avatar Mar 17 '24 20:03 soundalchemist