feat: tor support
This commit is contained in:
42 files changed
+1853
-69
No files matched your search
@@ -6,6 +6,7 @@
|
||||
tgWsProxyCfg,
|
||||
customRules,
|
||||
customRuleCategory,
|
||||
onionOutbound,
|
||||
geodata,
|
||||
}:
|
||||
|
||||
@@ -60,7 +61,11 @@ let
|
||||
action = "hijack-dns";
|
||||
}
|
||||
{ action = "sniff"; }
|
||||
];
|
||||
]
|
||||
++ lib.optional (onionOutbound != null) {
|
||||
domain_suffix = [ "onion" ];
|
||||
outbound = onionOutbound;
|
||||
};
|
||||
|
||||
customRouteRules = map (rule: {
|
||||
category = customRuleCategory rule.outbound;
|
||||
|
||||
Reference in new issue
Block a user