FORUMS
Remove All Ads from XDA

OpenVPN 3.0.X - Connect and Disconnect with Tasker (Solution)

654 posts
Thanks Meter: 581
 
By mmotti, Senior Member on 16th February 2018, 01:03 PM
Post Reply Email Thread
18th February 2018, 11:53 PM |#11  
Senior Member
Flag Orange County, California
Thanks Meter: 152
 
More
Thank you for this. BIG help.

I was wondering if anybody out there has a profile for disconnecting from OpenVPN but only after wifi has been in disconnected state for 30 seconds?

Thanks.
 
 
22nd February 2018, 11:02 AM |#12  
Member
Thanks Meter: 9
 
More
Quote:
Originally Posted by jvillasante

As another workaround for OpenVPN Connect staying in the foreground on Disconnect I added this tasks to my disconnect profile
Wait 5 seconds
Go Home

Tasker has a Go Home task built in that effectively works for this use case!

Thanks to the OP and thanks to you,excellent info
15th March 2018, 04:53 PM |#13  
Member
Thanks Meter: 15
 
More
Thanks for sharing, i was quite annoyed by that update.
Made my day
The Following User Says Thank You to LegnaDegna For This Useful Post: [ View ] Gift LegnaDegna Ad-Free
16th March 2018, 03:37 PM |#14  
Junior Member
Thanks Meter: 0
 
More
Hi.
Thank you for this.
Maybe i am just to noobish for this, but how do you make the command "Actions"?
Is that Secure settings?
16th March 2018, 04:30 PM |#15  
mmotti's Avatar
OP Senior Member
Thanks Meter: 581
 
More
Quote:
Originally Posted by betahelix

Hi.
Thank you for this.
Maybe i am just to noobish for this, but how do you make the command "Actions"?
Is that Secure settings?

I originally followed a guide here: https://collinmbarrett.com/android-tasker-openvpn/

That should tell you where to find the necessary actions.

Use the updated values in OP instead of those listed on the site, though.
26th March 2018, 09:27 PM |#16  
Senior Member
Flag Landskrona
Thanks Meter: 94
 
More
Quote:
Originally Posted by mmotti

I originally followed a guide here: https://collinmbarrett.com/android-tasker-openvpn/

That should tell you where to find the necessary actions.

Use the updated values in OP instead of those listed on the site, though.

First of all, thank you for this post.
Currently I'm using "go home" to "close" open vpn after disconnect.

Latest change log says "* added minimize app on disconnect shortcut feature"
Do you think we can use it in Tasker somehow to natively minimize the app after disconnect?

Sent from my Pixel 2 using Tapatalk
26th March 2018, 09:33 PM |#17  
mmotti's Avatar
OP Senior Member
Thanks Meter: 581
 
More
Quote:
Originally Posted by rodak

First of all, thank you for this post.
Currently I'm using "go home" to "close" open vpn after disconnect.

Latest change log says "* added minimize app on disconnect shortcut feature"
Do you think we can use it in Tasker somehow to natively minimize the app after disconnect?

I was using: wait 1 second and go home.

After updating, it actually closes itself automatically now. It happens very quickly - I don't even see the OpenVPN UI.
The Following User Says Thank You to mmotti For This Useful Post: [ View ] Gift mmotti Ad-Free
26th March 2018, 09:34 PM |#18  
Senior Member
Flag Landskrona
Thanks Meter: 94
 
More
Quote:
Originally Posted by mmotti

I was using: wait 1 second and go home.

After updating, it actually closes itself automatically now. It happens very quickly - I don't even see the OpenVPN UI.

Thanks, will try it out.
Edit: It worked perfectly, maybe time to update the original post?

Sent from my Pixel 2 using Tapatalk
26th March 2018, 11:00 PM |#19  
mmotti's Avatar
OP Senior Member
Thanks Meter: 581
 
More
Quote:
Originally Posted by rodak

Thanks, will try it out.
Edit: It worked perfectly, maybe time to update the original post?

I popped an edit in there
The Following User Says Thank You to mmotti For This Useful Post: [ View ] Gift mmotti Ad-Free
20th April 2018, 08:56 AM |#20  
Member
Thanks Meter: 7
 
More
Quote:
Originally Posted by mmotti

I popped an edit in there

Hello,

I am using Automate its pretty much the same in terms of use like tasker.
But it's free and you Programm flows. But when I try this without using the back back option the disconnect interface didn't close it self.
Did you comment something new in the action blocks?

Gesendet von meinem G8341 mit Tapatalk
20th April 2018, 10:12 AM |#21  
mmotti's Avatar
OP Senior Member
Thanks Meter: 581
 
More
Quote:
Originally Posted by 9_Mad-Max_5

Hello,

I am using Automate its pretty much the same in terms of use like tasker.
But it's free and you Programm flows. But when I try this without using the back back option the disconnect interface didn't close it self.
Did you comment something new in the action blocks?

Gesendet von meinem G8341 mit Tapatalk

I didn't make any changes other than removing the 'go home' option.

Are you on OpenVPN Connect version 3.0.4?
Post Reply Subscribe to Thread

Tags
3.0.0, openvpn, solution, tasker

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes