Skip to main content

SOCKS5/SOCKS5-TLS

Protocol standard

Sample

ProxySOCKS5 = socks5, 1.2.3.4, 443, username, password, udp-relay=false
ProxySOCKS5TLS = socks5-tls, 1.2.3.4, 443, username, password, skip-cert-verify=true, sni=www.google.com

Format

{proxy name} = {protocol}, {host}, {port}, {username}, {password}, {skip-cert-verify}, {sni}

Params

NameValueMandatoryNote
proxy name-true
protocolsocks5
socks5-tls
true
host-trueSupport domain and ip format
port0-65535true
username-false
password-false
skip-cert-verifytrue
false
falseUsable if protocol is socks5-tls
set to true if proxy doesn't have a valid TLS certificate
snifalseUsable if protocol is socks5-tls
definition is unnecessary when the SNI value is the same as the host value
tip

To test with SOCKS5-TLS proxy, please try to use https://github.com/ginuerzh/gost, which can a create SOCKS-TLS proxy out of the box