SOCKS5 Proxies with UDP

A SOCKS5 proxy relays any TCP connection, and UDP where the proxy supports it, without reading or changing the traffic. Every Proxya ISP, datacenter, residential and mobile proxy has a SOCKS5 port: static ISP and datacenter addresses with unmetered traffic, residential addresses billed per gigabyte and mobile devices on carrier SIM cards. On ISP and datacenter proxies UDP works on the SOCKS5 port with nothing to switch on.

  • SOCKS5 on all four address types
  • UDP over SOCKS5
  • Password or IP whitelist
  • DNS resolved by the proxy

SOCKS5 at a glance

Protocol
SOCKS5 (RFC 1928), next to HTTP and HTTPS on the same proxy
Carries
TCP, and UDP through the UDP ASSOCIATE command
Sign-in
Username and password. IP whitelist on ISP and datacenter
DNS
Resolved by the proxy with socks5h://
Address types
ISP, datacenter, residential and mobile
Price
$1.70 per proxy for 30 days, or $0.30 for one day

SOCKS5 and UDP by proxy type

SOCKS5 is not sold separately. It is a port on every ISP, datacenter, residential and mobile proxy, and the proxy type decides the address, the billing and how UDP works.

ISP proxiesThe HTTP port plus oneWorks, nothing to switch on$2.50 per proxy a month, traffic unmetered
Datacenter proxiesThe HTTP port plus oneWorks, nothing to switch on$1.70 per proxy a month, or $0.30 for one day
Residential proxies1080, 6000 to 6010 or 9101 to 9108, and 5555 for HTTP and SOCKS5 together, without UDPWith the UDP switch in the generator, on the DNS, QUIC and STUN ports$2.40/GB, rotating or sticky sessions
Residential ProEvery Pro port accepts HTTP and SOCKS5No$4.00/GB
Mobile proxiesShown on the order pageOn devices with UDP, picked with the UDP filter when orderingPer device, by the day, week or month

What a SOCKS5 proxy is

SOCKS5 is a proxy protocol described in RFC 1928. The client connects to the proxy, signs in and names the host and the port it wants to reach. The proxy opens that connection and passes bytes in both directions. It does not read the traffic or add headers to it, so any protocol that runs over TCP goes through: HTTPS, WebSocket, the protocols of messengers and apps.

The 5 is the version. Compared with SOCKS4 it added sign-in with a username and password, IPv6 and UDP. Domain names in requests had already come with the SOCKS4a extension.

A SOCKS5 proxy changes the address a site sees. It adds no encryption: a connection to an HTTPS site stays encrypted between your app and the site, and traffic that is not encrypted travels to the proxy in the open.

SOCKS5 or HTTP proxy

Both show a site the address of the proxy. They differ in what they can carry and in which programs work with them.

What it carriesAny TCP connection, and UDP where the proxy supports itHTTP requests, and HTTPS or other TCP through the CONNECT method
UDPYes, through UDP ASSOCIATENo
DNSBy the proxy with socks5h://, on your device with socks5://By the proxy
Changes to the trafficNoneCan add or change HTTP headers in requests that are not encrypted
Sign-inUsername and password, or IP whitelistUsername and password, or IP whitelist
ProgramsAntidetect browsers, messengers, tunnel clientsBrowsers, scrapers, HTTP libraries
Choose it whenThe program is not a browser, the traffic is not HTTP or you need UDPThe tool works over HTTP only, as most scrapers do

UDP over SOCKS5

UDP is the transport of DNS queries, QUIC and HTTP/3, and voice and video calls. An HTTP proxy cannot carry it. SOCKS5 can: the client sends the UDP ASSOCIATE command, the proxy opens a relay port, and datagrams pass through that port in both directions.

Two things have to hold for it to work. The proxy has to accept UDP ASSOCIATE, and the client has to send it. curl and ordinary HTTP libraries never send UDP through a proxy. Tunnel clients and many antidetect browsers do.

To check, open cloudflare-quic.com in the antidetect browser or the tunnel client that sends UDP through the proxy. The page says whether it was loaded over HTTP/3, which runs on UDP. The HTTP/3 row of our anonymity check shows the same.

