Viscosity developer here. Thought I'd jump in and try and offer some insight! OpenVPN is a type of VPN protocol, which Viscosity supports. Because of this a comparison of 'Viscosity or OpenVPN' doesn't exactly make sense:) For those unfamiliar, by 'OpenVPN' in this case the OP means another VPN client that supports OpenVPN. 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.
Viscosity Vpn Download
Skip to contentViscosity Vpn Killswitch Review
A Kill Switch protects you from revealing your identity when the VPN connection drops accidentally. Currently, we have Kill Switch support only for Windows and Android. Skip to Android Kill Switch for Windows XP and later There is special software that we use for the Killswitch, which is very easy to configure, tiny in size (500KB) Kill Switch for VPN Read More ». 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.
Viscosity unresponsive on wake -and a better wifi killswitch
- Posts:1
- Joined: Sat Jun 25, 2016 7:35 am
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
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
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
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
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
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
However, I can't even start the application right now.
Kind regards
- Posts:1
- Joined: Sat Oct 01, 2016 6:46 am
- Posts:1
- Joined: Tue Oct 11, 2016 7:19 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.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.
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'
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.This works well, nice job.
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'
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
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?