fix: Exclude Umbrix processes from VPN routing
- Uncommented process exclusion rule for desktop platforms - Changed process names from Hiddify to Umbrix - Added 'Umbrix Start.exe' to handle renamed launcher - Prevents routing loops when Umbrix routes its own traffic Process names excluded: - Umbrix, Umbrix.exe (main app) - Umbrix Start.exe (launcher) - UmbrixCli, UmbrixCli.exe (CLI utility)
This commit is contained in:
@@ -482,16 +482,17 @@ func setRoutingOptions(options *option.Options, opt *HiddifyOptions) {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
// routeRules = append(
|
// Exclude Umbrix itself from VPN to avoid routing loops
|
||||||
// routeRules,
|
routeRules = append(
|
||||||
// option.Rule{
|
routeRules,
|
||||||
// Type: C.RuleTypeDefault,
|
option.Rule{
|
||||||
// DefaultOptions: option.DefaultRule{
|
Type: C.RuleTypeDefault,
|
||||||
// ProcessName: []string{"Hiddify", "Hiddify.exe", "HiddifyCli", "HiddifyCli.exe"},
|
DefaultOptions: option.DefaultRule{
|
||||||
// Outbound: OutboundBypassTag,
|
ProcessName: []string{"Umbrix", "Umbrix.exe", "Umbrix Start.exe", "UmbrixCli", "UmbrixCli.exe"},
|
||||||
// },
|
Outbound: OutboundBypassTag,
|
||||||
// },
|
},
|
||||||
// )
|
},
|
||||||
|
)
|
||||||
}
|
}
|
||||||
routeRules = append(routeRules, option.Rule{
|
routeRules = append(routeRules, option.Rule{
|
||||||
Type: C.RuleTypeDefault,
|
Type: C.RuleTypeDefault,
|
||||||
|
|||||||
Reference in New Issue
Block a user