# Any way to add a VPN killswitch to network manager?

**URL:** https://discuss.privacyguides.net/t/any-way-to-add-a-vpn-killswitch-to-network-manager/15229
**Category:** Questions
**Created:** 2023-11-26T17:14:41Z
**Posts:** 9
**Showing post:** 8 of 9

## Post 8 by @username0990 — 2024-01-22T16:16:52Z

A similar issue was discussed in the [Fedora forum](https://discussion.fedoraproject.org/t/wireguard-vpn-via-network-manager-kill-switch/101720). When the connection of a WireGuard client, to which all traffic is routed, goes down, it naturally gets the kill switch function, unless it is manually disabled.

> NetworkManager preserves the WireGuard interface and its default route even when the server is down or unreachable which effectively provides a routing based kill switch OOTB.

For other VPN protocols that connect to a VPN server and authenticate, this is invalid and extra settings are required for the kill switch function.

---

_[View the full topic](https://discuss.privacyguides.net/t/any-way-to-add-a-vpn-killswitch-to-network-manager/15229)._
