update 2026-06-04 16:15:35

This commit is contained in:
action 2026-06-04 16:15:35 +08:00
parent 4673a64a84
commit 6b1b86b56f
4 changed files with 22 additions and 0 deletions

View File

@ -1762,6 +1762,12 @@ function gen_config(var)
end
end
table.insert(route.rules, {
action = "route",
ip_is_private = true,
outbound = "direct"
})
if COMMON.default_outbound_tag then
route.final = COMMON.default_outbound_tag
end

View File

@ -1482,6 +1482,11 @@ function gen_config(var)
end
end)
table.insert(rules, {
outboundTag = "direct",
ip = { "geoip:private" }
})
if default_outboundTag then
local rule = {
_flag = "default",

View File

@ -1797,6 +1797,12 @@ function gen_config(var)
end
end
table.insert(route.rules, {
action = "route",
ip_is_private = true,
outbound = "direct"
})
if COMMON.default_outbound_tag then
route.final = COMMON.default_outbound_tag
end

View File

@ -1518,6 +1518,11 @@ function gen_config(var)
end
end)
table.insert(rules, {
outboundTag = "direct",
ip = { "geoip:private" }
})
if default_outboundTag then
local rule = {
ruleTag = "default",