This commit is contained in:
DHR60 2026-04-14 10:16:34 +00:00 committed by GitHub
commit 2f0871ec95
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 2 deletions

View file

@ -11,7 +11,7 @@ public partial class CoreConfigSingboxService
_coreConfig.inbounds = [];
if (!context.IsTunEnabled
|| (context.IsTunEnabled && _node.Port != listenPort))
|| (context.IsTunEnabled && _node.Address != Global.Loopback && _node.Port != listenPort))
{
var inbound = new Inbound4Sbox()
{

View file

@ -96,7 +96,6 @@ public partial class CoreConfigSingboxService
_coreConfig.route.rules.Add(new()
{
port = [53],
network = ["udp"],
action = "hijack-dns"
});
}