Coronium Mobile Proxies
Proxy routing and network checks

Proxy IP Allowlisting vs Password Authentication: Which IP?

Identify which source IP a rule needs, test it from the actual worker, and avoid confusing gateway access with destination access.

Coronium Technical TeamSources checked 7 min read
Concept illustration of worker connections crossing two separate gateway boundaries.
Gateway access and destination access are separate decisions. Measure the source address at each boundary before editing a rule.

The practical answer

  • A proxy gateway source allowlist normally needs the public egress of your worker. A destination allowlist needs the proxy exit reaching that destination.
  • The gateway hostname resolves to a listener address. That address is not automatically either of the authorized source addresses.
  • Verify access from an allowed source and rejection from a source you control that is not allowed. Repeat after redeploying or rotating.

Map the two authorization boundaries

The gateway authorizes worker egress while the destination authorizes the proxy exit.
Two rules, two observed sources. The gateway listener is a connection destination, so copying its IP into a source allowlist usually authorizes the wrong address.Open full-size diagram

Follow one request from the application to the destination. The worker connects to a proxy gateway; the gateway connects onward; the destination sees the proxy's public exit. Different operators can restrict each boundary.

At the proxy gateway, source-IP authorization checks the client address visible to that gateway. In a cloud deployment, that may be a NAT gateway's public address. At your destination API, an allowlist checks the source reaching the API, which is usually the proxy exit for that proxied request. Those are two different rules.

The gateway listener introduces a third address: the IP returned when its hostname resolves. That tells the client where to connect, not what source identity the gateway or destination will observe. Do not copy it into an allowlist just because it appears next to the port in a dashboard.

Use the diagram's documentation addresses to follow the distinction, then replace them with measurements from your own deployment. The numbers are illustrative, not Coronium endpoints.

Which address belongs in each rule?
Rule being editedSource to establishWhere to verify it
Proxy gateway source allowlistWorker public egress toward the gatewayGateway connection logs or the same worker network path.
Allowlist on your destination APIProxy exit reaching the APIDestination access logs or a diagnostic endpoint on that route.
Worker outbound firewallGateway listener address and portGateway endpoint documentation and DNS.
Application NO_PROXY configurationDestination names that may bypass the proxyRuntime configuration and an observed route check.

Measure the source from the deployment environment

Run the first check inside the actual VM, container, scheduled runner or function region. A laptop's public IP cannot authorize a hosted worker that leaves through another network.

For an HTTP-gateway allowlist, you want the worker's source before proxying. This curl command makes a deliberately direct request, ignoring proxy environment variables for that request:

bash
curl --silent --show-error --fail --connect-timeout 10 --max-time 20 \
  --noproxy '*' 'https://api.ipify.org?format=json'

The IP response is useful initial evidence, but a network can use destination-dependent routes or several NAT exits. The gateway's own connection log is stronger evidence of the source it actually saw. Ask support for the observed source and timestamp if the direct diagnostic and the gateway disagree.

AWS documents that a public NAT gateway uses its associated Elastic IP for internet-bound traffic through an internet gateway. Other routes can expose a different address. Check the real outbound route for every worker region instead of assuming that one Elastic IP covers the entire deployment.

Private addresses such as 192.168.x.x, and the shared range defined by RFC 6598, are not substitutes for internet egress. If the worker has IPv4 and IPv6 paths, identify the family used to reach this gateway and the provider's supported rule format.

Choose credentials or source authorization for the deployment

Username-password authentication fits workers whose public egress is not stable, provided the client and purchased plan support that method. Keep the secret in the deployment's secret store, scope access to the processes that need it, and plan credential rotation.

Source-IP authorization can be convenient for a controlled, stable outbound address. But it authorizes a network source, not necessarily an individual process. Multiple workers behind the same NAT may share that source identity. If you need per-service accountability, retain application authentication and logging rather than treating an IP address as a user identity.

Some providers support credentials, some support source-IP rules, and some combine restrictions. Verify the authentication method shown for your purchased Coronium connection and confirm additional requirements with support before designing around them. This guide does not assert that every plan supports IP allowlisting.

For a practical choice, write down four facts: where the worker runs, whether its egress can change, whether the destination needs a fixed source, and how secrets are delivered. If only the gateway must recognize the worker, stable worker egress may solve the problem even when the proxy exit rotates. If the destination itself needs a fixed exit, the product selection is different.

Compare mobile proxy connection options with the static residential explanation when stable destination egress is the requirement. A label such as โ€œstickyโ€ needs its own retention conditions; it is not automatically a permanent allocation.

Test gateway authorization and destination authorization separately

