Skip to content

Mixed server

Mixed inbound configuration

Supports SOCKS5 and HTTP proxy (CONNECT + plain HTTP forwarding) on the same port.

Example:

type: mixed
bind-addr: "0.0.0.0:1080"

Fields

bind-addr

  • Type: SocketAddr
  • Required: yes

Server binding address. e.g. 0.0.0.0:1080, [::]:1080

users

  • Type: list of AuthUser
  • Required: no
  • Default: Vec::new()

Socks5 username, optional Left empty to disable authentication