Skip to main content
Residential proxies can carry UDP as well as TCP when you connect over SOCKS5. Your client opens a normal SOCKS5 connection, asks for a UDP relay, and then sends its UDP packets to that relay. We forward them to the destination and send the replies back the same way.
You need a SOCKS5 client that supports the UDP ASSOCIATE command. Many tools, curl for example, only send TCP over SOCKS5. They can log in but can’t send UDP.

Connection Settings

string
required
true to route the session over the UDP-capable path. 1, yes and on also work.
You can combine udp-true with geo-targeting, OS-targeting, location fallback and sessions. Put it before the session ID:
UDP also works without udp-true. Adding it sends your TCP connections over the same path, so the TCP and UDP traffic of a sticky session share one identity. Add it whenever you use both.

How It Works

  1. Your client opens a SOCKS5 connection to residential.roundproxies.com:5002 and logs in.
  2. It sends a UDP ASSOCIATE request.
  3. We reply with the address and port of your UDP relay.
  4. Your client sends its UDP packets to the relay, and we forward them to the destination.
  5. Replies come back through the relay.
Keep the connection from step 1 open while you use UDP. Closing it ends the relay.

Test With a DNS Query

DNS runs over UDP port 53, so it is the quickest way to test. This example uses PySocks (pip install pysocks) to look up example.com at 1.1.1.1:
Python
If you get a DNS answer back, UDP is working.

Rules and Limits

  • Same IP for TCP and UDP. Your UDP packets must come from the same public IP as your SOCKS5 login. Packets from other IPs are dropped. The first packet also fixes the UDP port you send from.
  • Blocked ports. Mail (SMTP, POP3, IMAP), FTP, SSH and Telnet ports are blocked, the same as for TCP. Packets to them are dropped.
  • No fragmentation. SOCKS5 UDP fragments are not supported. Each packet has to fit in one UDP datagram.
  • Billing. UDP packets in both directions count toward your data balance, the same as TCP. When your balance runs out, the relay closes.

Troubleshooting

If UDP ASSOCIATE fails, you get the same SOCKS5 reply codes as for a failed TCP connection. See Error Handling.
Last modified on October 14, 2026