4 ms·
Sounds like it may have been an issue with the remote end of the VPN tunnel then. I've been connected to VPN for days at a time, switching between Wi-Fi and cel
by RKearney 9y ago
Sounds like it may have been an issue with the remote end of the VPN tunnel then. I've been connected to VPN for days at a time, switching between Wi-Fi and cellular (including switching between IPv4-only, IPv6-only, and dual-stack networks), and have never had an issue with the device automatically re-establishing the VPN tunnel.
Of course things could have also just improved over time.
- walterbell 9y agoWhich VPN provider or enterprise gateway? Does your VPN Profile have an "Always-On" setting? That's only available on managed devices and it ensures that no traffic is passed unless the device is connected to a VPN, which is what causes the VPN to automatically reconnect. If you have a standalone VPN app, it may also reconnect silently. But the system VPN does not stay reliably connected across device sleep and network status changes.
- kccqzy 9y agoYou don't need managed devices. You just need to configure the VPN in the Configurator app and push a profile to your device. Though there are still some manual plist editing required to get this working.
- walterbell 9y agoAlways-on VPN is possible on non-Supervised devices? Would appreciate a pointer to the relevant XML tags. Is it selectable, e.g. can you have multiple VPN profiles and then toggle (in Settings) which profile is Always-On?
- astrange 9y agoIt's not possible, but you can use VPN on Demand and it should solve the work VPN problem.
- kccqzy 9y agoIf I remember correctly you just specify the OnDemandRules key and make its value an empty array. Yes I have multiple VPN profiles and all of them allows me to specify in Settings whether to "connect on demand."
- walterbell 9y agoThanks!