Files
shell-scripts/v2ray示例/XRay-外网服务器/外网服务器-说明文档.md
2023-05-15 16:49:09 +08:00

19 lines
832 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## Xray官方文档写的非常好
https://xtls.github.io/document/level-1/fallbacks-lv1.html
这一段配置用人话要怎么解释呢?
Xray 的入站端口 (inbound port) 是 443
即由 Xray 负责监听 443 端口的 HTTPS 流量,并使用 certificates 项下设定的 TLS 证书来进行验证
Xray 的入站协议 (inbound protocol) 是 vless
1. vless 协议流量直接流入 Xray 中做后续处理
2. 非 VLESS 协议流量有 4 个不同的回落目标:
1. path 为 websocket 的流量,回落给端口 1234 后续处理
2. path 为 vmesstcp 的流量,回落给端口 2345 后续处理
3. path 为 vmessws 的流量,回落给端口 3456 后续处理
4. 其它所有流量,回落给端口 1310 后续处理
3. xver 为 1 表示开启 proxy protocol 功能,向后传递来源真实 IP