How Do I Use Tasker with OpenVPN Connect for Android?
Use the steps here to configure Tasker with the OpenVPN Connect app for Android 3.3.2 and newer.
Tasker can launch VPN connections autonomously when a profile doesn't require additional authorization steps or the user has previously saved connectivity credentials for the profile in Connect. Otherwise, the user is prompted to authenticate manually.
Tasker can control the following Actions:
Connect VPN (with specified profile).
Disconnect VPN.
Follow the steps below to set up Tasker for each Action above.
Step 1:
Open OpenVPN Connect.
Tap the Edit icon for the preferred profile.
Find the Profile ID at the bottom of the screen and tap the copy to clipboard icon.