refactor: overhaul of options and features

Includes, but not limited to:
- zapret2 support
- declarative inbounds
- proxy-ctl revamp
- automatic proxy learning
This commit is contained in:
FUFSoB committed 2026-09-13 22:37:45 +05:00
1 parent b892384527
commit fdb2b08790
144 files changed
+13198 -14066

No files matched your search

+4 -4
View File
@@ -8,13 +8,13 @@
let
proxyCfg = cfg.proxy;
globalTproxy = proxyCfg.tproxy;
perAppTun = proxyCfg.tun.perApp;
perAppTproxy = proxyCfg.tproxy.perApp;
zapretApp = cfg.zapret.perApp;
perAppTun = cfg.perAppRouting.tun;
perAppTproxy = cfg.perAppRouting.tproxy;
zapretApp = cfg.perAppRouting.zapret;
tgWsProxyCfg = cfg.tgWsProxy;
tgWsProxyBypassEnabled = tgWsProxyCfg.enable && tgWsProxyCfg.bypassTransparentProxy;
tgWsProxyBypassMarkLine = lib.optionalString tgWsProxyBypassEnabled ''
meta mark ${toString tgWsProxyCfg.routingMark} return
meta mark ${toString tgWsProxyCfg.fwmark} return
'';
# Shared across all three nftables rule files that do IPv4 routing.