IP Whitelisting
IP allowlisting authenticates a connection by its public source address. Add an address and connections from it are accepted with no credentials at all.
Set up an allowed source
Section titled “Set up an allowed source”-
Find the address you will connect from
Section titled “Find the address you will connect from”Run this on the machine that will open the proxy connections:
Terminal window curl https://httpbin.org/ip -
Add it to the subscription
Section titled “Add it to the subscription”Open the subscription in the dashboard and use its IP allowlist controls. Adding your first address switches the subscription to accept both allowlisted sources and your password, and publishes a second set of endpoints; removing the last one switches it back to password only.
-
Use the allowlist endpoints
Section titled “Use the allowlist endpoints”The endpoints table marks each row with its authentication mode. Use the rows marked for the allowlist.
Connecting
Section titled “Connecting”No credentials are needed:
curl -x http://YOUR_HOST:YOUR_HTTP_PORT \ https://httpbin.org/ipTargeting without a password
Section titled “Targeting without a password”Targeting normally travels on the credential, and an allowlisted connection does not send one. To target an exit from an allowlisted source, send the parameters as the username and leave the password empty:
curl -x http://YOUR_HOST:YOUR_HTTP_PORT \ -U "country-de-session-ab12cd:" \ https://httpbin.org/ipEvery option from How to Connect works here. The username is read as targeting and nothing else — it is not a login, so any value in front of the parameters is ignored, and the parameters can stand alone as above.
The same works for SOCKS5 clients that offer a username but no password:
curl --socks5-hostname YOUR_HOST:YOUR_SOCKS_PORT \ --proxy-user "country-de:" \ https://httpbin.org/ipChoosing between the two
Section titled “Choosing between the two”Allowlisting removes your proxy credentials from the network you connect
from — worth having on the plain http and socks5 ports, where a username
would otherwise travel in clear text. It requires a stable address.
Password authentication works from anywhere, which is what you want from a laptop, a dynamic connection, or anywhere you cannot pin an address.
Both are available at once once an address is added, so you can use whichever suits each machine.