mirror of
https://github.com/XTLS/Xray-docs-next.git
synced 2026-10-02 03:48:15 +03:00
FinalMask: Add realm docs (#854)
* realm * url * optional --------- Co-authored-by: null <null>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user