PSA: Simple Wi-Fi gateway killswitch that works with OpenVPN config files
Maria Sophia <[email protected]> Thu, 16 Jul 2026 19:32:20 -0400
| Newsgroups | alt.comp.os.windows-10,alt.comp.os.windows-11,alt.comp.microsoft.windows |
|---|---|
| Organization | BWH Usenet Archive (https://usenet.blueworldhosting.com) |
| Message-ID | <[email protected]> |
PSA: Simple Wi-Fi gateway killswitch that works with OpenVPN config files I ran into a problem that Windows and OpenVPN were being "too helpful" when it comes to repairing the actions of my killswitch batch file which originated 5 years ago from the LiquidVPN's killswitch batch script. For years, on my circa 2009 desktop, I used a Zaidy-modified killswitch that worked perfectly with my Wi-Fi USB dongle, but recently, I changed to an internal Wi-Fi NIC, which screwed everything up because it's too smart. Being smart, every time I wiped out the gateway with the taskbar-mounted killswitch icon, Windows would try to be helpful & restore the gateway. Likewise, with the new Wi-Fi card, even OpenVPN started being helpful, when it wasn't this helpful with the USB Wi-Fi dongle, by "fixing" the gateway. The end result was that my killswitch stopped working because both VPN and Windows were being too helpful in trying to add the gateway back when removed, but, get this... but only when using the Wi-Fi NIC. This "helpful gateway repair" didn't happen with the USB Wi-Fi dongle. I'll post the latest batch script, which explains the problem & solution. -- Usenet allows good friends around the world to discuss their experiences.