longzuyuan / ics-openvpn

Automatically exported from code.google.com/p/ics-openvpn
0 stars 0 forks source link

Feature Request: produce a plugin for Tasker #88

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

First please read: http://tasker.dinglisch.net/developers.html

A possible aim of developing a plugin for tasker is to open an openvpn ssl on 
an automated task the user want.

Example: Tasker know that, I'm not at home and it's time to synchronise my 
owncloud agenda, launch openvpn then do sync and after sync close openvpn 
tunnel.

What mobile phone are you using?
Samsung Galaxy S i9000

Which Android Version and stock ROM or aftermarket like cyanogenmod?
Cyanogenmod 9

Please have a look,

Thank you.

Original issue reported on code.google.com by gilles.l...@gmail.com on 7 Sep 2012 at 1:40

GoogleCodeExporter commented 9 years ago
First of all I do not object a Tasker integration or support. But my motivation 
to spend my spare time on developing a Tasker plugin is very low. I will try to 
explain my reasons below

I personally don't use Tasker. 

Developing a plugin requires me first to purchase the app and then develop this 
plugin which may generate more sales of Tasker.  I don't object the idea of 
commercial software but I don't like the idea of spending time to improve the 
commerical software for free.

Original comment by arne@rfc2549.org on 7 Sep 2012 at 1:56

GoogleCodeExporter commented 9 years ago
I understand.  So is there a way to launch a certain conection as on Linux
?
Le 7 sept. 2012 15:56, <ics-openvpn@googlecode.com> a �crit :

Original comment by gilles.l...@gmail.com on 7 Sep 2012 at 2:02

GoogleCodeExporter commented 9 years ago
Yes see http://code.google.com/p/ics-openvpn/source/browse/README.txt

Original comment by arne@rfc2549.org on 7 Sep 2012 at 9:43

GoogleCodeExporter commented 9 years ago
Thank you for this information.
From now I can start openvpn by shell but there are two problems.
Could i bypass the about box ? If not it's a problem as openvpn won't start
until alertbox is closed.

How to stop openvpn not in a hugly way ?
I'm not a developper but i try to see in source if there is afhn
instruction, but don't find.
Could you help me, promise you it's the last time i disturb you.
Gilles.
Le 7 sept. 2012 23:24, <ics-openvpn@googlecode.com> a �crit :

Original comment by gilles.l...@gmail.com on 8 Sep 2012 at 12:00

GoogleCodeExporter commented 9 years ago
For the alert see the faq. I don't really know what you mean by about box.

At the meoment there is no way to stop openvpn remotely

Original comment by arne@rfc2549.org on 10 Sep 2012 at 3:20

GoogleCodeExporter commented 9 years ago
How difficult would it be for you to support intents to start or stop a named 
VPN?  That would work with various things, and doesn't require any specific 
connection to any other apps.

The use case here is to not have OpenVPN running 24/7, especially on the home 
connection, or tethering to the phone, etc...  But on any other wifi, have it 
connected.  Tasker can do this easily, all that's needed is intents to do it.

A plugin would be a "nice to have", but would require some amount of 
development specific to Tasker.  Documented intents would be sufficient for 
most Tasker users.

Hope you consider this!  Thanks!

Original comment by khayt...@gmail.com on 10 Sep 2012 at 3:26

GoogleCodeExporter commented 9 years ago
Yes I planning on doing this. But when OpenVPN is controllable by other 
applications there needs to be some security otherwise Openvpn may suffer the 
confused deputy problem.

Original comment by arne@rfc2549.org on 10 Sep 2012 at 7:59

GoogleCodeExporter commented 9 years ago
Matt R from the Tasker forums gave me this great tip, and it works to start the 
VPN, I'd still like a way to exit the VPN from Tasker, I'll probably look into 
that more today.

https://play.google.com/store/apps/details?id=com.joaomgcd.autoshortcut

Plugin for Tasker, insert it, hit the Edit button, pick OpenVPN for Android, 
select your profile.  Works great to launch, although of course does still have 
the message box about trusting and connecting, but at least it's all automated 
to launch that now.

Original comment by khayt...@gmail.com on 26 Sep 2012 at 12:03

GoogleCodeExporter commented 9 years ago
Using AutoShortcut plugin for Tasker works great.  Did you ever find a way to 
close the VPN from Tasker or something else?  I'm trying to use NFC Task 
Launcher with a switch task to start and stop the VPN by scanning a tag.

Original comment by jcampbel...@gmail.com on 4 Jan 2013 at 5:10

GoogleCodeExporter commented 9 years ago
This is a big one for me. I want to be able to use NFC Task Launcher (and 
Tasker if necessary) to have a NFC tag at my desk at work that toggles Wifi & 
my workplace's OpenVPN connection, for use with my tablet & phone.

Original comment by Inv4dr...@gmail.com on 7 Feb 2013 at 5:16

GoogleCodeExporter commented 9 years ago
I have written a Tasker plugin that uses the new remote control API: 'OpenVPN 
Tasker Plugin' try out the beta version 
https://plus.google.com/communities/116428085199828433253.

Note: it requires at least version 0.6.37+ of the OpenVPN for Android app, 
which is only released as a beta at this stage - 
https://plus.google.com/communities/114121831091105660092.

Ffrog Apps

Original comment by ffrog.a...@gmail.com on 8 Jun 2013 at 3:10