by Nathan Flory
[Premium required, no root needed]
Automatically connect to a VPN when connecting to an untrusted Wi-Fi network. Automatically disconnects from the VPN when connected to a trusted network or disconnected from Wi-Fi.
You get to choose which networks to trust. A notification is displayed to indicate the VPN status and allow you to change the trustworthiness of a network.
Disconnection from the VPN occurs after a one-minute delay to handle brief Wi-Fi interruptions.
This flow is only designed to work with the OpenVPN for Android app. Ensure it is installed and at least one VPN profile has been setup.
- Connection or disconnection causes the OpenVPN app to be displayed briefly. I haven't figured out how to do this in the background yet.
- Phones that automatically connect to a Wi-Fi hotspot or network that requires a sign-in banner sometimes causes a loss of connectivity as the VPN starts before the sign-in has completed. Android does not distinguish between connectivity states, so I haven't found a workaround yet.
Rate and review within the app in the Community section.