VXVX Docs

Outbounds

OutboundHandlerConfig reference

Outbound handlers are listed in ServerConfig.outbounds. Schema: protos/proto/vx/outbound/outbound.proto.

Each handler has a unique tag used by router rules (outboundTag) or as a chain target.

OutboundHandlerConfig

FieldTypeDescription
tagstringHandler name for routing
transportTransportConfigClient transport (TLS, WebSocket, …)
addressstringRemote host or IP
portuint32Remote port
portsPortRange[]Multiple port ranges
protocolAnyProxy client config (Freedom, Blackhole, VMess, …)
enableMuxboolEnable connection mux
muxConfigMuxConfigmaxConnection, maxConcurrency
uotboolUDP over TCP
domainStrategyenumHow to resolve domains when dialing (PreferIPv4, PreferIPv6, IPv4Only, IPv6Only, Speed)
randomRandomPortSelectStrategyUse all ports in ports at once
oneOnePortSelectStrategyRotate a single port (interval or minInterval / maxInterval)

Direct (freedom) outbound

Required for a minimal server that forwards traffic without an upstream proxy:

{
  "tag": "direct",
  "protocol": {
    "@type": "type.googleapis.com/vx.proxy.freedom.FreedomConfig"
  }
}

Block outbound

{
  "tag": "block",
  "protocol": {
    "@type": "type.googleapis.com/vx.proxy.blackhole.BlackholeConfig"
  }
}

Proxy client configs: Proxy protocols (*ClientConfig messages). Wrap with Transport and Security as needed.

OutboundConfig (client / advanced)

OutboundConfig in the same proto file is used in richer client setups (handler lists, chains, stats). Server ServerConfig uses the flat outbounds repeated field of OutboundHandlerConfig only.

FieldDescription
handlersHandlerConfig[] — single outbound or ChainHandlerConfig
hysteriaRejectQuicReject QUIC for Hysteria
handlerLinkStats, handlerMeter, totalCounterStats and metering

Comments