Proxy Ports
This is the simplest way to set up an inbound: just put a port number at the top level, and enter that port in your client's proxy settings โ no need for the more complex listeners syntax.
Four Port Types
portHTTP(S) Proxy PortOnly supports the HTTP/HTTPS proxy protocol.
port: 7890
socks-portSOCKS4/4a/5 Portsocks-port: 7891
mixed-portMixed Port (Recommended)Supports both HTTP(S) and SOCKS5 on a single port โ client software can connect regardless of whether it identifies as an HTTP or SOCKS proxy. This is the most commonly used option today.
mixed-port: 7892
redir-port / tproxy-portTransparent Proxy Portsredir-port is limited to Linux(Android)/macOS and only proxies TCP traffic; tproxy-port is limited to Linux(Android) but can proxy both TCP and UDP. TUN mode is generally used instead for everyday use โ these two are mostly used in router/gateway scenarios.
redir-port: 7893
tproxy-port: 7894
Need Finer Control?
If you need a dedicated listen address, authentication, or a UDP toggle for a specific port, or want to open multiple ports of the same type at once, use the more flexible listeners syntax instead.