Stopping machines from connecting to the internet when the VPN goes down on DD-WRT
VPNs are good but their connections are rarely perfect. Usually, when they disconnect, your router fails over back to using the unencrypted WAN connection. This is convenient but leaves your network connection exposed, which rather defeats the purposes. Likely little point in being protected only 99% of the time, right? Worse, you don't even know if the VPN is off. Everything just blithely continues on as usual. You'll only know if you manually check. Which is stupid. If you're like me, there are some devices on the network where you don't really care if they keep working or not. Perhaps there are some where you actually want them to keep working, even if the VPN stops (Netflix?). And there are probably a couple where you want them to stop working the second the VPN goes down. If you search you will find lots of VPN monitoring programs that purport to kill programs upon VPN disconnect. However, not one of these will work if...