How to setup a VPN kill switch on Linux for OpenVPN and WireGuard?
This guide will show you how to set up a manual kill switch for OpenVPN in GNU/Linux, with all details, explained. A VPN firewall (or kill switch) kills network connections that are active when there is no active connection on a given system through the use of IPTables, UFW or Firewalld.