HTTP & Mixed Inbounds¶
ClashRS supports standalone HTTP proxies (http) and combined HTTP + SOCKS5 proxies (mixed) on a single TCP port.
HTTP Inbound (type: http)¶
- Transport: TCP only (supports both plain HTTP proxy requests and
CONNECTtunneling for HTTPS). - Authentication: Uses top-level
authenticationvia HTTP BasicProxy-Authorization. - Type-specific fields: None beyond common listener fields.
Mixed Inbound (type: mixed)¶
The mixed listener peeks at the first byte of each incoming TCP connection:
- If the first byte is
0x05, the connection is handled as SOCKS5 (includingUDP_ASSOCIATE). -
Otherwise, the connection is handled as an HTTP proxy request.
-
Authentication: Uses top-level
authenticationfor both HTTP and SOCKS5 clients. - Type-specific fields:
udp(bool, optional, defaulttrue): Accepted for schema compatibility. At runtime, SOCKS5UDP_ASSOCIATEis always available over the SOCKS5 handshake.