Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    OpenVPN Connect via LTE Only

    Scheduled Pinned Locked Moved OpenVPN
    3 Posts 1 Posters 1.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R Offline
      rnatalli
      last edited by

      Hi all,

      I currently use OpenVPN to access my home network, but don't require when I'm on my LAN.  I tried setting the "Connect via" setting in the OpenVPN app settings on my iPhone to "Cellular Only" but when I do so, my iPhone will no longer switch back to WiFi when the VPN is active on the LTE connection. Anyone encounter this issue?

      1 Reply Last reply Reply Quote 0
      • R Offline
        rnatalli
        last edited by

        It seems one of my settings was causing this behavior not allow OpenVPN to switch back to WiFi.  I took the following out of my config file:

        persist-tun
        keepalive 10 60
        float
        redirect-gateway def1

        Seems to work now, but any ideas as to which of these settings would have prevented the OpenVPN IOS app from switching back to WiFi from LTE while connected to the VPN?

        1 Reply Last reply Reply Quote 0
        • R Offline
          rnatalli
          last edited by

          Ok, I've narrowed this down.  It seems the redirect-gateway command is what's preventing IOS from switching from cellular to WiFi when "Cellular Only" is enabled in the OpenVPN settings.  Any thoughts?

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.