shahabaejaz / sshtunnel

Automatically exported from code.google.com/p/sshtunnel
GNU General Public License v3.0
0 stars 0 forks source link

Automation / create intents for Tasker #55

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What version of the product are you using? On what operating system?

sshtunnel 1.4.0
Android Cyanogenmod 7

Please provide any additional information below.

The widget is good for manual control, but it would be better to have automated 
control with the Tasker app.  Then users can define the functionality however 
they want.  Looks like several have asked for automation in the Market reviews. 
 (For instance, disable auto sync until I'm connected through a tunnel, disable 
SSHTunnel when connected to 3G with no data access, enable SSH Tunnel only in 
certain locations or at certain times, etc.)

Inputs: 
* Set profile
* Connect/disconnect
* Enable/Disable autoconnect?
* Mute/unmute notifications?

Output state: 
* Whether tunnel is currently working or in error

Instructions: http://tasker.dinglisch.net/developers.html

Original issue reported on code.google.com by omegat...@gmail.com on 15 Jun 2011 at 6:18

GoogleCodeExporter commented 8 years ago
Yup would be nice.. I want SSH-Tunnel to be runnning whenever I am on some WiFi 
which is not added to my list of "secure WiFis".

Original comment by etfa...@gmail.com on 28 Jan 2013 at 7:47

GoogleCodeExporter commented 8 years ago
Using: https://play.google.com/store/apps/details?id=jp.susatthi.ManifestViewer

I was able to find an intent: 
org.sshtunnel.SSHTunnelWidgetProvider.PROXY_SWITCH_ACTION

This does seem to work in toggling the tunnel on and off from tasker. I believe 
this is the same intent the widget sends? 

I don't know much about it, but hopefully that helps others.

Original comment by toxicbub...@gmail.com on 13 May 2014 at 2:16

GoogleCodeExporter commented 8 years ago
Great info, but how did you get it to work?  I cannot seem to get it to fire no 
matter what I do.

Also, it appears this has been removed in the latest beta available for 
download.  There's no widget, so no provider.

Original comment by tkarakas...@gmail.com on 13 May 2014 at 3:35

GoogleCodeExporter commented 8 years ago
I'd like to see this too - on my other devices I have Tasker configured to 
bring up OpenVPN under certain conditions, but that's not an option on my 
tablet, so I use SSHTunnel instead, but can't currently automate the process 
using Tasker.

The primary reason I want to do it through Tasker is that for certain tunnels, 
I may also want to change the DNS server that's in use (for example, to ensure 
that traffic originating from the endpoint is then routed over a VPN tunnel). 

Original comment by b...@bentasker.co.uk on 20 Jan 2015 at 1:02