UDP & HTTP/3
Residential Proxies on the Full Geo pool support UDP as well as TCP. Any client that supports SOCKS5 UDP ASSOCIATE can send HTTP/3 and QUIC, WebRTC, DNS, VoIP or game traffic out through the same residential IP as its TCP connections.
Requirements
Section titled “Requirements”| Pool | Full Geo. Country Geo and Non-Geo support TCP only. |
| Protocol | SOCKS5 with UDP ASSOCIATE (RFC 1928). HTTP(S) proxying stays TCP only. |
| Endpoint | p.shifter.io:443, or any regional host |
| Username flag | udp-true |
Add udp-true to the username you already use. Every other flag works as before:
customer-USERNAME-udp-true # rotatingcustomer-USERNAME-country-us-sid-9f3a2b7c-ttl-600-udp-true # US, sticky for 10 minutescustomer-USERNAME-country-de-city-berlin-sid-4c1d-udp-true # Berlin, stickyThe password stays the same, and flag order does not matter.
Same exit IP for TCP and UDP
Section titled “Same exit IP for TCP and UDP”With a sticky session (sid), your TCP connections and your UDP datagrams leave from the same residential IP. That is what keeps a page loaded over HTTP/3 and its WebRTC or DNS traffic consistent: a site sees one visitor, not two. Without sid, each new connection or UDP association can get a different IP, as with rotating TCP. See Sessions.
Example: check your UDP exit IP
Section titled “Example: check your UDP exit IP”This Python sample sends a STUN request, the same request WebRTC uses to learn its public address, and prints the IP your UDP traffic leaves from.
import os, socket, structimport socks # pip install PySocks
sock = socks.socksocket(socket.AF_INET, socket.SOCK_DGRAM)sock.set_proxy(socks.SOCKS5, "p.shifter.io", 443, username="customer-USERNAME-country-us-sid-9f3a2b7c-udp-true", password="PASSWORD")sock.settimeout(10)
# A STUN binding request: the reply shows the IP your UDP traffic leaves from.request = struct.pack(">HHI", 0x0001, 0, 0x2112A442) + os.urandom(12)sock.sendto(request, ("stun.l.google.com", 19302))reply, _ = sock.recvfrom(2048)
i = 20while i < len(reply): kind, length = struct.unpack(">HH", reply[i:i + 4]) if kind == 0x0020: # XOR-MAPPED-ADDRESS ip = bytes(b ^ m for b, m in zip(reply[i + 8:i + 12], b"\x21\x12\xa4\x42")) print("UDP exit IP:", socket.inet_ntoa(ip)) i += 4 + length + (-length % 4)Run it with and without sid: with the same sid, the IP matches what curl -x socks5h://...@p.shifter.io:443 https://ip-info.com/json returns over TCP.
HTTP/3 and QUIC
Section titled “HTTP/3 and QUIC”HTTP/3 runs over QUIC, and QUIC runs over UDP. Through a TCP-only proxy, a client falls back to HTTP/2 or HTTP/1.1. With udp-true, a QUIC client that speaks SOCKS5 UDP can reach port 443 over UDP and load pages over HTTP/3 from a residential IP.
Browsers generally do not send QUIC through a proxy setting: with a SOCKS5 proxy set, they load pages over HTTP/2 on TCP. To carry a browser’s or a whole device’s UDP, run a tunnel that turns the device’s traffic into SOCKS5, such as sing-box, tun2socks or hev-socks5-tunnel, and point it at the gateway with udp-true.
Good to know
Section titled “Good to know”- Encryption. As with any SOCKS5 UDP relay, the datagrams between your machine and the gateway are not wrapped in TLS. QUIC and HTTP/3 encrypt their own payload end to end, so page content stays private. Plain DNS does not, so prefer DNS over HTTPS or let the destination resolve names where you can.
- Lifetime. A UDP association lives as long as the SOCKS5 control connection that opened it. Keep that TCP connection open while you send datagrams.
- Gateway & authentication, endpoint, regions and flags.
- Sessions, keep the same IP across TCP and UDP.
- Geo-targeting, country, city and ASN.