VMESS
Protocol standard
- https://www.v2fly.org/en_US/developer/protocols/vmess.html
- https://www.v2fly.org/config/protocols/vmess.html#vmess-md5-%E8%AE%A4%E8%AF%81%E4%BF%A1%E6%81%AF-%E7%8E%B7%E6%B1%A1%E6%9C%BA%E5%88%B6
- https://en.wikipedia.org/wiki/Universally_unique_identifier
- https://en.wikipedia.org/wiki/Transport_Layer_Security
- https://en.wikipedia.org/wiki/Server_Name_Indication
Sample
ProxyVMess = vmess, 1.2.3.4, 8000, username=0233d11c-15a4-47d3-ade3-48ffca0ce119, udp-relay=false, ws=true, tls=true, ws-path=/v2, ws-headers=X-Header-1:value|X-Header-2:value, skip-cert-verify=true, sni=www.google.com, vmess-aead=true
Format
{proxy name} = vmess, {server}, {port}, {username}, {udp-relay}, {ws}, {tls}, {ws-path}, {ws-headers}, {skip-cert-verify}, {sni}, {vmess-aead}
Params
Name | Value | Mandatory | Note |
---|---|---|---|
proxy name | - | true | |
server | - | true | Support domain and ip format |
port | 0 - 65535 | true | |
username | - | true | UUID format |
udp-relay | true false | false | Default value: false |
ws | true false | false | Default value: false |
tls | true false | false | Default value: false |
ws-path | - | false | Default value: / usable only when ws set to true |
ws-headers | - | false | Value format: Header-1:value-1|Header-2:value-2 Key and value is divided by colon Entries are divided by vertical bar Usable only when ws set to true |
skip-cert-verify | true false | false | Usable if tls is true set to true if proxy doesn't have a valid TLS certificate |
sni | - | false | Usable if tls is true definition is unnecessary when the SNI value is the same as the host value |
vmess-aead | true false | false | Default value: true |
caution
vmess-aead
is still an unconfirmed standard of Surge profile format, format may be changed in the future