mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-11-04 06:23:56 +08:00
update 2026-08-28 11:58:47
This commit is contained in:
1 parent
587815b344
commit
1de7860148
20 files changed
+221
-8
No files matched your search
@@ -308,7 +308,8 @@ function gen_outbound(flag, node, tag, proxy_table)
|
||||
type = "realm",
|
||||
settings = {
|
||||
url = url,
|
||||
stunServers = stun
|
||||
stunServers = stun,
|
||||
portMapping = (node.hysteria2_realm_upnp == "1") and { enabled = true } or nil
|
||||
}
|
||||
}
|
||||
udp[#udp+1] = r
|
||||
@@ -782,7 +783,8 @@ function gen_config_server(node)
|
||||
type = "realm",
|
||||
settings = {
|
||||
url = url,
|
||||
stunServers = stun
|
||||
stunServers = stun,
|
||||
portMapping = (node.hysteria2_realm_upnp == "1") and { enabled = true } or nil
|
||||
}
|
||||
}
|
||||
udp[#udp+1] = r
|
||||
|
||||
Reference in new issue
Block a user