OpenVPN on Android with automate

Post Reply
spakus
OpenVpn Newbie
Posts: 1
Joined: Fri Jul 26, 2019 5:31 pm

OpenVPN on Android with automate

Post by spakus » Fri Jul 26, 2019 5:38 pm

I try to automatically run a OpenVPN connection on an Android device with automate and the following settings:

Code: Select all

PACKAGE: fx ="net.openvpn.openvpn"
ACTIVITY CLASS: fx ="net.openvpn.unified.MainActivity"
Action: View
DATA URI: (empty)
MIME TYPE: (empty)
CATEGORY: (don't select)
EXTRAS: {"net.openvpn.openvpn.AUTOSTART_PROFILE_NAME": "PC vpnconnect", "net.openvpn.openvpn.AUTOCONNECT" as Boolean: 1, net.openvpn.openvpn.APP_SECTION": "PC"}
FLAGS: (don't select)
CHOOSER: not checked
The name of my profile is "vpnconnect". When I start the workflow it opens the connection overview in the OpenVPN app but it does not establish the connection automatically.

Can someone help on this?

CasperDik
OpenVpn Newbie
Posts: 1
Joined: Sun Jan 10, 2021 11:46 am

Re: OpenVPN on Android with automate

Post by CasperDik » Sun Jan 10, 2021 12:00 pm

I have used the following setttings


{ "net.openvpn.openvpn.AUTOSTART:PC": "profile name as it appears", "net.openvpn.openvpn.AUTOCONNECT" as Boolean: 1, "net.openvpn.openvpn.APP_SECTION": "PC" }

And I had selectedRun and not View.

In my case the "profile as it appears" is "vpn.server.dns [caspers-phone]"

But thanks ; I was seeing if I can go from Llama to Automate and I was never able to start and stop the VPN wit Llama; but you were very close to automate it in Automate.

It seems you also missed a " for ...APP_SECTION"

Post Reply