Docs Config SOCKS

SOCKS

The SOCKS5 proxy protocol, commonly used with local forwarding tools or NAT traversal tools (like frp/ssh -D) that expose a proxy port.

Example Config

config.yaml YAML
proxies:
  - name: "socks"
    type: socks5
    server: server
    port: 443
    # username: username
    # password: password
    # tls: true
    # fingerprint: xxxx
    # skip-cert-verify: true
    # udp: true
    # ip-version: ipv6

Field Reference

Set type to socks5; username/password are optional authentication credentials; enabling tls switches to encrypted SOCKS5 over TLS (combine with the TLS fields); udp determines whether UDP traffic is allowed through this node — SOCKS5 itself supports UDP ASSOCIATE, but it depends on whether the server implementation supports it too. The rest are common fields.