Internet kill switch for Ivacy VPN on Mac: I have tested it on macOs Sierra. It might work on other versions of mac. Use at your own risk. Use this as a guideline for setting up your own kill switch. You need to change few things to get it working for yourself. With minor changes it should work for other VPNs also.
Files:
- kill-switch : this is the shell script providing status/start/stop/restart functionalities.