VMess Outbound (type: vmess)¶
- Feature: Built-in (all platforms).
connect-via/dialer-proxy: TCP + UDP supported.- mTLS: Supported via paired
tls-certandtls-key.
For transport block details (ws-opts, h2-opts, grpc-opts, xhttp-opts), see Common Types & Transports.
Fields¶
| Key | Alias | Type | Required | Default | Description |
|---|---|---|---|---|---|
name, server, port, connect-via |
dialer-proxy |
Common | Yes (except connect-via) |
— | Standard outbound options. |
uuid |
— | string |
Yes | — | Standard UUID. |
alter-id |
alterId |
u16 |
Yes | — | Use 0 for AEAD. |
cipher |
— | string |
Recommended | "" |
Must be one of auto, aes-128-gcm, chacha20-poly1305, or none (case-insensitive). Leaving it omitted fails at dial time with invalid security; auto selects aes-128-gcm on x86_64/aarch64/s390x and chacha20-poly1305 elsewhere. |
udp |
— | bool |
No | true |
Enable UDP relay. |
tls |
— | bool |
No | false |
Enable TLS. |
skip-cert-verify |
— | bool |
No | false |
Skip TLS certificate verification. |
server-name |
servername |
string |
No | ws-opts.headers.Host → xhttp-opts.host → server |
TLS SNI override. |
network |
— | "ws" | "h2" | "grpc" | "xhttp" | "splithttp" |
No | Raw TCP | Transport protocol (when tls: true, ALPN defaults to ["http/1.1"] for ws and ["h2"] for h2/grpc/xhttp/splithttp). |
ws-opts |
— | WsOpt |
When network: ws |
None |
WebSocket options. |
h2-opts |
— | H2Opt |
When network: h2 |
None |
HTTP/2 options. |
grpc-opts |
— | GrpcOpt |
When network: grpc |
None |
gRPC options. |
xhttp-opts |
splithttp-opts |
XhttpOpt |
Optional for xhttp/splithttp |
Default XhttpOpt |
XHTTP / SplitHTTP options. |
tls-cert, tls-key |
— | string |
No | None |
Paired mTLS client certificate and private key. |