{
"type": "vmess",
"tag": "vmess-out",
"server": "127.0.0.1",
"server_port": 1080,
"uuid": "bf000d23-0752-40b4-affe-68f7707a9661",
"security": "auto",
"alter_id": 0,
"global_padding": false,
"authenticated_length": true,
"network": "tcp",
"tls": {},
"packet_encoding": "",
"multiplex": {},
"transport": {},
... // Dial Fields
}
==Required==
The server address.
==Required==
The server port.
==Required==
The VMess user id.
Encryption methods:
autononezeroaes-128-gcmchacha20-poly1305Legacy encryption methods:
aes-128-ctr| Alter ID | Description |
|---|---|
| 0 | Use AEAD protocol |
| 1 | Use legacy protocol |
| > 1 | Unused, same as 1 |
Protocol parameter. Will waste traffic randomly if enabled (enabled by default in v2ray and cannot be disabled).
Protocol parameter. Enable length block encryption.
Enabled network
One of tcp udp.
Both is enabled by default.
TLS configuration, see TLS.
UDP packet encoding.
| Encoding | Description |
|---|---|
| (none) | Disabled |
| packetaddr | Supported by v2ray 5+ |
| xudp | Supported by xray |
Multiplex configuration, see Multiplex.
V2Ray Transport configuration, see V2Ray Transport.
See Dial Fields for details.