Outbounds Overview¶
Outbound proxies are defined under top-level proxies (or loaded dynamically via proxy-providers). Every proxy must have a globally unique name.
Two built-in proxies — DIRECT and REJECT — are registered automatically and cannot be shadowed by user-defined entries.
Supported Outbound Protocols (16 Types)¶
type |
Transports / Highlights | Default UDP | connect-via Support |
Required Feature | Page |
|---|---|---|---|---|---|
direct |
Direct egress | Always true |
TCP | Built-in | This page |
reject |
Drop connection | false |
All | Built-in | This page |
ss |
Plain, obfs, v2ray-plugin (WS), shadow-tls v3 |
true |
TCP + UDP | shadowsocks (standard) |
Shadowsocks |
trojan |
TLS, WS, gRPC, mTLS | false |
TCP + UDP | Built-in | Trojan |
vmess |
TCP, TLS, WS, H2, gRPC, XHTTP, mTLS | true |
TCP + UDP | Built-in | VMess |
vless |
TCP, TLS, WS, H2, gRPC, XHTTP, REALITY, Vision, mTLS | true |
TCP + UDP | Built-in | VLESS |
tuic |
QUIC v5 (bbr/bbr3/cubic/new_reno), mTLS |
Always true |
Not supported | tuic (standard) |
TUIC |
hysteria2 |
QUIC, port hopping, Salamander obfs, mTLS | Server-negotiated | Not in schema | Built-in | Hysteria2 |
shadowquic |
QUIC / over-stream, JLS, brutal/bbr/bbr3 | Always true |
Not supported | shadowquic (standard) |
ShadowQUIC |
anytls |
TLS + UoT v2, mTLS | false |
TCP + UDP | Built-in | AnyTLS |
naive |
HTTP/2 or QUIC (Cronet) + UoT v2 | false |
Rejected (InvalidConfig) |
naive (opt-in) |
Naive |
socks5 |
Plain TCP or TLS + UDP | true |
TCP + UDP | Built-in | SOCKS5 |
wireguard |
Userspace BoringTun (IPv4/IPv6) | false |
Not supported | wireguard (standard) |
WireGuard |
ssh |
SSH tunnel (password, key, host-key, TOTP) | false |
TCP | ssh (standard) |
SSH |
tailscale |
Tailnet / Headscale mesh VPN | Always true |
Not supported | tailscale (standard) |
Tailscale |
tor |
Tor onion routing | false |
Not supported | onion (plus build) |
Tor |
Unsupported Outbound Types & Per-Proxy Fields
- Unsupported types:
httpoutbound,snell, andssrare not supported and fail YAML parsing. - Absent per-proxy fields:
smux,ip-version, and standaloneshadow-tls-optsdo not exist (ShadowTLS is configured viassplugin: shadow-tls). Per-proxyinterface-nameandrouting-markare only available ontor; use top-levelinterface/routing-markor rule-levelinterface=<iface>for global/per-rule egress control.
Common Outbound Options (CommonConfigOptions)¶
Shared by ss, socks5, anytls, trojan, vmess, vless, wireguard, tuic, naive, ssh, and shadowquic:
| Key | Alias | Type | Required | Description |
|---|---|---|---|---|
name |
— | string |
Yes | Unique proxy name. |
server |
— | string |
Yes | Server hostname or IP. |
port |
— | u16 |
Yes | Server port (integer). |
connect-via |
dialer-proxy |
string |
No | Upstream proxy or proxy group name used to dial this proxy (cannot reference a node defined only inside a proxy-provider). |
Built-in direct and reject¶
While DIRECT and REJECT are always registered automatically, you may also define custom aliases:
Client Certificates (mTLS)¶
anytls, trojan, vmess, vless (non-REALITY), tuic, and hysteria2 support mutual TLS via tls-cert and tls-key (file path or inline PEM; both must be provided together). See TLS Certificates.