Use a small diagnostic endpoint first. With PROXY_URL, PROXY_USER and PROXY_PASSWORD set privately for a credential-authenticated plan:

bash
curl --silent --show-error --fail --connect-timeout 10 --max-time 20 \
  --noproxy '' --proxy "$PROXY_URL" \
  --proxy-user "$PROXY_USER:$PROXY_PASSWORD" \
  'https://api.ipify.org?format=json'

For a provider-supported source-IP-only configuration, omit proxy-user only after that source rule is enabled and confirmed. Do not remove credentials from an ordinary password endpoint and interpret the rejection as evidence that all allowlisting is broken.

If the neutral proxy request succeeds but your destination API denies it, inspect the API's access log. Its expected source should match the proxy exit it actually receives. A planned mobile rotation can change that source while gateway authentication continues to work. See mobile rotation behavior.

A useful test matrix has an allowed worker, an unauthorized worker you control, and the intended destination. Confirm that the allowed worker can authenticate to the gateway; that the unauthorized worker is denied by the specific source rule; and that the destination sees the intended proxy exit. A timeout alone is weak negative evidence because an unrelated firewall could cause it.

Repeat after a restart or deployment. If a scheduled runner obtains a different NAT source, yesterday's positive test does not prove today's rule matches.

Locate the layer that rejected the request

A 407 response is a proxy authentication challenge. Other allowlist failures may appear as provider-specific rejection or a connection failure. A 403 from the target is not enough to determine whether a gateway rule, target rule or application permission caused the refusal.

Collect the request time, source observation and the logs at the boundary you operate. Use one neutral request to test gateway access and one request to the intended target to test destination access. That separation makes the result actionable.

If you operate a Cloudflare-protected target, read the exact semantics of IP Access Allow rules. They can bypass security checks. Adding an entire carrier ASN to keep up with rotating exits would authorize many sources unrelated to your worker. Prefer the narrowest appropriate rule and keep real application authentication in place.

The proxy error reference covers response categories; the location guide helps when access works but the content region is wrong.

A failed request does not identify the rule by itself
ObservationNext comparisonLikely investigation
Direct request works; proxy diagnostic failsGateway-observed source and authenticationEndpoint, credentials, gateway source rule or worker firewall.
Proxy diagnostic works; own API returns 403API access log and observed exitDestination allowlist or application permission.
Works until the worker redeploysBefore/after worker public egressNew NAT source, region or address family.
Works until mobile IP rotationBefore/after destination-observed exitDestination rule assumed an exit would remain fixed.
Unauthorized test source times outGateway rule log versus network pathConfirm the rule denied it; do not count an unrelated timeout as a passed test.

Use a deployment checklist with an owner and rollback

Download the allowlisting checklist and keep it with the deployment record. It records the rule owner, authorized boundary, measured source, positive and negative tests, and what event requires a recheck.

Before enabling a new rule, preserve access through a tested management path. Add the intended source, verify it from the running worker, and verify rejection from a controlled unauthorized source. Then remove stale entries and record a rollback procedure. This makes a source change a controlled configuration update instead of an emergency guess.

For an AI tool runner, put this check in the deployed runner's acceptance procedure. Authorizing the developer's home IP or adding the gateway IP to a model prompt has no effect on the remote process's source. The HTTPX and Node.js guides provide concrete client checks.

For web scraping connections, decide whether the destination needs fixed egress or the job needs mobile session behavior. Review US connection availability and the mobile proxy overview before designing a rule that assumes a particular country or permanently assigned IP.

This procedure is based on the cited network and client documentation reviewed October 15, 2026. The illustrative addresses explain the two boundaries; the address you authorize must come from your own measured route and the controls supported by your plan.

Sources and review scope

Sources reviewed October 15, 2026. Primary documentation and diagnostic procedures are identified separately from measured results. These guides do not claim carrier-wide location accuracy or universal support for an authentication feature.

Frequently asked questions

Check the other side of the connection

Separate the client source, proxy gateway, public exit and location signal before changing configuration.

Related workflows

Proxy location diagnosis

Check the exit, database location and browser state separately.

aiohttp proxy configuration

Keep proxy authentication separate from website authentication.

Proxy technology guide

Compare routing, protocol and allocation models.

US mobile proxy connections

Confirm carrier and connection requirements for US workflows.

Where to get a dedicated line

A Coronium mobile proxy is one physical device with its own SIM, rented to one customer. It connects over HTTP or SOCKS5, the IP changes by dashboard button, API link or timer, and data is not metered on dedicated lines. Brazil lines are the exception: 20 GB of data a month and a new IP on request only, with no timer. Stock and prices differ by country and carrier.