Skip to content

VLESS + TLS ​

sing-box 和 mihomo 上的 VLESS 节点:VLESS 加 TLS,传输方式可选。适合想用自己的证书、又想在 sing-box 或 mihomo 上统一管理的场景;Xray 上对应的是 Vision 和 XHTTP。

支持的内核sing-box、mihomo
传输方式sing-box:tcp、ws、grpc、http、httpupgrade、quic;mihomo:tcp、ws、grpc、xhttp
域名和证书需要证书;用自签证书时加 --insecure 1
共用 443可以(--mount-443)
常用客户端v2rayN、Shadowrocket、Clash Verge Rev、sing-box、NekoBox

在菜单里创建 ​

  • sing-box:主菜单 2 → 4. 节点管理 → 9. VLESS + TLS
  • mihomo:主菜单 3 → 4 → 9

sing-box 的 VLESS + TLS 节点菜单

用命令创建 ​

bash
psm node add sing-box vless --tag my-vless --port 11443 \
  --sni hk.example.com \
  --cert-path /etc/nginx/ssl/hk.example.com/fullchain.pem \
  --key-path  /etc/nginx/ssl/hk.example.com/privkey.pem \
  --transport ws --path /ws
参数说明
--sni证书对应的域名
--cert-path、--key-path证书和私钥;主菜单 10. SSL 证书管理 签发的证书在 /etc/nginx/ssl/域名/
--transport传输方式,见上表;--path 设置 ws 等的路径
--insecure 1自签证书时加上(证书都不填则 PSM 自动签一张并记为自签)。导出的链接带上证书指纹 pcs:v2rayN 等 Xray 内核的客户端据此校验这一张证书(Xray 从 2026-06-01 起不再接受跳过校验),其他客户端照旧跳过校验
--mount-443挂到 443 复用上
--ech true加上 ECH(加密 Client Hello)
--vless-enc x25519|mlkem768|none仅 mihomo:再加一层 VLESS Encryption(sing-box 客户端用不了,sing-box 订阅里不会有这个节点);psm node update … --vless-enc 可以开、换或关(none)

导出给客户端 ​

bash
psm node export sing-box vless my-vless

VLESS + TLS 节点的分享链接

基于 AGPL-3.0 许可发布 · 仅用于合法用途,请遵守当地法律法规