VXVX Docs

Transport

TransportConfig — wire protocols and socket options

Transport settings wrap proxy protocols on inbounds and outbounds via transport: { ... }.

Root message: TransportConfig in protos/proto/vx/transport/transport.proto.

TransportConfig

FieldDescription
socketSocketConfig — marks, TFO, bind, buffers
tcp, kcp, websocket, http, grpc, httpupgrade, splithttpWire protocol (oneof)
tls, realitySecurity layer (oneof); see Security
transportProtocol, securityProtocolAny escape hatch for extended types

Only one protocol and one security field should be set per config.

Example (VLESS + WebSocket + TLS)

{
  "tag": "vless-ws",
  "ports": [443],
  "transport": {
    "websocket": { "path": "/ws", "host": "example.com" },
    "tls": {
      "serverName": "example.com",
      "certificates": [
        { "certificateFilepath": "/etc/vx/cert.pem", "keyFilepath": "/etc/vx/key.pem" }
      ]
    }
  },
  "protocol": {
    "@type": "type.googleapis.com/vx.proxy.vless.VlessServerConfig",
    "users": [{ "id": "uuid" }]
  }
}

Wire protocols

Multi-inbound transport matrix

On MultiProxyInboundConfig, transport protocols are selected per ALPN/SNI/path in transportProtocols[] instead of a single TransportConfig. Security blocks work the same way in securityConfigs[]. See Inbounds.

Comments