Skip to content

Moving from LAN WiFi to LTE mobile devices loose route through exit node. #8691

Closed as not planned

Description

@picree

What is the issue?

If I am on my WiFi I can route to the Internet via my exit node. But if my phone leaves WiFi and is on LTE the exit node no longer can route to the Internet UNLESS I disconnect from the VPN via the phone's TS app from the VPN and then reconnect while still on LTE.

Steps to reproduce

While on WiFi connect to VPN with exit node selected. Check IP address on Internet to confirm home ISP IP address. Turn off WiFi and allow phone to switch to Verizon LTE. Check IP address - no connectivity. Disconnect phone from VPN via TS app. Check IP address on Internet to confirm Verizon IP. Connect to VPN via TS app. Check IP address on Internet to confirm home ISP IP address. I can now connect to the internet via the exit node with my home ISP IP address.

Are there any recent changes that introduced the issue?

I think this was an issue for me on 1.44 and is now confirmed to remain on 1.46. Also confirmed the same issue on another iPhone. I disconnected the iPhone, logged out, deleted the app, deleted the machine from the Admin Console, reinstalled 1.46 on the phone, reconnected the phone to my VPN network via the Admin Console but the problem remains.

OS

Mac, iOS, Linux

OS version

16.5.1 (c )

Tailscale version

1.46

Other software

Exit node is running 1.46 on an EdgeRouter X. It properly has routes turned on and is advertising its exit node. Checking Tailscale status via CLI produces no errors and responds with the expected results. Switching from LTE back to WiFi does not present any connectivity issues.

Bug report

BUG-41ee70ee7640fbc5f542aacf6995c117f7fa9f4f2120474a73a0f3fdde5c7564-20230723163051Z-99d14686554779ca

Activity

  1. picree commented on Jul 24, 2023

    @picree
    Author

    Edited: TS can use my home exit node if I am 1) on my local Wi-Fi or 2) on another Wi-Fi transiting through the internet to get to my Wi-Fi. TS cannot use my exit node if I move to LTE. To use the exit node I have to disconnect/connect in the TS app while on LTE. Then I can use the exit node.

  2. snachx commented on Aug 17, 2023

    @snachx

    I have encountered the same problem, maybe the same as #6075 #8022 #8283

  3. picree commented on Aug 22, 2023

    @picree
    Author

    Issue remains after updating exit node and other machines on the TS network to 1.48.1. As @snachx says above it sounds related to other open bugs (specifically #8022 )

    Including new bug report code from today:
    BUG-41ee70ee7640fbc5f542aacf6995c117f7fa9f4f2120474a73a0f3fdde5c7564-20230822021838Z-240500693d2eea1c

  4. l4kr commented on Oct 1, 2023

    @l4kr

    This is easily fixable (atleast for the time being) by making tailscale restart whenever there's a network change in iOS. Why is it not implemented like that?

  5. crypt0rr commented on Oct 2, 2023

    @crypt0rr

    This is easily fixable (atleast for the time being) by making tailscale restart whenever there's a network change in iOS. Why is it not implemented like that?

    How can you implement this for the time being? Automation!

    Create an automation based on Wi-Fi behavior. When Wi-Fi disconnects > Restart Tailscale

  6. r3n3x commented on Dec 15, 2023

    @r3n3x

    This is easily fixable (atleast for the time being) by making tailscale restart whenever there's a network change in iOS. Why is it not implemented like that?

    How can you implement this for the time being? Automation!

    Create an automation based on Wi-Fi behavior. When Wi-Fi disconnects > Restart Tailscale

    I have tried the AUTOMATION for iOS but while on mobile data when encountering short coverage/connection drops, I loose internet connectivity SOMETIMES when using TS with EXIT NODE.

    The Automation doesn't catch that and then I stay "offline" for a long time until I notice that my phone became so quiet...

    For quasi-VPN on mobile I noticed that Cloudflare 1.1.1.1 Warp+ works very smoothy with connection changes and connectivity drops. There could be something TS can learn from the 1.1.1.1 app perhaps? Not sure what's their different approach.

  7. picree commented on Dec 15, 2023

    @picree
    Author

    OP here: correction to this post. After more usage the behavior remains. For now I set up an automation on iOS as recommended above. It works but is a cluge. Especially if using VPN on Demand.

    I completely uninstalled TS from the ER X, rebooted, and removed the machine from the tailnet. I reinstalled TS 1.54.1 on the ER X and added the new machine to the tailnet. Issue seems to be resolved. Sorry - don't know if it was the complete reinstall or the update to 1.54.1. Anyone else having the issue I would recommend a complete uninstall/reboot/reinstall on the exit node.

  8. added
    connectivity
    L1 Very few
    P2 Aggravating
    T5 Usability
    and removed on Dec 15, 2023
  9. agottardo commented on Jan 5, 2024

    @agottardo
    Contributor

    Duplicate of #8022

    Fixed in Tailscale 1.57.44

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    L1 Very fewP2 AggravatingT5 Usabilitybugconnectivity

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions