Viscosity Vpn Killswitch

Sep 02, 2019 Viscosity VPN also allows custom DNS servers and search domains to be accessed while connected, by integrating the VPN to Mac OS X’s advanced DNS system. Kill Switch: Unfortunately not. Sadly, Viscosity doesn’t offer a kill switch. This can be problematic, especially when your network often disconnects or experiences drop-outs. Hello, i currently use TorGuard Viscosity and i'm on Mac OsX Maverick. I need to setup a good script that kill the apps in use (Popcorn Time, Stremio, Vuze,UTorrent) in the case vpn connection goes down. I checked the tutorial on knowledgebase but seems that doesn't work on my side. Jun 24, 2016 This script works much nicer as a wifi killswitch within Viscosity on VPN disconnect: do shell script 'networksetup -setairportpower en0 off' tell application 'Viscosity' to display dialog 'VPN CONNECTION DISCONNECTED' buttons 'OK' This works well, nice job. I presume it only works on WiFi though. 2.) In the TorGuard Pro VPN software (Viscosity) click the VPN server you wish to setup this Killswitch rule on. Click the settings button and select Duplicate Connection. 3.) On the new duplicate connection right click and select Edit. 4.) Rename the connection by adding KILLSWITCH to identify it in your server line-up. This will also prevent.

Skip to content

Viscosity unresponsive on wake -and a better wifi killswitch

Got a problem with Viscosity or need help? Ask here!
Posts:1
Joined: Sat Jun 25, 2016 7:35 am
So far I'm pretty happy with viscosity during my 30 day trial and I want to buy it if I can get this issue sorted out.
Whenever I open my laptop and it wakes from sleep, I login to OS X and Viscosity is unresponsive and not connected. I can click on the toolbar icon and the menu appears but my connection is stuck on 'exiting'. None of the menu buttons work and I have to force quit through activity monitor and restart the program. Every single time I open my laptop.
I'm running Viscosity version 1.6.4 with PIA on OS X Yosemite 10.10.5. I've got an applescript running to kill the wifi on disconnect. I have the program set to connect to a server when viscosity opens and I'm sending all traffic over VPN.
Also worth noting...
A better wifi killswitch
The example listed on http://www.sparklabs.com/support/kb/art ... fic-leaks/ for turning off the wifi with applescript when the vpn disconnects causes my network card to completely shut off (blank wifi signal icon with an x in the middle), which requires opening the network settings, clicking the settings icon at the bottom, making the service active, and THEN turning the wifi on after accepting a system confirmation popup. This is way too many steps for reconnecting after a disconnect.
I found a command that turns off the wifi (blank wifi signal icon WITHOUT an x through it) and allows me to simply click the icon and select 'turn wifi on' instead of the convoluted multistage process required with the command listed on your website example. The script listed below also doesn't require storing your login and password in plain characters within the script (questionable from a security and privacy standpoint) that's listed in the website example. Even quicker still, I set a keybind in OS X to turn the wifi back on using the reverse of the script listed below ('on' substituted for 'off').
This script works much nicer as a wifi killswitch within Viscosity on VPN disconnect:
do shell script 'networksetup -setairportpower en0 off'
tell application 'Viscosity' to display dialog 'VPN CONNECTION DISCONNECTED' buttons 'OK'
Posts:2083
Joined: Thu Sep 04, 2008 9:27 pm
Hi HikerBitch,
It sounds likely Viscosity is waiting for an AppleScript to finish executing. I'd recommend temporarily removing all scripts from your connection/s and see if you get the same behaviour when waking your computer from sleep.
If you're still seeing a problem, try checking the Console for any warnings or error messages:
http://www.sparklabs.com/support/kb/art ... nsole-log/
Cheers,
James
James Bekkema
Viscosity Developer
Web: http://www.sparklabs.com
Support: http://www.sparklabs.com/support
Twitter: http://twitter.com/sparklabs
Posts:2
Joined: Wed Jun 29, 2016 7:57 pm
I experience the same behavior (even when not running any scripts). Re-installing only temporarily helps. Right after the next sleep-cycle, Viscosity is unable to connect and eventually doesn't respond anymore.
My console does NOT hold any messages with regard to Viscosity crashing.
Looking forward to your response.
Posts:2083
Joined: Thu Sep 04, 2008 9:27 pm
Hi zeinlinger721,
Can you confirm that you're using the latest version of Viscosity (1.6.4 at the time of writing)? The version number is available under Preferences->About.
If you are using the latest version, does un-ticking the 'Reconnect active connections on wake' option under Preferences->General resolve the issue?
Cheers,
James
James Bekkema
Viscosity Developer
Web: http://www.sparklabs.com
Support: http://www.sparklabs.com/support
Twitter: http://twitter.com/sparklabs

Viscosity Vpn Killswitch Download

Posts:2
Joined: Wed Jun 29, 2016 7:57 pm
Even tried beta versions. Now back to 1.6.4.
However, I can't even start the application right now.
Kind regards
Posts:1
Joined: Sat Oct 01, 2016 6:46 am
Since nobody else did, I'd like go and thank you for the new script. The other one was really obnoxious like you said, and yours is great. It was cool of you to share. Thanks.
Posts:1
Joined: Tue Oct 11, 2016 7:19 am
Kill
HikerBitch wrote:So far I'm pretty happy with viscosity during my 30 day trial and I want to buy it if I can get this issue sorted out.
Whenever I open my laptop and it wakes from sleep, I login to OS X and Viscosity is unresponsive and not connected. I can click on the toolbar icon and the menu appears but my connection is stuck on 'exiting'. None of the menu buttons work and I have to force quit through activity monitor and restart the program. Every single time I open my laptop.
I'm running Viscosity version 1.6.4 with PIA on OS X Yosemite 10.10.5. I've got an applescript running to kill the wifi on disconnect. I have the program set to connect to a server when viscosity opens and I'm sending all traffic over VPN.
Also worth noting...
A better wifi killswitch
The example listed on http://www.sparklabs.com/support/kb/art ... fic-leaks/ for turning off the wifi with applescript when the vpn disconnects causes my network card to completely shut off (blank wifi signal icon with an x in the middle), which requires opening the network settings, clicking the settings icon at the bottom, making the service active, and THEN turning the wifi on after accepting a system confirmation popup. This is way too many steps for reconnecting after a disconnect.
I found a command that turns off the wifi (blank wifi signal icon WITHOUT an x through it) and allows me to simply click the icon and select 'turn wifi on' instead of the convoluted multistage process required with the command listed on your website example. The script listed below also doesn't require storing your login and password in plain characters within the script (questionable from a security and privacy standpoint) that's listed in the website example. Even quicker still, I set a keybind in OS X to turn the wifi back on using the reverse of the script listed below ('on' substituted for 'off').
This script works much nicer as a wifi killswitch within Viscosity on VPN disconnect:
do shell script 'networksetup -setairportpower en0 off'
tell application 'Viscosity' to display dialog 'VPN CONNECTION DISCONNECTED' buttons 'OK'
Your script worked like a charm buddy. after it rans, i have to click and turn wifi on, and then i have to manually click connect on viscosity.
Just for the sake of it, is it a script i can use to tell viscosity to connect right after i turn on wifi? Lazy i know
thanks again
Posts:4
Joined: Sat Jun 04, 2016 11:57 am
HikerBitch wrote:So far I'm pretty happy with viscosity during my 30 day trial and I want to buy it if I can get this issue sorted out.
Whenever I open my laptop and it wakes from sleep, I login to OS X and Viscosity is unresponsive and not connected. I can click on the toolbar icon and the menu appears but my connection is stuck on 'exiting'. None of the menu buttons work and I have to force quit through activity monitor and restart the program. Every single time I open my laptop.
I'm running Viscosity version 1.6.4 with PIA on OS X Yosemite 10.10.5. I've got an applescript running to kill the wifi on disconnect. I have the program set to connect to a server when viscosity opens and I'm sending all traffic over VPN.
Also worth noting...
A better wifi killswitch
The example listed on http://www.sparklabs.com/support/kb/art ... fic-leaks/ for turning off the wifi with applescript when the vpn disconnects causes my network card to completely shut off (blank wifi signal icon with an x in the middle), which requires opening the network settings, clicking the settings icon at the bottom, making the service active, and THEN turning the wifi on after accepting a system confirmation popup. This is way too many steps for reconnecting after a disconnect.
I found a command that turns off the wifi (blank wifi signal icon WITHOUT an x through it) and allows me to simply click the icon and select 'turn wifi on' instead of the convoluted multistage process required with the command listed on your website example. The script listed below also doesn't require storing your login and password in plain characters within the script (questionable from a security and privacy standpoint) that's listed in the website example. Even quicker still, I set a keybind in OS X to turn the wifi back on using the reverse of the script listed below ('on' substituted for 'off').
This script works much nicer as a wifi killswitch within Viscosity on VPN disconnect:
do shell script 'networksetup -setairportpower en0 off'
tell application 'Viscosity' to display dialog 'VPN CONNECTION DISCONNECTED' buttons 'OK'
This works well, nice job.
I presume it only works on WiFi though. Can it be modified to simultaneously apply to WiFi and LAN?
Posts:4
Joined: Sat Jun 04, 2016 11:57 am
I have encountered a problem with this method.
When the VPN drops the script does indeed kill WiFi, so that's good news. But the problem is that Viscosity then hangs. Viscosity shows the current connection as 'Exiting' and locks up even when WiFI is re-enabled. The only way to resurrect it is to force close via Activity Monitor and restart. I have the line remap-usr1 SIGTERM in my Advanced settings.
Does anybody know what the problem might be?
Return to “Viscosity Support (Mac Version)”

Key Features

Cross-Platform.

Viscosity has been designed from the ground up for both macOS and Windows, using native frameworks for perfect integration.

VPN For Everyone.

Completely configure your OpenVPN connections through an intuitive interface, without any need to know complex commands.

Proven Technology.

Viscosity has been protecting users for over a decade, everyone from home users to large enterprise, with regular updates the entire time.

Traffic Statistics.

Viscosity monitors your OpenVPN connections to ensure you know all the important traffic, network and connection details in style.

DNS. Done Right.

Viscosity's powerful DNS system allows you to ensure that all DNS queries use your VPN DNS servers, or only lookups for select domains.

Enterprise Support.

Easily bundle Viscosity with settings and connections so your users are ready to get started. Create simple deployable connection profiles.

Performance Focused.

Every component of Viscosity has been designed to maximise the speed and reliability of your OpenVPN connections.

Script Everything.

Control Viscosity using AppleScript or VBScript, and call custom scripts and actions when a VPN connection changes state.

More. Much More.

Powerful authentication options, connection folders, IPv6, traffic obfuscation, advanced networking, simultaneous connections, and more!

Powerful Connections

Viscosity is a first class VPN client, providing everything you need to establish fast and secure OpenVPN connections on both macOS and Windows.


Viscosity caters to both users new to VPNs and experts alike, providing secure and reliable VPN connections. Whether remotely connecting to your workplace network, home network, VPN Service Provider, or other setup, Viscosity ensures it's done with ease and style.


Stay Informed

Viscosity has a clear and intuitive interface for monitoring your VPN connections. Whether you simply want a quick overview of your OpenVPN connections, or want to drill down to the technical network and encryption details, Viscosity has you covered.


Viscosity's unobtrusive main menu provides an instant overview of your VPN connections, making it a breeze to monitor connection details in real-time. When more information is needed, Viscosity's powerful Details window provides a stylish traffic graph and detailed connection statistics.

Intuitive Editor

Viscosity takes the complexity out of editing VPN connections, while also adding a lot of power at your fingertips. Viscosity's connection editor makes it easy to configure new VPN connections from scratch or edit existing ones. All without needing to know complex commands.


Easily configure everything from network settings to complex multi-factor authentication. Viscosity's powerful DNS modes and traffic routing are also readily accessible to ensure that traffic goes where you want. Power users are also accommodated, with scripting and advanced command support.


New to VPN?

Viscosity makes it easy for users new to VPNs to get started. Its clear and intuitive interface makes creating, configuring, or importing connections a snap. Read our detailed 'Introduction to VPNs' guide for an extensive introduction to VPNs and how to get started using Viscosity.


Vpn

Experts Welcome

As well as being welcoming to new users, Viscosity caters for power and expert users. Viscosity allows for full control over VPN connections, powerful routing options, running custom scripts, controlling Viscosity using scripting, advanced configuration options, and much more.


Enterprise Ready

Viscosity has been designed for both small business and enterprise. Easily make connection bundles for your users, or completely preconfigure Viscosity with all settings and connections. You can even auto-mount shares and open apps to make life easy for your users.


Expert Features

Obfuscation

Obfuscation helps to prevent your VPN connections from being blocked or throttled by network operators, and Viscosity has powerful traffic obfuscation features built right in. Easily integrate with an existing Obfsproxy server, or run your own, to allow your OpenVPN connections to function even when Deep Packet Inspection (DPI) is being used.

Powerful Editor

Viscosity's connection editor offers unparalleled control over your OpenVPN connections. It allows users unfamiliar with OpenVPN to quickly get started, while also allowing experts to configure all aspects of their connections.

