Skip to content
Edit this page

VLESS Outbound (type: vless)

  • Feature: Built-in (all platforms).
  • connect-via / dialer-proxy: TCP + UDP supported.
  • mTLS: Supported via paired tls-cert and tls-key (non-REALITY TLS only).

For transport block details (ws-opts, h2-opts, grpc-opts, xhttp-opts, reality-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.
udp — bool No true Enable UDP relay.
tls — bool No false Enable standard TLS (overridden by reality-opts if present).
skip-cert-verify — bool No false Skip TLS certificate verification.
server-name servername string No ws-opts.headers.Host → xhttp-opts.host → server (or server for REALITY) TLS / REALITY SNI.
network — "tcp" | "ws" | "h2" | "grpc" | "xhttp" | "splithttp" No "tcp" Transport protocol.
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.
reality-opts — RealityOpt No None Enables TLS REALITY (public-key, short-id).
flow — string No None Recognizes "xtls-rprx-vision" (applied to TCP streams only; UDP does not use Vision).
client-fingerprint — string No None Not yet implemented (uTLS): accepted in YAML but ignored with a warning.
tls-cert, tls-key — string No None Paired mTLS client certificate/key (non-REALITY TLS only).

Examples

proxies:
  - name: vless-reality
    type: vless
    server: reality.example.com
    port: 443
    uuid: "00000000-0000-0000-0000-000000000000"
    udp: true
    tls: true
    flow: xtls-rprx-vision
    servername: www.example.org
    reality-opts:
      public-key: "REPLACE_WITH_32BYTE_URLSAFE_BASE64_KEY"
      short-id: "0123456789abcdef"
proxies:
  - name: vless-xhttp
    type: vless
    server: xhttp.example.com
    port: 443
    uuid: "00000000-0000-0000-0000-000000000000"
    udp: true
    tls: true
    servername: xhttp.example.com
    network: xhttp
    xhttp-opts:
      path: /xhttp
      host: xhttp.example.com
      x-padding-bytes: "100-1000"