What is IP Whitelisting?
IP whitelisting is a security mechanism where a proxy service only accepts connections from pre-approved IP addresses. Instead of authenticating with username and password, the user's origin IP is verified against a whitelist, granting automatic access to the proxy.
How Whitelist-Based Authentication Works
The user registers their static IP address (typically their server or home IP) in the proxy provider's dashboard. When a connection request arrives at the proxy gateway, the system checks the source IP against the whitelist. If the source IP matches an authorized entry, the connection is accepted without requiring additional credentials. If it does not match, the connection is rejected. This method requires the user to have a stable, known IP address and to update the whitelist if their IP changes.
In the Hex Proxies dashboard, you add your server's public IP to the whitelist. Afterward, any connection from that IP to gate.hexproxies.com:8080 is automatically authenticated with no credentials needed in the request itself. This simplifies integrations that do not support proxy auth headers.
Benefits and Trade-Offs of Whitelisting
IP whitelisting simplifies proxy authentication by eliminating the need to embed credentials in your code or configurations. It reduces the risk of credential exposure and simplifies integration with tools that do not support proxy authentication natively. Hex Proxies supports IP whitelisting as an alternative authentication method across all proxy products.