IPv4 Proxy Exits: Verifying the Address Family

HTTP or SOCKS5 support doesn't prove an IPv4 exit. Run a bounded routing test, read the family your destination observed, and record the result.

To verify an IPv4 proxy, check the address family your destination observes. HTTP or SOCKS5 support, and an IPv4 connection to the gateway, do not prove the family of the exit. This guide shows a bounded routing test, explains what each observation does and does not establish, and lists what to record so the result is still useful next month.

TL;DR

  • Read the source address at the destination. That is the only observation that answers the question.
  • Protocol support does not establish the exit address family. HTTP and SOCKS5 carry either family.
  • A curl --ipv4 flag constrains your own connection to the proxy; it does not prove what the destination saw.
  • Test against a destination that publishes addresses in both families, then against your real target, and repeat across several exits on a rotating pool.

What "IPv4 proxy" can and cannot tell you

An IPv4 proxy routes your traffic out through an IPv4 exit address. The label says nothing about whether that address sits in a datacenter or a consumer network, whether other customers share it, or whether it changes between requests. Those are separate properties, and the datacenter versus residential comparison covers the first of them.

The label also hides a routing detail. Your request makes two hops: client to proxy, then proxy to destination. Each hop chooses its own address family. A gateway hostname that resolves to an IPv4 address tells you about the first hop only. The second hop is decided by the proxy, from the addresses the destination publishes and the addresses the exit holds.

So the property you care about, the address the destination records, is observable only at the destination.

What each observation proves

ObservationWhat it establishesWhat it does not establish
The product page lists HTTP and SOCKS5Which proxy protocols the gateway acceptsThe exit address family; both protocols carry either family
The gateway hostname resolves to an IPv4 addressYour client can reach the gateway over IPv4The family the proxy uses toward the destination
curl --ipv4 succeeds through the proxyThe client-to-proxy hop used IPv4What the destination saw
A dual-stack echo endpoint reports an IPv4 sourceThat exit used IPv4 toward a destination that offered both familiesThe family toward a different destination, or for a different exit
Your own target's logs show an IPv4 sourceThe exit family for that target, at that time, for that exitAcceptance of your request or correctness of the returned content

Address arithmetic is a separate question again. The guide to IPv4 CIDR block sizes and address counts explains how many addresses a block holds; it does not say how many a customer receives.

Run a bounded routing test

Use a destination you control or have permission to test. Set the proxy connection string and target locally, so neither lands in your shell history:

read -r -s -p 'Proxy connection string: ' PROXY_URL
printf '\n'
read -r -p 'Authorized target URL: ' TARGET_URL
export PROXY_URL TARGET_URL

For an HTTP proxy the proxy resolves the destination hostname. For SOCKS5, use the socks5h:// scheme so the proxy resolves it too; with plain socks5://, curl resolves the name on your machine and passes an address, which tests your resolver instead of the proxy's. The curl manual documents both schemes and the --ipv4 option.

Step 1: ask a dual-stack echo endpoint

https://node4.io/api/tools/ip publishes addresses in both families and returns JSON with the source address it received (ip) and its version (ipVersion). A destination that offers both families is the stricter test, because the proxy is free to choose either:

curl -q --noproxy '' \
  --proxy "$PROXY_URL" \
  --connect-timeout 10 \
  --max-time 30 \
  --silent --show-error \
  https://node4.io/api/tools/ip

An ipVersion of 4, with a dotted-quad ip, means this exit used IPv4 toward a destination that offered both. The endpoint is rate-limited per address, so use it for spot checks rather than a load test. The What is my IP page shows the same result in a browser configured with the proxy.

Step 2: repeat against your real target

The family can differ per destination, because it depends on what the destination publishes. Send one request to the target you will actually collect from and keep the headers and body:

curl -q --ipv4 \
  --noproxy '' \
  --proxy "$PROXY_URL" \
  --connect-timeout 10 \
  --max-time 30 \
  --silent --show-error \
  --dump-header response.headers \
  --output response.body \
  --write-out 'status=%{http_code} total_seconds=%{time_total}\n' \
  "$TARGET_URL"

The connection timeout is 10 seconds and the overall request timeout is 30 seconds. These are example client settings, not provider performance claims.

