Skip to content

Proxy Models

Jason Lyu edited this page Oct 23, 2023 · 15 revisions

Supported proxy models

HTTP

HTTP proxy server must support CONNECT method!

-proxy http://server_host:port

Socks4

Socks4 only support USERID auth.

-proxy socks4://<userid>@server_host:port

Socks5

Socks5 is UDP supported.

-proxy socks5://<username>:<password>@server_host:port

or

-proxy socks5:///path/to/file (Unix Domain Socket)

Shadowsocks

Shadowsocks is UDP supported.

-proxy ss://method:password@server_host:port/<?obfs=http;obfs-host=xxx>

or in SIP002 URI scheme:

-proxy ss://base64_encode(method:password)@server_host:port/<?obfs=http;obfs-host=xxx>

Direct

-proxy direct://

Reject

Reject simply blocks all outgoing connections.

-proxy reject://

Clone this wiki locally