update 2026-06-10 16:03:15

This commit is contained in:
action 2026-06-10 16:03:15 +08:00
parent 9a06fbe427
commit 3abc5ecbce
2 changed files with 6 additions and 2 deletions

View File

@ -1771,6 +1771,11 @@ function gen_config(var)
})
if COMMON.default_outbound_tag then
table.insert(route.rules, {
action = "route",
port_range = { "0:65535" },
outbound = COMMON.default_outbound_tag
})
route.final = COMMON.default_outbound_tag
end

View File

@ -1462,11 +1462,10 @@ function gen_config(var)
if default_outboundTag then
local rule = {
_flag = "default",
type = "field",
outboundTag = default_outboundTag
}
if node.domainStrategy == "IPIfNonMatch" then
rule.ip = { "0.0.0.0/0", "::/0" }
rule.port = "1-65535"
else
rule.network = "tcp,udp"
end