Skip to content

分享链接格式说明(ver 2)

2dust edited this page Sep 10, 2020 · 12 revisions

分享的链接(二维码)格式:vmess://(Base64编码的json格式服务器数据

v2rayN/v2rayN/v2rayN/Mode/VmessQRCode.cs

json数据如下

{
"v": "2",
"ps": "备注别名",
"add": "111.111.111.111",
"port": "32000",
"id": "1386f85e-657b-4d6e-9d56-78badb75e1fd",
"aid": "100",
"net": "tcp",
"type": "none",
"host": "www.bbb.com",
"path": "/",
"tls": "tls"
}

  • v:配置文件版本号,主要用来识别当前配置
  • net :传输协议(tcp\kcp\ws\h2\quic)
  • type:伪装类型(none\http\srtp\utp\wechat-video) *tcp or kcp or QUIC
  • host:伪装的域名
  1. 1)http host中间逗号(,)隔开
  2. 2)ws host
  3. 3)h2 host
  4. 4)QUIC securty
  • path:path
  1. 1)ws path
  2. 2)h2 path
  3. 3)QUIC key/Kcp seed
  • tls:底层传输安全(tls)
Clone this wiki locally