What is SOCKS5?
The latest version of the SOCKS protocol, which routes network traffic through a proxy server. SOCKS5 supports authentication, UDP traffic, and IPv6, making it more versatile and secure than previous versions or HTTP proxies.
Also known as: SOCKS Proxy, SOCKS v5
SOCKS5 is the Swiss Army knife of proxies. Unlike HTTP proxies that only handle web traffic, SOCKS5 can route any type of TCP or UDP traffic, making it useful for applications beyond browsers.
SOCKS5 Features
Protocol Agnostic
- Works with any TCP/UDP application
- Email, gaming, streaming, torrenting
- Not limited to HTTP/HTTPS
Authentication
- Username/password support
- Prevents unauthorized use
- Required by most paid services
UDP Support
- Voice, video, gaming
- DNS queries
- Real-time applications
IPv6 Compatible
- Modern IP addressing
- Future-proof
SOCKS5 vs SOCKS4
| Feature | SOCKS4 | SOCKS5 |
|---|---|---|
| TCP Support | ✓ | ✓ |
| UDP Support | ✗ | ✓ |
| Authentication | ✗ | ✓ |
| IPv6 | ✗ | ✓ |
| Remote DNS | ✗ | ✓ |
SOCKS5 vs HTTP Proxy
| Aspect | SOCKS5 | HTTP Proxy |
|---|---|---|
| Protocols | Any TCP/UDP | HTTP/HTTPS only |
| Speed | Generally faster | Protocol overhead |
| Versatility | High | Low |
| Setup | Per-application | Browser settings |
Common Use Cases
Torrenting
- Route BitTorrent through proxy
- Hide IP from peers
- Bypass ISP throttling
Gaming
- Lower latency routes
- Bypass geo-restrictions
- Reduce DDoS exposure
Application Tunneling
- SSH over SOCKS
- Database connections
- Development/testing
Circumvention
- Bypass firewalls
- Access restricted content
- Shadowsocks uses SOCKS5
Security Considerations
SOCKS5 Doesn't Encrypt
- Traffic visible to proxy operator
- Traffic visible on network
- Use with SSH tunnel for encryption
DNS Leaks
- Configure remote DNS resolution
- Otherwise DNS reveals destinations
- Most clients support this
Proxy Trust
- Proxy sees all your traffic
- Choose reputable providers
- Consider running your own
Related Terms
Proxy Server
An intermediary server that sits between your device and the internet, forwarding requests on your behalf. Proxies can provide privacy by hiding your IP address, but unlike VPNs, they typically don't encrypt traffic.
Virtual Private Network
A technology that creates a secure, encrypted connection over a less secure network, such as the public internet. VPNs mask your IP address, encrypt your internet traffic, and can make it appear as though you're browsing from a different location.
Have more questions?
Use our guided flow to get the right next privacy step for SOCKS5.
Open Guided Flow