mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-11-02 16:43: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
@@ -596,6 +596,7 @@ function gen_outbound(flag, node, tag, proxy_table)
|
||||
realm.scheme = nil
|
||||
realm.address = nil
|
||||
realm.port = nil
|
||||
realm.port_mapping = (node.hysteria2_realm_upnp == "1") and { enabled = true } or nil
|
||||
return realm
|
||||
end
|
||||
return nil
|
||||
@@ -951,6 +952,7 @@ function gen_config_server(node)
|
||||
realm.address = nil
|
||||
realm.port = nil
|
||||
realm.stun_domain_resolver = "direct"
|
||||
realm.port_mapping = (node.hysteria2_realm_upnp == "1") and { enabled = true } or nil
|
||||
return realm
|
||||
end
|
||||
return nil
|
||||
|
||||
Reference in new issue
Block a user