Short answers
What is a backconnect proxy?
A proxy service where clients connect to one fixed gateway and the gateway forwards each connection through an exit chosen from a pool of devices. The address the website sees belongs to the exit, not to the gateway. It is also called a rotating gateway or rotating proxy endpoint.
Why is it called backconnect?
In many mobile and peer networks the exit devices sit behind NAT and cannot accept inbound connections. They keep an outbound connection to the network, and the gateway sends your traffic back along it. The client only ever sees the gateway address.
Does a backconnect proxy give a new IP on every request?
Not necessarily. Selection usually happens per connection, and HTTP clients reuse connections for several requests. A new connection can also be given the same public address again, especially on mobile carriers where many devices share addresses.
What is the difference between rotating and sticky sessions?
Rotating modes select an exit for each new connection or after a timed window. A sticky session asks the gateway to keep routing a named session through the same exit. A sticky session prefers an existing binding without reserving a device. The carrier may still change the IP of that device.
How do I choose the country on a backconnect proxy?
On most backconnect services, and on Portproof, the choice travels in the proxy username. Portproof puts the pool in the second position and the country code in the third, followed by session and rotation tokens.
How a backconnect gateway works
With a traditional proxy list, each host:port entry is a separate server with its own exit address, and your code decides which entry to use. A backconnect service turns that around. You configure one endpoint, and the selection of an exit happens on the gateway, according to the settings you send with the connection.
- Your client opens a connection to the gateway host and port, over HTTP CONNECT or SOCKS5.
- The gateway authenticates the username and password and reads the options carried in the username.
- It selects an exit device from the matching pool, or reuses the one bound to your session name.
- Your traffic leaves through that device. The destination sees the device’s public address.
A proxy list and a backconnect gateway are both forward proxies: your client chooses to send its requests through them. A reverse proxy is the opposite arrangement, run by a website in front of its own servers; the forward vs reverse proxy guide compares the two.
Mobile and peer devices usually sit behind NAT, and mobile carriers commonly use carrier-grade NAT. A device behind NAT can still keep an outbound connection open to the network, which is how the gateway reaches it. The CGNAT guide explains why carrier addresses are shared and why an exit address can change while the device stays the same.
Rotating and sticky sessions
| Mode | When the exit is chosen | Suits |
|---|---|---|
| Per connection | For each new connection to the gateway | Independent read-only checks that do not need to share a route |
| Timed | On a new connection after the chosen window has passed | Related checks grouped into a window of minutes |
| Sticky | Once, then reused for the named session while the binding holds | A multi-step QA journey that should keep its route |
Per-connection rotation does not mean per request. Browsers and HTTP libraries keep connections open and reuse them, so several requests can share one exit. If your job needs separate exits, open separate connections, and test the behaviour with the client that will run the job.
A sticky session prefers an existing binding without reserving a device. The carrier may still change the IP of that device. A session can also end when its device goes offline, so a sticky job needs a recovery step. The rotating vs sticky guide explains how to choose a mode and what each one guarantees.
One credential: pool, country and session in the username
Portproof works as a backconnect gateway. Every customer has one gateway username base and one proxy password. The full username adds the settings for the connection, so the same credential serves both pools, every available country and every rotation mode. Copy complete usernames from the connection builder; the setup docs list every token.
ACCOUNT is your gateway account username. Values are lower case and contain no hyphens. Use the saved SID the builder exports; do not invent one.
ACCOUNT-<pool>-<country>-sid-<saved_id>-rot-<mode>
pool mbl (mobile 4G/5G) · peer (residential peer network) · best
country two-letter lower-case code, or any
sid saved session identifier, needed for timed and sticky modes
rot ondemand · auto5 · auto10 · auto20 · auto60 · sticky
http://<username>:<password>@gw.portproof.org:7000
socks5h://<username>:<password>@gw.portproof.org:7001| Username | What it asks for |
|---|---|
USERNAME-peer-nl-rot-ondemand | Residential pool, Netherlands, a new exit selection for each connection |
USERNAME-mbl-us-sid-SAVED_SID-rot-auto10 | Mobile 4G/5G pool, United States, re-selection on a new connection after 10 minutes |
USERNAME-mbl-gb-sid-SAVED_SID-rot-sticky | Mobile 4G/5G pool, United Kingdom, keep the route bound to that saved session |
The peer pool is the residential product: opt-in peer devices in a mixed network, so it does not enforce residential-only addresses. Optional tokens such as carrier, city, state, ASN and IP type narrow the selection further. A combination that matches no online device is refused with an error rather than silently widened, and a country with nothing online returns E_NO_STOCK_COUNTRY.
Choose a pool for the network your work needs: mobile proxies exit through carrier modems, residential proxies through opt-in peer devices. Both are shared pools on one GB balance; neither reserves an address for you. How the username is placed inside a proxy URL, and how to encode it, is covered in the proxy format guide.
Check the rotation you configured
Example output only: documentation-range addresses with the last octet masked, not exits of the pool. Enter the password at each prompt.
for i in 1 2; do
curl --disable --silent --show-error --noproxy '' --connect-timeout 5 --max-time 15 \
-x "http://gw.portproof.org:7000" --proxy-user "USERNAME-peer-nl-rot-ondemand" \
https://api.portproof.org/v1/echo-ip
echo
done
# example
# 203.0.113.x
# 198.51.100.xTwo separate curl runs open two connections, so each gets its own selection. Equal addresses are possible and do not prove that rotation failed. The curl guide shows the same checks for sticky sessions and explains what a check costs in traffic.
When a backconnect proxy fits
- Price monitoring and market research that read many public pages and do not need one fixed route.
- Ad verification and QA checks that must see a page from a chosen country or network type.
- Data pipelines and AI agents that prefer one endpoint and credential over managing a server list.
- Multi-step QA journeys that need a sticky session for their duration, with a recovery step if it ends.
A backconnect gateway is the wrong tool when a job needs one address that never changes, such as an allow-list entry on a partner system. Shared pools do not provide that. Measure a representative run against the account meter before scaling, and size the balance with the GB planning guide.
| Order size | Per GB | Saving |
|---|---|---|
| 1 to 4 GB | EUR 1.99 | |
| 5 to 24 GB | EUR 1.79−10 % | |
| 25 to 49 GB | EUR 1.49−25 % | |
| 50 to 99 GB | EUR 1.29−35 % | |
| 100 to 249 GB | EUR 1.09−45 % | |
| 250 GB and more | EUR 0.89−55 % |
GB never expire. What you buy stays on your balance until you use it; a new purchase adds to the same balance. The trial is 1 GB for EUR 1.49, once per customer. Cryptocurrency network minimums and fees vary.
One balance covers both pools at the same per-GB rate.
What is not allowed
Use the gateway for lawful work such as price monitoring, ad verification, market research and QA, within each site’s terms. Account farming, credential stuffing and ignoring a site’s rate limits are refused. See the acceptable-use policy.
Read next
Sticky proxy sessions: rotation and duration
Choose a rotation mode, understand session lifetime and keep the configuration consistent through a job.
Read the guide
Mobile vs residential proxies: differences
A side-by-side table of the two pools, where each address comes from, and a decision table by job.
Read the guide
Buy mobile and residential proxy GB
Choose your GB or reserve a mobile device.