Username & Password
Required for every request. You include your proxy’s unique credentials in the connection string.
Authorized IPs (optional)
Extra protection. Only the IP addresses you list can use the proxy, and they still have to send the credentials.
1. Username & Password Authentication
This is the standard and most flexible authentication method. Each proxy you create in your dashboard has its own unique username and password.How it Works
You need to include these credentials in your proxy connection string in the following format:protocol://username:password@host:port
Use https as the protocol. It encrypts the link between your program and our gateway, so your proxy password is never sent in readable form. See HTTPS vs. HTTP for the details and for the short list of tools that cannot do this.
Example
Let’s say your credentials are:- Username:
2xt-customer-a1b2-proxy-steam - Password:
a_very_secure_password - Host & Port:
proxy.2extract.net:5555
Remember, you can dynamically add parameters like
-country-de to your username to control the proxy’s behavior. Learn more in the Geo-Targeting Parameters guide.Passwords with Special Characters
If your proxy password contains@, :, #, / or ?, putting it directly into the connection string breaks URL parsing and the request fails with a misleading error. Pass the credentials separately instead:
urllib.parse.quote in Python, encodeURIComponent in JavaScript).
2. Authorized IPs (IP Whitelist)
Authorized IPs is an optional security layer on top of username and password. It does not replace them: requests must always carry valid credentials. When the list is filled in, the gateway accepts connections to this proxy only from the listed IP addresses. A request from any other IP is rejected with407, even with the correct username and password. When the list is empty, the proxy accepts connections from any IP.
Use it to make leaked credentials useless outside your own servers.
How to Set It Up
- Open the proxy in My Proxies.
- Add your server’s IP addresses to the Authorized IPs list and save.
3. Troubleshooting
When the gateway rejects a connection it returns anX-Proxy-Error header explaining exactly why. Run your request with verbose output and read that header before changing anything else:
If requests succeed for some targets but fail for others, check the Authorized hosts and Authorized IPs lists on the proxy: when either one is filled in, everything outside it is rejected.