FinalMask: Add realm docs (#854)

* realm

* url

* optional

---------

Co-authored-by: null <null>
This commit is contained in:
LjhAUMEM
2026-05-31 16:33:05 +08:00
committed by GitHub
co-authored by null
parent 442e99f93e
commit 32dac732e7
3 changed files with 69 additions and 0 deletions
+23
View File
@@ -341,6 +341,29 @@ Salamander 混淆。(来自 Hysteria2)
`ips`: ips
### realm
自建 https://github.com/apernet/hysteria-realm-server
```json
{
"url": "realm://public@xxx/your-realm-name",
"stunServers": [
"stun.nextcloud.com:3478",
"global.stun.twilio.com:3478"
],
"tlsConfig": {} // optional
}
```
`url`: realm[+http]://token@host[:port]/id
`stunServers`: 多个 ipv4/ipv6 用于进行 NAT 端口预测
`tlsConfig`: 同 tlsSettings
连接不通需要 debug 级别日志,可能的影响因素有 stun提供商 realm提供商 punch包影响了quic握手(极小概率)
## quicParams
```json