fix: overall tun/tproxy improvements

This commit is contained in:
fufsob committed 2026-09-16 14:18:16 +00:00
1 parent ff04debf90
commit 32341ba323
29 files changed
+445 -149

No files matched your search

+2 -1
View File
@@ -186,7 +186,8 @@ def portable_xray(cfg, only=None):
balanced = bool(routing.get("balancers"))
rules = []
for rule in routing.get("rules") or []:
if set(rule.get("inboundTag") or []) - {"mixed-in"}:
# "local" and "remote" are DNS servers' own queries: a proxy's name resolves direct.
if set(rule.get("inboundTag") or []) - {"mixed-in", "local", "remote"}:
continue
if rule.get("outboundTag") in dropped:
if balanced: