docs: improve the wording, add targeted examples
This commit is contained in:
61 files changed
+3422
-5861
No files matched your search
@@ -1,5 +1,7 @@
|
||||
# services.proxy-suite.killSwitch
|
||||
|
||||
Block traffic outside the global tunnel.
|
||||
|
||||
Part of the [proxy-suite options reference](./index.md).
|
||||
|
||||
## Options
|
||||
@@ -10,25 +12,10 @@ Part of the [proxy-suite options reference](./index.md).
|
||||
<a id="services-proxy-suite-killswitch-enable"></a>
|
||||
## services\.proxy-suite\.killSwitch\.enable
|
||||
|
||||
Whether to enable a kill switch for the global tunnels (proxy\.tun, proxy\.tproxy and global AmneziaWG profiles):
|
||||
once one starts, outgoing traffic that would leave outside it is rejected, also while it
|
||||
restarts, after it crashes or after its handshake gives up\. LAN destinations, DHCP and NTP
|
||||
stay open; tproxy\.lanInterfaces clients keep the LAN but lose the internet\. Only
|
||||
` proxy-ctl killswitch off `, ` proxy off `, ` proxy tun off `, ` proxy tproxy off ` or ` awg off `
|
||||
lift it (proxy-suite-killswitch)
|
||||
\.
|
||||
Block outgoing traffic that bypasses the active global tunnel (TUN, TProxy or a global
|
||||
AmneziaWG profile), including while it restarts or after it fails\. LAN, DHCP and NTP stay
|
||||
open; ` proxy.tproxy.lanInterfaces ` devices keep the LAN but lose the internet\. Only turning
|
||||
the tunnel off, or ` proxy-ctl killswitch off `, lifts it\.
|
||||
|
||||
*Type:*
|
||||
boolean
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
false
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
true
|
||||
```
|
||||
**Type:** boolean\
|
||||
**Default:** `false`
|
||||
Reference in new issue
Block a user