Authentication
ProxyOmega supports multiple authentication methods to ensure secure access to your proxies. Choose the method that best fits your security requirements.
Authentication Methods
Username & Password
The most common authentication method. Your credentials are provided in the dashboard after purchase.
username:[email protected]:port
Geographic Targeting
Modify your username to target specific geographic locations:
# Country targeting
username-country-us:[email protected]:10000
# Region/State targeting
username-country-us-region-colorado:[email protected]:10000
# City targeting (where available)
username-country-us-city-denver:[email protected]:10000
# Session persistence (sticky IP)
username-session-abc123:[email protected]:10000
IP Whitelist
Add your static IP addresses to bypass username/password authentication. Ideal for server deployments.
You can whitelist up to 50 IP addresses per account. Contact support if you need to increase this limit.
Security Best Practices
1. Use Environment Variables
Never hardcode credentials in your source code. Use environment variables instead:
import os
import requests
proxy_user = os.environ.get('PROXY_USER')
proxy_pass = os.environ.get('PROXY_PASS')
proxies = {
'http': f'http://{proxy_user}:{proxy_pass}@residential.proxyomega.com:10000',
'https': f'http://{proxy_user}:{proxy_pass}@residential.proxyomega.com:10000'
}
response = requests.get('https://api.ipify.org', proxies=proxies)
2. Rotate Credentials Regularly
Change your proxy passwords periodically from the dashboard to maintain security.
3. Monitor Usage
Regularly check your usage statistics in the dashboard to detect any unauthorized access.
Proxy Authentication Headers
For HTTP/HTTPS proxies, authentication can also be done via headers:
Proxy-Authorization: Basic base64(username:password)
SOCKS5 Authentication
SOCKS5 proxies support username/password authentication (RFC 1929):
import socks
import socket
import requests
socks.set_default_proxy(
socks.SOCKS5,
"residential.proxyomega.com",
10000,
username="your_username",
password="your_password"
)
socket.socket = socks.socksocket
response = requests.get('https://api.ipify.org')
print(response.text)
Troubleshooting Authentication
- 407 Proxy Authentication Required - Check your username and password
- 403 Forbidden - Your IP may not be whitelisted or you may be temporarily banned
- Connection Timeout - Verify the proxy endpoint and port
- Temporary Ban - If you receive multiple authentication failures, you may be banned for 10 minutes (automatically expires)
Temporary bans for authentication failures automatically expire after 10 minutes. No action is required - simply wait and retry your connection.