Skip to content
Another Killswitch
Got a problem with Viscosity or need help? Ask here!
I was wondering if this kind of killswitch is available through Viscosity.
It would be great if all connection is blocked and only viscosity is allowed connect to the internet until the vpn is up again.
Is it possible?
I know there's an article about this, but it involves resetting the interface.
https://www.sparklabs.com/support/kb/ar ... fic-leaks/
It would be great if all connection is blocked and only viscosity is allowed connect to the internet until the vpn is up again.
Is it possible?
I know there's an article about this, but it involves resetting the interface.
https://www.sparklabs.com/support/kb/ar ... fic-leaks/
- Posts: 1
- Joined: Thu Mar 02, 2017 8:05 pm
Using OS X Sierra 10.12.4 and Transmission.
I believe in keeping things as simple as possible, so with that said, a simple KillSwitch using Apple Script is:
To apply this in the real world:
Open Your P2P client, in my case Transmission. To test the script, disconnect viscosity to see if your P2P app closes. I would suggest you either have no torrents in progress or test with a Linux Distro torrent.
Would be interesting to see if people can come up with a turn wifi/Ethernet off and back on to reset the Internet connection when used in conjunction with the add route 0.0.0.0 0.0.0.0 vpn-gateway option.
I believe in keeping things as simple as possible, so with that said, a simple KillSwitch using Apple Script is:
Code: Select all
Note: You can change "Transmission" to your app of choice.tell application "Transmission"
quit
end tell
To apply this in the real world:
- * Press cmd + Spacebar this brings up Spotlight search
* Type: Apple
* This should bring up AppleScript Editor
* Press Enter
* In the window that pops up. Click New Document (Bottom Left of that window.)
* Copy/Paste the code above into the Untitled AppleScript document
* Click the hammer Icon to compile the Script
* Press cmd + s to save and rename it to KILLSWITCH or a name you will remember, take note of where you have saved it.
Open Your P2P client, in my case Transmission. To test the script, disconnect viscosity to see if your P2P app closes. I would suggest you either have no torrents in progress or test with a Linux Distro torrent.
Would be interesting to see if people can come up with a turn wifi/Ethernet off and back on to reset the Internet connection when used in conjunction with the add route 0.0.0.0 0.0.0.0 vpn-gateway option.
4 posts
Page 1 of 1