Skip to content
Protocols

SOCKS5 proxy

SOCKS5 is a connection protocol defined in RFC 1928. It relays any TCP connection and, where the server supports UDP ASSOCIATE, UDP datagrams. Authentication is optional; the common method is username and password per RFC 1929. SOCKS5 says how your client talks to the proxy, not where the IP comes from: residential, mobile, static ISP and datacenter proxies can all be offered over SOCKS5.

Pick a proxy

Choose this when

  • Your software sends non-HTTP TCP traffic, or only offers SOCKS settings.
  • You want DNS resolved on the proxy side so lookups match the exit location (socks5h in curl).
  • You need UDP and have confirmed with us that UDP ASSOCIATE is available for the selected setup.

Not this when

  • Your tool supports only HTTP proxies, or needs an extra library for SOCKS that you cannot install.
  • You assume SOCKS5 is a separate network type: it is only the protocol, so still choose the proxy type for the target.
  • You need UDP but the selected setup has not been confirmed to support it.

Where DNS is resolved

With socks5:// in curl, the client resolves the hostname itself and sends an IP address to the proxy. With socks5h://, the hostname is sent to the proxy and resolved there. Proxy-side resolution avoids local DNS lookups that reveal your own resolver and can return answers for the wrong region.

  • curl -x socks5://user:pass@host:port: DNS on your machine.
  • curl -x socks5h://user:pass@host:port: DNS on the proxy.

TCP, UDP and authentication

SOCKS5 defines CONNECT for TCP, BIND for inbound connections and UDP ASSOCIATE for datagrams. Many proxy setups support only TCP CONNECT, so state in the request if you need UDP.

Username and password are sent in clear text during the SOCKS handshake, so prefer TLS-protected targets for sensitive data, or use an IP allowlist.

Matching offers

Frequently asked questions

Not by itself. Both hide your IP from the target. What the target sees depends on the exit IP type and on your client, not on the protocol.

Protocols

Not sure which proxy fits?

Describe the task in two sentences. We reply with a concrete setup and price, usually within one business day.

Availability, exact parameters and price are confirmed in our reply after manual selection. Nothing is charged automatically.

Pick a proxy