Kill Switch
Block all traffic that does not go through Throne, also while no profile runs, and get your connection back if the kill switch locks you out.
While the kill switch is on, your computer can send traffic only through Throne: through Tun mode, the local proxy port, or Throne's own connections. Everything else is blocked, also while no profile runs, so apps cannot fall back to your normal connection when the proxy stops or drops.
What it does
| Situation | What gets through |
|---|---|
| A profile runs in Tun mode | Everything, through the Tun adapter. |
| A profile runs with the system proxy only | Apps that use the proxy. Apps that ignore it are blocked. |
| No profile runs | Only the local network and the exceptions below. |
Use Tun mode with the kill switch, so that all apps keep working while a profile runs. The kill switch ends when Throne exits or crashes: a crash does not cut you off, but it does not protect you after that either.
Turn it on
- Open
Settings→Basic Settings→Security→Protection. - Tick
Kill switchand clickOK.
It needs the same rights as Tun mode, see Requirements. On Linux and macOS, turning it on restarts Throne's core and a running profile. It starts again with Throne until you turn it off.
The window title then shows [Kill switch], and the Start button has a lock:
- Green: a profile runs in Tun mode.
- Amber: no profile runs or Tun mode is off, so most traffic is blocked.
- Red: the kill switch has a problem, see When it cannot work.
To turn it off, untick Kill switch again, or right-click the Start button → Disable kill switch.
What is always allowed
- Throne's core: connections to your servers, traffic that your rules send
direct, URL tests and Throne's own DNS servers. Extra Core programs too. - The Tun adapter and loopback (
127.0.0.1,::1), which apps use to reach the local proxy port. - The local network:
10.0.0.0/8,172.16.0.0/12,192.168.0.0/16,169.254.0.0/16,224.0.0.0/4,255.255.255.255,fc00::/7,fe80::/10andff00::/8. Turning offPrivate Range BypassinSettings→Tun Settingsblocks them too; editing its list does not change these ranges. - Network basics: DHCP, IPv6 neighbor and router discovery, and multicast group messages, so your computer keeps its address.
- Replies of the Throne API when it listens on a network address.
DNS queries (ports 53 and 853) from other programs to local addresses are still blocked, because your router would send them outside the tunnel. On Linux, Throne warns when /etc/resolv.conf names such a server: in Tun mode, use systemd-resolved, which Throne points at the tunnel, or a DNS server outside your network.
Everything else is blocked, including:
- Throne's own requests, such as subscription updates, update checks and WARP registration. They work only in Tun mode, or while a profile runs with
System proxyorSettings→Basic Settings→General→Updates and Downloads→Send Throne's own requests through the proxyon. - Traffic that this computer forwards for other devices, containers or virtual machines, unless it goes through the Tun adapter or stays in the local network.
- Other VPN apps.
Requirements
| System | What the kill switch needs |
|---|---|
| Windows | The core has administrator rights, see Windows privileges, and the Base Filtering Engine service runs. |
| Linux | The core runs as root through the SUID bit; capabilities (setcap) are not enough. Linux 5.12 or newer with nftables and conntrack labels (CONFIG_NFT_CT, CONFIG_NF_CONNTRACK_LABELS). |
| macOS | The core runs as root through the SUID bit. /etc/pf.conf loads the com.apple anchors, as it does by default. |
Throne sets up these rights as for Tun mode, see Tun mode privileges.
When it cannot work
When the kill switch is on but cannot start or stops working, Throne shows "Kill switch is not active" with the reason. Click Grant privileges when rights are missing (on Windows, Restart as administrator if your account cannot grant them or the grant did not take effect), Retry for other problems, or Disable kill switch. Until then nothing is blocked, and Throne refuses to start profiles.
The log and kill_switch_error in the Throne API give the reason as a code:
| Code | Meaning |
|---|---|
privilege |
Rights are missing, see Requirements. |
unsupported |
The system lacks something else from Requirements, such as nftables or a root core on Linux. |
config |
Invalid kill switch settings, such as the Tun address. |
tampered |
Another program keeps removing the rules or turning the firewall off. |
crash, timeout, internal |
The guard process stopped or did not start in time. Retry often helps. |
overridden |
Headless Throne was started with --no-kill-switch. |
On Linux in a container or user namespace without CAP_SETGID, the kill switch keeps blocking everything and Throne refuses profiles ([Kill switch is blocking traffic] in the title) until you click Disable kill switch.
If it locks you out
Throne's settings work without internet access, so turn the kill switch off there or from the Start button.
If Throne does not respond:
- Quit Throne, or end it in the task manager. Its guard process removes the firewall rules within a few seconds.
- If traffic is still blocked, end the guard process yourself:
- Windows: in Task Manager →
Details, end everyThroneCore.exe, or restart Windows. - Linux: run
sudo pkill -f 'ThroneCore --guard'. - macOS: run
sudo pkill -f 'ThroneCore --guard'. If the rules stay, start Throne again (its core removes them) or restart macOS.
- Windows: in Task Manager →
- Start Throne and turn the kill switch off before you do anything else.
On Android
Throne for Android has no kill switch. Use Android's own: set Throne as the always-on VPN and turn on "Block connections without VPN". See Always-on VPN.
Headless Throne
Headless Throne has the same kill switch: thronectl settings set kill_switch=true. On Linux, it needs a unit that runs as root or a core with the SUID bit, see Privileges on Linux. If it cuts you off from the computer, start Throne once with --no-kill-switch, see Recovering access.