Skip to content

Outbound

Selects the upstream the inbound forwards to. Pick a variant via the type key.

Outbound configuration example:

type: socks # or shadowquic or direct
addr: "127.0.0.1:443" # "[::1]:443"
xxx: xxx # other field depending on type
See SocksClientCfg and ShadowQuicClientCfg for configuration field of corresponding type

Variants

This enum is serialized with the YAML key type selecting the variant.

Tag value Carries Description
socks SocksClientCfg
shadowquic ShadowQuicClientCfg
sunnyquic SunnyQuicClientCfg
direct DirectOutCfg