mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-12 21:07:51 +08:00
🐶 Sync 2026-04-07 23:58:39
This commit is contained in:
1 parent
e695a61a97
commit
a2dd44d2c1
8 files changed
+34
-10
No files matched your search
@@ -908,7 +908,7 @@ function gen_config_server(node)
|
||||
outbound = require("luci.passwall.util_sing-box").gen_outbound(nil, outbound_node_t, "outbound")
|
||||
end
|
||||
if outbound then
|
||||
route.final = "outbound"
|
||||
route.final = outbound.tag
|
||||
table.insert(outbounds, 1, outbound)
|
||||
end
|
||||
end
|
||||
@@ -920,6 +920,12 @@ function gen_config_server(node)
|
||||
timestamp = true,
|
||||
--output = logfile,
|
||||
},
|
||||
dns = {
|
||||
servers = {{
|
||||
type = "local",
|
||||
tag = "direct"
|
||||
}}
|
||||
},
|
||||
inbounds = { inbound },
|
||||
outbounds = outbounds,
|
||||
route = route
|
||||
|
||||
Reference in new issue
Block a user