ISP and datacenter
UDP works on the SOCKS5 port of every proxy. There is nothing to turn on.
Residential
Turn on the UDP switch in the generator. It sets SOCKS5 and port 1080. The UDP pool carries ports 53, 443, 3478 and 19302, which are DNS, QUIC and STUN. Pro has no UDP.
Mobile
UDP depends on the device. A device that has it is picked with the UDP filter when ordering.

How to connect over SOCKS5

The order page shows the host, the SOCKS5 port, the username and the password. Paste them into the program, or build the address in the form it takes.

Antidetect browser

Choose SOCKS5 in the proxy settings of the profile and enter the host, the port, the username and the password.

curl

The socks5h:// scheme leaves the name of the site for the proxy to resolve.

curl -x socks5h://USER:PASS@HOST:PORT https://api.ipify.org

Python

Install requests with SOCKS support (pip install requests[socks]) and pass one address for both schemes.

proxies = {"http": "socks5h://USER:PASS@HOST:PORT", "https": "socks5h://USER:PASS@HOST:PORT"}

Telegram

The proxy settings of Telegram have a SOCKS5 type, and its port field takes the HTTP port plus one. A separate ISP or datacenter proxy for each account gives the account its own address.

What SOCKS5 does not do

It does not encrypt
SOCKS5 passes traffic as it is. HTTPS stays encrypted between your app and the site. The username and the password travel to the proxy in the open, as the protocol defines.
It does not hide the browser
A site still sees the browser fingerprint, the time zone and WebRTC. The anonymity check shows what they give away.
Some ports are closed
Port 25 is closed on every proxy. On ISP and datacenter proxies the outgoing ports of SSH, RDP, the other mail services and a few more are closed as well. The documentation has the list.
UDP needs a client that sends it
A browser with a SOCKS5 proxy in its settings sends TCP only. UDP passes when the program supports UDP ASSOCIATE, as tunnel clients and many antidetect browsers do.

In the documentation

FAQ

SOCKS5 proxy questions

Everything you need to know about Proxya

A SOCKS5 proxy is a server that relays your connections from its own address over the SOCKS5 protocol. It passes any TCP connection, and UDP where it supports it, without reading or changing the traffic. The site you open sees the address of the proxy.

An HTTP proxy understands HTTP and carries HTTPS through the CONNECT method. A SOCKS5 proxy works one level lower: it relays any TCP connection and can carry UDP. Browsers and scrapers work with either. Programs that are not HTTP clients, and anything that needs UDP, need SOCKS5.

The protocol does, through the UDP ASSOCIATE command, but not every provider turns it on. At Proxya UDP works on the SOCKS5 port of every ISP and datacenter proxy, on residential proxies with the UDP switch in the generator, and on mobile devices that have UDP.

On ISP and datacenter proxies DNS queries and QUIC, the transport of HTTP/3, pass through the SOCKS5 port. On residential proxies the UDP pool carries ports 53, 443, 3478 and 19302, which are DNS, QUIC and STUN. Other UDP ports are not carried on residential proxies.

No. SOCKS5 relays traffic as it is and adds no encryption. A connection to an HTTPS site is encrypted between your app and the site, so the proxy sees the name of the site and the amount of traffic, not the content.

With socks5:// your device resolves the name of the site and gives the proxy an IP address. With socks5h:// the proxy resolves the name, so your own DNS server does not see which sites you open, and the name resolves to the site's servers for the proxy's country.

SOCKS5 is not sold separately, so the price is the price of the proxy. A datacenter proxy costs $1.70 a month or $0.30 for one day, an ISP proxy $2.50 a month, both with unmetered traffic. Residential proxies cost $2.40/GB.

Yes. Telegram has a SOCKS5 type in its proxy settings, and its port field takes the HTTP port plus one. A separate ISP or datacenter proxy for each account gives the account its own address. Where Telegram is blocked, MTProto and WEB proxies fit better: they are built to pass filtering, and SOCKS5 is not.

There is no free trial. The cheapest way to try SOCKS5 with UDP is a datacenter proxy for one day at $0.30.

Ready to get started?

Join 50,000+ users who trust Proxya for their proxy needs. Instant activation, no commitment.