Connection Scripts

Viscosity supports automatically calling your own custom scripts on VPN connection events. Power users can write their own AppleScript, Batch, or VBS scripts to automatically perform almost any action they want. This includes tasks like opening and closing certain applications on connect or disconnect, opening web pages, mounting file shares, or controlling other apps.

Scriptable

Viscosity is fully scriptable, allowing your OpenVPN connections to be controlled using your own custom AppleScript or Batch scripts. It also allows Viscosity to be combined with other third party tools to provide functionality such as automatically when connecting to certain WiFi networks, or when in certain locations.

Complete IPv6 Support

Viscosity has complete IPv6 support. No matter whether you want to connect to your OpenVPN server over an IPv6 network, or have your VPN network support IPv6, Viscosity has you covered. Viscosity's DNS support also fully supports IPv6, including Split DNS.

Connection Folders

Easily group your OpenVPN connections into folders to make them easier to manage. This is particularly useful if you want to share credentials or scripts between multiple VPN connections, such as with a VPN Service Provider.

Full & Split DNS

Viscosity's powerful DNS system goes above and beyond other VPN clients, offering both Full and Split DNS modes. Ensure that your VPN DNS servers are used by default with Full DNS mode, or use Split DNS mode to only use your VPN DNS servers for certain domains.

Native Apps

Viscosity is written using completely native frameworks on both macOS and Windows, letting it perfectly integrate with your operating system and offer top performance. No memory and CPU hungry cross-platform frameworks are used: Viscosity offers a completely native user interface with no bloated web-application frameworks.

Simultaneous Connections

Connect to a single VPN connection at a time, or connect to multiple simultaneously. No need to switch between VPN connections when working with multiple sites remotely: Viscosity lets you connect to them at the same time and correctly routes traffic and DNS requests for each network.

Enterprise Features

Cross-Platform

Viscosity has been developed from the ground up for both macOS and Windows to provide a premier and native experience on both platforms. This makes is easy to deploy a single solution to all of your users, without the expense of having to train support staff and users in the use of multiple clients for different platforms.

Deployment Ready

Viscosity has been designed to be easy and straightforward to deploy in managed environments. Easily package Viscosity with VPN connections and settings and deploy it using tools such as Mobile Device Management (MDM) or Group Policy (GPO). Or use third-party deployment software such as Munki or Jamf to deploy Viscosity and offer self-service installation.

Bundle Connections & Settings

Viscosity can be bundled together with connections and settings, so Viscosity is ready to go as soon as it is installed, with no configuration required by end users. Viscosity also provides a number of extra customisable settings to help Viscosity fit into your networking and security environment, including the ability to change Viscosity's username and password storage behaviour and global scripting.

Supported Software

Viscosity is commercially supported software. We stand behind our products: if you run into trouble, need help, or would like advice, we are only an email away. There is no need to try your luck on mailing lists, or attempt to hunt down developers for support.

Ease of Use

Viscosity has a clear and intuitive interface for controlling VPN connections, allowing users new to VPNs and Viscosity to easily use OpenVPN on both macOS and Windows. Viscosity's Details window provides a simple interface for obtaining connection statistics and diagnostic information to pass on to support staff.

Reliability

Viscosity is in use everywhere, from large enterprise to small business, schools, universities, at home and on the road. You can use deploy Viscosity with piece of mind that it has been constantly tested and refined for almost any network environment. Viscosity has been constantly refined to automatically adjust to a huge variety of network conditions to ensure your user's VPN connections are reliable and trouble-free as possible.

Connection Profiles

Viscosity connection packages can be exported and distributed to users, providing an easy mechanism to supply users with connections (and all associated certificates, keys, and scripts) in a single package when providing a fully bundled version of Viscosity is not suitable.

Standard & Admin User Support

