alexx13 / tunnelblick

Automatically exported from code.google.com/p/tunnelblick
0 stars 0 forks source link

Feature request: Location-specific configurations. #174

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Thanks for all the awesome work you do on tunnelblick.  I love using it.  
Here's an idea for a feature that would be super-cool:

I'd like it so that when I switch my "location" over to my work location, 
Tunnelblick automatically disconnects, and then re-connects when I switch over 
to something else.   

This is because when I'm actually in my office, I don't need to make a VPN to 
my office, and in fact, the routing tables get all messed up when it tries.

If there was some way that I could configure Tunnelblick to do certain actions 
such as connect or disconnect a particular connection configuration based on my 
current location selection, that would be great!

All the best,
-Dan

Original issue reported on code.google.com by dwright...@gmail.com on 1 Feb 2011 at 7:07

GoogleCodeExporter commented 8 years ago
I recommend using MarcoPolo for location awareness : 
http://www.symonds.id.au/marcopolo/

But for this to work, Tunnelblick would need e.g. an AppleScript interface that 
does not yet exist - but wouldn't be to hard to implement (connect, disconnect 
actions should suffice).

Regards Marco

Original comment by masc...@gmail.com on 1 Feb 2011 at 8:59

GoogleCodeExporter commented 8 years ago
I've just made the source-code changes to support AppleScript. A description 
and a binary for testing is available at

https://groups.google.com/d/topic/tunnelblick-discuss/U18uQEYbnUQ/discussion

Original comment by jkbull...@gmail.com on 8 Feb 2011 at 6:07

GoogleCodeExporter commented 8 years ago

Original comment by jkbull...@gmail.com on 2 Apr 2011 at 6:57