Skip to main content

Module killswitch

Module killswitch 

Source

Functionsยง

disable
Disable the VPN kill switch
enable
Enable the VPN kill switch
generate_rules
Generate firewall rules without applying them
is_private_ip
Check if an IP address is in a private/reserved range (RFC 1918, loopback, link-local)
show_interfaces
Show active network interfaces, VPN peer IP, and usage hints. Mirrors the Go (master) default behavior.
status
Get the current status of the VPN kill switch