Viscosity can run under both administrator accounts and standard user accounts, for both macOS and Windows. This makes deploying Viscosity to machines that are not department controlled/imaged (such as machines at a user's home) much easier and simpler.

Smartcard, Token, & U2F Support

Viscosity supports PKCS#11 and FIDO Universal 2nd Factor (U2F) authentication options, allowing your users to use devices like smartcards and eTokens for authentication. You can use these devices as the sole method for authentication, or combine them with other authentication methods to create two-factor, or even three-factor, authentication. This helps you meet strict security polices, such as the Payment Card Industry Data Security Standard (PCI DSS).

Automatic Actions

Viscosity allows calling custom scripts before a connection connects, when it connects, or when it disconnects. This allows common tasks to be easily automated, such as connecting to file servers and mounting shares, opening web pages, opening applications, controlling other applications, and displaying messages to the user. Viscosity supports AppleScript scripts under macOS, and both Batch (.bat) and Visual Basic/VBS (.vbs) scripts under Windows.

Conditional Connections

Viscosity's conditional connections mechanism makes it easy to have Viscosity only connect to a VPN server on certain networks, or only in certain environments. A custom script can check for certain conditions (such as the wireless network the machine is connected to, the IP address, location, etc.) and decide whether to allow or terminate the connection attempt.

Viscosity Vpn Killswitch Review

Big shout-out to @sparklabs! Viscosity is excellent with constant updates and flawless operation. #wortheverypenny #bestvpnclient

@daveprovine | Twitter

Viscosity Vpn Killswitch

If you're using #OpenVPN and you're not using #Viscosity then you're doing it wrong :) @sparklabs - Thanks for an awesome app!

@systemcentersyn | Twitter

Just wanted to say that Viscosity is a great app. I'm very happy with its performance, ease of use, reliability, and design.

@CyborgInteract | Twitter

Every professional VPN solution I've used for Mac can't hold a candle to @sparklabs's Viscosity. Its by far the best

@JonoH | Twitter

Hat tip to @sparklabs for Viscosity. It's the OpenVPN client I'd write if I had to. Which I don't, because they wrote it.

@landonfuller | Twitter

I'm really pleased with Viscosity. It's an extremely elegant #Mac #OpenVPN client solution.

@noviantech | Twitter

PSA: The Viscosity OpenVPN client from @sparklabs is awesome - regularly updated and a great value. Recommended!

@_4bdi3l | Twitter

Viscosity

Love Viscosity from @sparklabs. Easy install, it just works. Reliable OpenVPN connections for Windows and Mac.

@clemensmol | Twitter

I just downloaded Viscosity after toiling with the various OpenVPN offerings... I must say, I have fallen in love! Keep it up!

Viscosity vpn download

@MilesKjeller | Twitter

All Features

Authentication

  • Username & Password
  • Public Key Infrastructure (PKI) & PKCS#12
  • Shared Secret
  • PKCS#11 Token & Smartcard
  • FIDO Universal 2nd Factor (U2F)
  • One Time Password (OTP)
  • Dynamic & Static Two Factor

Network

  • Simultaneous Connections
  • Full & Split DNS Modes
  • Connect via HTTP or SOCKS Proxy
  • Traffic Obfuscation
  • DHCP IP, DNS, And Route Assignment
  • Complete IPv4 and IPv6 Support
  • Automatic & Manual Proxy Settings
  • Powerful Traffic Routing Options
  • Intelligent Server Selection & Fallback

Interface

  • Powerful Connection Editor
  • Traffic Graph & Statistics
  • Unobtrusive Status Icon & Menu
  • Customisable Menu Icons
  • Customisable Menu Quick Statistics
  • Connection Folders & Shared Credentials
  • OpenVPN Version Selection

Performance & Integration

  • Native Implementation for Each Platform
  • Low CPU & Memory Usage
  • Reliable OpenVPN Connections
  • Automatically Disconnect on Inactivity
  • Automatically Reconnect on Disconnect
  • Automatically Reconnect on Network Availability
  • Automatically Disable Time Machine Backups

Security

  • Latest Cipher & Digest Support
  • Sandboxed OpenVPN & Scripts
  • Keychain & Windows Password Store Integration
  • IPv6 Leak Protection

Enterprise

  • Bundling Connections & Preferences
  • GPO Group Policy Deployment
  • Connection Importing & Exporting
  • Admin Rights Not Required for User Operation

Viscosity Vpn Killswitch Torrent

Advanced

  • Conditional Connections
  • Control Viscosity using AppleScript
  • Control Viscosity using Scripts or Command Line
  • Run Scripts on Connection Events
  • Advanced Configuration Commands

Viscosity Vpn Download

Platform Screenshots

Viscosity Vpn Killswitch Free

Viscosity for macOS and Windows

Openvpn

Download Viscosity now to trial it for 30-days with no purchase necessary and no limitations. Purchase Viscosity to remove the 30-day trial limitation and help support its development. Viscosity is a one-time purchase, with no subscriptions or recurring fees.

Release Notes | Volume Licenses & Discounts | Upgrades & Extensions