SOCKS5 Integration
Comprehensive guide for SOCKS5 proxy configuration and usage
SOCKS5 Protocol Overview
SOCKS5 is an internet protocol that routes network packets between a client and server through a proxy server. It operates at Layer 5 of the OSI model and supports various authentication methods and address types.
Authentication
Username/password authentication with support for no-auth and GSSAPI
Address Types
Supports IPv4, IPv6, and domain name addressing
Protocol Support
TCP and UDP support with IPv4 and IPv6 compatibility
Basic Configuration
Connection Details
Username Format
The username follows a specific format that includes country, session type, and customer ID:
Password
Use your API key as the password for SOCKS5 authentication:
Replace with your actual API key from the dashboard
Client Configuration Examples
cURL
Python (requests)
Node.js
System-Wide Proxy (Linux/macOS)
Advanced Features
Country Selection
Specify the country for your proxy connection by changing the country code in the username:
Session Persistence
For applications requiring persistent connections, you can enable session stickiness:
UDP Support
SOCKS5 supports UDP for applications like VoIP, gaming, and DNS queries:
Troubleshooting
Connection Timeouts
- • Verify username/password format is correct
- • Check that your API key is active and not expired
- • Ensure port 1080 is not blocked by firewall
- • Try different country codes if specific regions are unavailable
Authentication Failures
- • Double-check username format: country-sessiontype-customerid
- • Ensure API key is correctly copied (no extra spaces)
- • Verify customer ID matches your account
- • Check account status in dashboard
Performance Issues
- • Try different country codes for better latency
- • Use session persistence for consistent performance
- • Enable compression in your client if supported
- • Monitor bandwidth usage to avoid quota limits
Testing Your Connection
Was this helpful?
Help us improve our documentation