Viscosity 1 7 12 – Graphical User Interface For Openvpn

Viscosity VPN Helper 1.1

Configure your own one-click-starter for Viscosity VPN connections and programs
Viscosity offers an option to start shell scripts right after connection/disconnecting using OpenVPN commands, see this post for more information http://www.viscosityvpn.com/forum/viewtopic.php?p=554#p554.
But if you have to launch a special VPN connection before you can use programs like Hulu Desktop or the BBC iPlayer it is really annoying that you have to go to the menu, launch the VPN connection, wait for the connection to be established and then launch your program - and if you quit your program you have to manually disconnect the VPN connection again.
Things become even more annoying if you use your Mac as a media center and you are forced to do all these steps with the remote control.
With Viscosity VPN Helper you only have to do these steps once.After the initial configuration Viscosity VPN Helper
  • connects to your VPN server,
  • starts your desired program and
  • -after you have quit the program- automatically disconnects from the VPN server.

All with just one click.
After initiating the connection Viscosity VPN Helper checks every minute if your program is still running and closes the VPN connection if it is no longer needed.
You can have more than one copy of Viscosity VPN Helper each one for a special VPN server/program pair - and if you use a Remote Application like RemoteBuddy you can launch the Viscosity VPN Helper copies with one click from your remote.

Download: Viscosity VPN Helper 1.1

(about 33 KB)

Viscosity VPN Toggler

If you only want to connect and disconnect your VPN server from within RemoteBuddy with one single click you can use Viscosity VPN Toggler.
On the first launch you have to select the VPN server, the Viscosity VPN Toggler connects to the VPN server and quits.
When Viscosity VPN Toggler is launched again, it checks if the VPN connection is up and closes the connection or if the connection is down it connects to the VPN server.

Download: Viscosity VPN Toggler 1.0

(about 37 KB)
  • Viscosity 1.6.7 – Graphical user interface for OpenVPN. November 17, 2016 Viscosity is an OpenVPN client for Mac, providing a rich Cocoa user interface for creating, editing, and controlling VPN connections.
  • Viscosity is an OpenVPN client for Mac and Windows, providing a rich user interface for creating, editing, and controlling VPN connections.
  • OpenVPN client for Windows OpenVPN management interface GUI-graphical user interface MI. 1.0.1 (version of OpenVPN GUI Sandman was founded by Mathias Features:Free,Open,Source,Windows Website 14.
  • OpenVPN offers two types of interfaces for networking via the Universal TUN/TAP driver. It can create either a layer-3 based IP tunnel (TUN), or a layer-2 based Ethernet TAP that can carry any type of Ethernet traffic. OpenVPN can optionally use the LZO compression library to compress the data stream.

Web-GUI and user-extensible command library for managing applications and services remotely. The primary goal is to create a system that can manage: - LXC Containers - Libvirt virtual networks - OpenVPN networks - Reverse proxies for IPv4 - IPv6 networking - Web-Hosting applications - Content Management System's - Simple configuration commands and routines The end game is an administrator tool.

IMPORTANT NOTICE: VISCOSITY is required to use these scripts. Viscosity is an OpenVPN client for Mac, providing a rich Cocoa graphical user interface for creating, editing, and controlling VPN connections.

Screenshots

selcet the desired VPN server from the list.
The list containsall VPN connections from your Viscosity configuration
select the program to be launched after the VPNconnection is established
the configuration is finished and the connection is started
rename your file according to the VPN connection/program
Make copies of Viscosity VPN Helper for every program you need and put themin your remote application (the screenshot is from Remote Buddy)

Version History

1.0 2009-12-31 initial release
1.1 2010-01-09 fix for some 'strange' server names

Q & A section

Q:How can I edit the script?
A: To view or edit the source code drag the program on the Applescript Editor icon.
Q:Why is Viscosity required, I am using the freeware Tunnelblick?
A: I have used Tunnelblick for some months too but liked the interface of Viscosity better - well worth the US$9

Viscosity is an OpenVPN client for macOS and Windows offering many user-friendly functionalities. The client is not free and costs $9. However, we definitely think it’s worth it. If you are not convinced, you can always use it for a trial period of 30 days to test it without any commitment.

This guide will explain how you can get the maximum utility of the features that Viscosity has to offer.
I will show you how you can shut down applications if the VPN connection should stop working, how you can simply import several configuration files, and lastly how to prevent data leakages.

Viscosity 1 7 12 – graphical user interface for openvpn ubuntu

First of all, you need to download the Viscosity client. You can find the download link on their official website. You can choose to download the client for Mac or Windows depending on your OS. Note that this guide has been dedicated to using Viscosity on Windows). However, the same functionalities can be set up for macOS.

