# Suggestion\* Killswitch for VPN when VPN is disabled

**URL:** <https://forum.gl-inet.com/t/suggestion-killswitch-for-vpn-when-vpn-is-disabled/43391>\
**Category:** Router\
**Created:** [June 10, 2024, 12:22am UTC](https://forum.gl-inet.com/t/suggestion-killswitch-for-vpn-when-vpn-is-disabled/43391 "2024-06-10T00:22:53Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Menard](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/m/71e660/32.png) [@Menard](https://forum.gl-inet.com/u/Menard)\
**Post date:** [June 10, 2024, 7:22am UTC](https://forum.gl-inet.com/t/suggestion-killswitch-for-vpn-when-vpn-is-disabled/43391/3 "2024-06-10T07:22:30Z")

</div>

Personnaly I don't clearly understand in how a killswitch is different than the firewall rules as :

- deny outgoing all
- deny incoming all
- allow out anywhere on tun0

rules for ufw on Linux Mint  
In addition I have some local DNS resolver (Unbound) so that if the firewall was bypassed, anyway Unbound is disabled by my vpnstart script after the tun0 connection is on. Perhaps I could call this a double killswitch.

---

_[View the full topic](https://forum.gl-inet.com/t/suggestion-killswitch-for-vpn-when-vpn-is-disabled/43391)._
