fix singbox endpoints proxy chain not work

DHR60 2025-04-12 13:37:51 +08:00
parent e1a2e9c631
commit aa5b7abbe3
2 changed files with 3 additions and 0 deletions

View File

@ -39,6 +39,7 @@ public class Route4Sbox
public bool? auto_detect_interface { get; set; }
public List<Rule4Sbox> rules { get; set; }
public List<Ruleset4Sbox>? rule_set { get; set; }
public string? final { get; set; }
}
[Serializable]

View File

@ -1243,6 +1243,8 @@ public class CoreConfigSingboxService
{
try
{
singboxConfig.route.final = Global.ProxyTag;
if (_config.TunModeItem.EnableTun)
{
singboxConfig.route.auto_detect_interface = true;