After completing the installation process, you simply run Viscosity and make sure that you don’t have another VPN client running at the same time. You should also make sure you’ve downloaded our configuration files and have them ready. If you want to connect to OVPN, it’s recommended that you download all available configuration files from us.

To import a connection is very simple. Just click the plus sign in the lower-left corner and choose “Import connection” >” From file…” and then choose your OVPN configuration file.

If you wish, you can import all OVPN configuration files and change the file names to the name of the server that uses it. This should look something like this:

Graphical User Interface Definition

Remember to let all your traffic go through the VPN connection! Go to the “Networking' tab and check the box called 'Send all traffic over VPN connection.'

(1.) Run Viscosity on login.

You can configure Viscosity to run on login or computer startup. You can also customize Viscosity so that it connects to the most recently used server.
You’ll do this by setting up “Start Viscosity at login” and “Reconnect active connections on wake”. The settings should be as the picture below:

In order to automatically connect to a server when running Viscosity, find the connection you want to edit and right-click on it and choose 'Edit.' Then check the box called “Connect when Viscosity opens,” which can be found on the bottom of the page.

(2.) Exit specified applications if the VPN connection is terminated.

One of the best features of Viscosity is that you can choose to run certain scripts if your VPN connection is temporarily lost or terminated. You can set this up for virtually any application, but perhaps the most common use of this feature is for a torrent client.

In order to accomplish this, you need to right-click on the connection you want to run the exit script for and choose “Edit.” Then click the “Advanced” tab and choose to add script within Disconnected Script. It should look like this:

We’ve provided a script for this purpose that will run if you lose your VPN connection:

You don’t need to worry about the code here except for this line:
strProcessKill = array('notepad.exe', 'utorrent.exe', 'vuze.exe')
as this is the line specifying which application that should be closed if and when you lose your VPN connection. Note that you can specify several applications here.

Viscosity 1 7 12 – Graphical User Interface For Openvpn Configuration

Once you’ve chosen which applications to be closed when the VPN connection is lost, save the file as “OVPN-avsluta.vbs”.

(3.) Terminate your Internet connection if your VPN connection is lost.

This fully prevents your real IP address from being shown in the case of you losing your VPN connection. Usually, Windows will use the ordinary adapter if you lose your VPN connection. In order for you to stay protected, we want to prevent this from happening using another *Disconnected Script”.

Just like before, you should go to Disconnected Scripts and enter the following script:

Dim objShell

Set objShell = WScript.CreateObject ('WScript.shell')

objShell.run 'cmd /K netsh interface set interface name='Ethernet' admin=disabled'

Set objShell = Nothing

In effect, this script tells Windows to set your network adapter to “Disabled” when the VPN connection is lost, which in turn terminates your Internet connection.
In order for this to work properly, please make sure of the following:

  • That you run Viscosity as administrator
  • Check that the networking adapter is correctly entered

To find the exact name of your networking adapter, go to Control Panel -> Network and Internet -> Network Connections
It should look like this:

In order to enable your Internet connection again, you need to enable your networking adapter. You can do this manually by going to network settings. An easier solution is to make a BAT-file and place it on your desktop that can be run as administrator:
netsh interface set interface name='Ethernet' admin=enable'

(4.) Terminate the Internet connection as well as specified applications if your VPN connection is lost.

Copy the code from step 3 and put the code from step 2 on the bottom.

(5.) Make sure everything works.

It’s always recommended that everything works as intended. You can run the following tests:

  • Test the termination scripts by right-clicking and choosing “Disconnect”.
  • Go to our dashboard to see that you're connected properly and don't have any DNS leaks

(6.) Conclusion

This has been a short guide showing you how to explore the functionalities of Viscosity. Viscosity is a great alternative if you wish to use more advanced VPN features.

If you’ve followed the steps in this guide, you should now have a VPN client that terminates your Internet connection as well as close specified applications if your VPN connection is lost.