Mixed server¶
Mixed inbound configuration
Supports SOCKS5 and HTTP proxy (CONNECT + plain HTTP forwarding) on the same port.
Example:
Fields¶
tag¶
- Type:
string - Required: yes
Required label for this endpoint.
default-outbound¶
- Type:
string(optional) - Required: no
Outbound this inbound prefers, stamped on every accepted request as
UserContext::preferred_outbound. A router script may honor or override
it; without a router it selects the outbound, and unset falls back to the
global default.
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