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

+6 -1
View File
@@ -47,7 +47,8 @@ let
ob:
let
ro = ob.routing;
hasAny = ro.domains != [ ] || ro.ips != [ ] || ro.geosites != [ ] || ro.geoips != [ ];
hasAny =
ro.domains != [ ] || ro.ips != [ ] || ro.geosites != [ ] || ro.geoips != [ ] || ro.ruleSets != [ ];
in
lib.optional hasAny {
outbound = resolveTag ob.tag;
@@ -56,6 +57,7 @@ let
ips
geosites
geoips
ruleSets
;
}
) proxyCfg.outbounds;
@@ -78,10 +80,12 @@ let
onionOutbound
;
inherit (cfg) geodata;
inherit (derived) ruleSets;
};
inherit (singBoxRules)
geositeRuleSets
geoIPRuleSets
remoteRuleSets
singBoxRoutingRules
singBoxRouteModeRules
singBoxDnsRules
@@ -111,6 +115,7 @@ in
zapretDirectRules
geositeRuleSets
geoIPRuleSets
remoteRuleSets
singBoxRoutingRules
singBoxRouteModeRules
singBoxDnsRules