| 服务 | Matrix federation(默认 8448) |
|---|---|
| 协议 | TCP/HTTPS(联邦 API) |
| 用途 | 跨服务器 room 事件投递 |
| 安全等级 | 公网可达(协议要求),需限流与审计 |
自建 Synapse 若要加入联邦,8448 需对公网开放;不想开放可用 443 反代的 .well-known 方式。
联邦探测
联邦探测
curl -s https://matrix.example.com:8448/_matrix/federation/v1/version | head -c 200
# 或: curl -s https://example.com/.well-known/matrix/server