-
-
Notifications
You must be signed in to change notification settings - Fork 464
Proxy Models
Jason Lyu edited this page Oct 24, 2023
·
15 revisions
HTTP proxy server must support CONNECT method!
-proxy http://server_host:port
Socks4 only support USERID auth.
-proxy socks4://<userid>@server_host:port
-proxy socks5://<username>:<password>@server_host:port
or
-proxy socks5:///path/to/file
(Unix Domain Socket)
-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>
Latest GOST version is required for better compatibility.
-proxy relay://<username>:<password>@server_host:port?<nodelay=false>
-proxy direct://
Reject simply blocks all outgoing connections.
-proxy reject://
Proxy | UDP Support | UDP Type |
---|---|---|
HTTP | ❌ | N/A |
Socks4 | ❌ | N/A |
Socks5 | ✅ | UDP |
Shadowsocks | ✅ | UDP |
Relay | ✅ | UDP over TCP |
Direct | ✅ | UDP |
Reject | N/A | N/A |