Connect and disconnect "OpenVPN for Android"

by Zed

Version 1 (August 20, 2017)

Download (236 downloads)

Connects to VPN when you are not on the specified WiFi connection, and disconnects when you are.
Step 0. This ONLY works with "OpenVPN for Android"
Step 1. Edit the WiFi SSID to be yours. It obviously wont work for you on mine.
Step 2. Edit the bottom right shell command, at the end of the command it says "shortcutProfileName AirVPN-blahblah" modify "AirVPN-blahblah" to be the name of your VPN profile within OpenVPN for Android.
Step 3. Profit.