Skip to content

Proxy Models

Jason Lyu edited this page Feb 12, 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

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

or

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

Shadowsocks

-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

For debug/test only

-proxy direct://

Reject

Reject would literally block all outgoing connections.

-proxy reject://

Clone this wiki locally