Skip to content
This repository was archived by the owner on Nov 18, 2025. It is now read-only.
Discussion options

You must be logged in to vote

The kill-switch feature of Wireguard, as you’ve noted, operates by manipulating the routing table, a key component in network routing. This process adjusts the routing table to direct internet traffic flow, ensuring that it only passes through the VPN tunnel. When the kill switch is activated, the routing table is altered to route all traffic (0.0.0.0/0) via the VPN. Conversely, when the kill switch is off, the routing rules become more specific, often dividing the IP range into two segments (0.0.0.0/1 and 128.0.0.0/1) to manage traffic flow in a distinct manner. These alterations are observable when inspecting the routing table as the kill switch is toggled on and off. Similarly, the Wir…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Kyoshim
Comment options

Answer selected by Kyoshim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants