mirror of
https://github.com/2dust/v2rayN.git
synced 2025-07-01 12:32:10 +00:00
fix singbox endpoints proxy chain not work
This commit is contained in:
parent
ad8eee4aa4
commit
19f43b5b80
2 changed files with 3 additions and 0 deletions
|
@ -40,6 +40,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]
|
||||
|
|
|
@ -1118,6 +1118,8 @@ public class CoreConfigSingboxService
|
|||
{
|
||||
try
|
||||
{
|
||||
singboxConfig.route.final = Global.ProxyTag;
|
||||
|
||||
if (_config.TunModeItem.EnableTun)
|
||||
{
|
||||
singboxConfig.route.auto_detect_interface = true;
|
||||
|
|
Loading…
Reference in a new issue