Does anyone know of a script that automatically disconnects your internet connection if your wireguard client disconnects?
If you’re on Linux, you could setup firewall rules to prevent any traffic over that interface other than wireguard udp.
Doesn 't Wireguard have the ability to create a kill switch like OpenVPN?
Looks like wireguard does have that option: https://www.ivpn.net/knowledgebase/238/WireGuard-Kill-switch.html
Glad I was able to help Dottedquad, I wasn’t sure Wireguard had an option to create a kill switch, but I thought it would be very strange if it didn’t. Thanks for letting me know it does have a kill switch.