The --ipv4 flag does not prove the destination saw an IPv4 exit. For a hostname-based proxy gateway, it constrains the address family curl uses to reach the proxy. Read the source address in the target's own access log, or on an endpoint you control behind the same hostname.

--noproxy '' stops a NO_PROXY variable from sending the request direct, and -q stops a .curlrc from adding options you did not write. Without them, a passing test can describe your machine rather than the proxy.

Step 3: check more than one exit

A static proxy is one address, so one check per address covers it. A rotating gateway draws an exit at its documented rotation boundary, and an address can repeat; a sticky session keeps one assignment for its documented lifetime. Sample several assignments, without treating a handful of requests as proof of pool-wide behavior. Run the echo check several times in sequence, one new connection each, and confirm every result reports the same family:

for i in 1 2 3 4 5; do
  curl -q --noproxy '' --proxy "$PROXY_URL" \
    --connect-timeout 10 --max-time 30 \
    --silent --show-error \
    https://node4.io/api/tools/ip
  printf '\n'
done

Five requests is a spot check, not a census. If even one result reports a different family, ask the provider which pools mix families before you build on it. How long a rotating proxy keeps the same IP address explains when an exit changes.

What to record

A family check is only reusable if the conditions are written down. For each attempt, record:

  • Provider, exact product and the date of the test.
  • Proxy scheme (http://, socks5h://) and gateway hostname.
  • Destination, and whether it publishes addresses in both families.
  • Observed source address and its family.
  • HTTP status, elapsed time and whether the body held the expected content.
  • Anything you could not determine, written as an unknown rather than left blank.

Do not log credentials. Keep transport failures, wrong-family results and content failures in separate columns, so a retry does not hide which one happened.

A successful status is not the same as a usable response. A challenge page, consent screen or login page can return 200 while failing the job, so check the saved body for the page identity or the fields you need.

Integration models change what you can verify

Where the family check happens depends on how the service is delivered:

  • Static proxy list. You receive a host and port per address and your application assigns them to workers. Each address is checked once, and the result holds until the address is replaced.
  • Rotating or residential gateway. One hostname, many exits, with targeting and sessions usually expressed in the username. Check a sample of exits, and recheck whenever you change country or session settings.
  • Scraping API. You send a URL and receive content; you never see the exit. The address family becomes a question for the vendor's documentation rather than something you can measure from the client. Web scraping API vs proxies covers when that trade is worth making.

Pick the model before comparing vendors, otherwise a network connection gets compared with an extraction service and the difference is mistaken for proxy quality.

Where Node4 fits

Every exit Node4 serves is IPv4: static datacenter and shared addresses, the rotating gateways and the residential gateway. All of them accept HTTP and SOCKS5. If a job needs exits in the newer address family, no Node4 product provides them.

The datacenter, shared and rotating datacenter products run on IP blocks Node4 owns in the United States, Italy and Spain. Residential exits come from an upstream supplier and cover far more countries, but they are not Node4-owned addresses. The free tier is static shared datacenter over HTTP only, so it can run Step 1 and Step 2 above but not a SOCKS5 or gateway test. Plans and current prices are on the pricing page.

The test above applies to Node4 the same way it applies to any other provider. Run it on your own target before relying on the label.

Comparing providers

This guide does not rank vendors. For product-level comparisons, see:

Whichever you shortlist, keep the destination, request headers and acceptance criteria identical between candidates, so the comparison measures the provider rather than the test.

FAQ

Does SOCKS5 support mean a proxy uses IPv4?

No. SOCKS5 is a proxy protocol and carries either address family. Verify the source address the destination observes.

Does curl --ipv4 prove my exit is IPv4?

No. With an HTTP proxy or a socks5h:// proxy, it only constrains how curl reaches the proxy. The proxy chooses the family for the second hop.

Why might one proxy show different families on different sites?

The proxy can only use a family the destination publishes and the exit holds. A destination with only IPv4 addresses forces IPv4; a dual-stack one leaves the choice to the proxy. Test the target you will actually use.

Are Node4 proxies IPv4?

Yes. Every Node4 exit, datacenter, rotating and residential, is IPv4. The routing test above confirms it on your own target.