mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-12 12:37:51 +08:00
🍕 Sync 2026-08-28 16:44:23
This commit is contained in:
1 parent
7630ce970c
commit
6490d09e15
22 files changed
+113
-31
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