feat: tproxy lan gateway, killswitch; fix: zapret2 fixes, various other
This commit is contained in:
54 files changed
+1880
-143
No files matched your search
@@ -0,0 +1,11 @@
|
||||
{ lib, ... }:
|
||||
{
|
||||
options.services.proxy-suite.killSwitch.enable = lib.mkEnableOption ''
|
||||
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)
|
||||
'';
|
||||
}
|
||||
Reference in new issue
Block a user