Viscosity. OpenVPN client. For Mac.  
 
 

Feature Request: SSH Tunnel prior to tunnel connect

Suggestions/comments/criticisms are welcome here

Feature Request: SSH Tunnel prior to tunnel connect

Postby hyper » Tue Feb 15, 2011 12:13 am

Hi,

I am a very frequent Viscosity user and I really like the software, great work!

The way I operate is to first establish an SSH tunnel with some port forwards to servers within my company domain.
I then use Viscosity to connect to localhost to establish a connection to these ports, it essentially becomes an OpenVPN tunnel inside an SSH tunnel scenario.

Would it be possible to add the option of preceding the actual OpenVPN tunnel establishment with the creation of an SSH tunnel?
hyper
 
Posts: 3
Joined: Mon Feb 14, 2011 11:49 pm

Re: Feature Request: SSH Tunnel prior to tunnel connect

Postby James » Tue Feb 22, 2011 3:59 am

Hi hyper,

As you found in this thread, you should be able to create a "Before Connect" script to establish the SSH the tunnel for you. Before Connect scripts are a little different to the Connected/Disconnected scripts, as Viscosity waits for the script to finish before continuing with the connection attempt. This means you shouldn't have any problem creating a script to establish your SSH tunnel: Viscosity will wait until your script is done (and hence your tunnel created) before trying to establish a VPN connection.

You can find some information for working with AppleScripts at:
http://www.thesparklabs.com/support/run ... when_conn/

Cheers,
James
User avatar
James
 
Posts: 947
Joined: Thu Sep 04, 2008 10:27 pm

Re: Feature Request: SSH Tunnel prior to tunnel connect

Postby hyper » Fri Feb 25, 2011 6:39 pm

Thanks James, great support!
hyper
 
Posts: 3
Joined: Mon Feb 14, 2011 11:49 pm


Return to Viscosity Feedback

Who is online

Users browsing this forum: No registered users and 0 guests



 
 
 
 
Navigate

Home
Applications
Blog
About
Support
  Support

Support Home
Documentation
Knowledge Base
Forum
  Community

Blog
Forum
Twitter
Viscosity
Viscosity Server


 
 
SparkLabs Copyright © SparkLabs. All Rights Reserved.