If you've used VPN services, you may have encountered your IP getting detected when the VPN disconnects. This shell script automatically disables your Wi-Fi when the VPN is disconnected
MacOS and Linux
Clone the repo first and Navigate to the IPLeakShield folder using your terminal
Now run the script using the command below:
sudo sh vpn-checker.sh vpn-name
Note that vpn-name should be replaced with the name of your active VPN and its case-sensitive