No VPN actions?

roughnecks

Active member
Thanks but I have a VPN already set up within Android settings, I don't think I need a client to do what I'm already doing..
 

roughnecks

Active member
There you are.
 

Attachments

  • IMG_20220120_230609.jpg
    IMG_20220120_230609.jpg
    45.5 KB · Views: 46
  • IMG_20220120_230638.jpg
    IMG_20220120_230638.jpg
    50.9 KB · Views: 41

dsnz

Well-known member
lol, I had forgotten these settings long time ago ...
(perhaps because they are of lower security)
unfortunately I don't know a way for this
 

roughnecks

Active member
Seems weird MD can do most of the networking stuff but completely misses a vpn switch (ON/OFF).
Maybe it just can't do it..
 

dsnz

Well-known member
no app can mess with settings and internal android operations unless

- there is an Android API for this (and I think there isn't, not sure though,
the https://developer.android.com/guide/topics/connectivity/vpn is an API to make your own vpn service, there is also a device policy app which completely manages your device and is intended for company devices)

- there are public intents available (and again seems there aren't)

so, I don't know how could be possible except by UI interaction
 

roughnecks

Active member
I see, well I'm not going through UI Interaction anymore - at least not on this phone - so I'll just do as I always did.. manually (y)
 

MacroDroidDev

Administrator
Staff member
I'm not aware there is any generic catch all solution to turn a VPN on/off from another app. If anyone knows different then please let me know.
 

tanutanu

Well-known member
I see, well I'm not going through UI Interaction anymore - at least not on this phone - so I'll just do as I always did.. manually (y)
The plugin or intent might help you if you don't mind to use openVPN alternatively, the OP said it didn't work though:unsure:
 

roughnecks

Active member
The plugin or intent might help you if you don't mind to use openVPN alternatively, the OP said it didn't work though:unsure:

OpenVpn Tasker Plugin: Updated 17 November 2014​

NOTE: The app is not compatible with with version 0.6.21 of OpenVPN for Android please use a different version

OpenVPN Current Version: 0.7.29
 

tanutanu

Well-known member

OpenVpn Tasker Plugin: Updated 17 November 2014​

NOTE: The app is not compatible with with version 0.6.21 of OpenVPN for Android please use a different version

OpenVPN Current Version: 0.7.29
So it is working for me.
 

Attachments

  • IMG_20220122_010805.jpg
    IMG_20220122_010805.jpg
    119.9 KB · Views: 47
  • IMG_20220122_010907.jpg
    IMG_20220122_010907.jpg
    131.3 KB · Views: 44
  • IMG_20220122_010936.jpg
    IMG_20220122_010936.jpg
    246.4 KB · Views: 40
Top