feat: tproxy lan gateway, killswitch; fix: zapret2 fixes, various other

This commit is contained in:
FUFSoB committed 2026-09-23 01:12:31 +05:00
1 parent 4bcc168b2a
commit ae8f65da2e
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)
'';
}