OpenVPN

by Nathan Flory

Version 1 (November 22, 2021)

Download (934 downloads)

[Premium required, no root needed]

UPDATE: this flow stopped working after an Android update and I have stopped supporting it. I have since created AutoVPN with the same features using WireGuard VPN. Check it out at:
https://llamalab.com/automate/community/flows/40960

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.

Issues:
- 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.

4.2 average rating from 9 reviews

5 stars
4
4 stars
3
3 stars
2
2 stars
0
1 star
0
Reports
0

Rate and review within the app in the Community section.