IPv6 Mobile Proxy: NAT64 and 464XLAT Explained

Learn how an ipv6 mobile proxy uses NAT64 and 464XLAT, which IP websites see, how APN modes affect it, and how to test rotation with practical Linux checks.
A blue line-art 4G dongle connects to a Raspberry Pi, a cloud router, and a globe on a deep navy background.

An ipv6 mobile proxy may give your dongle an IPv6 address while websites still see an IPv4 exit address. The result depends on the APN, the carrier’s NAT64 or 464XLAT design, the destination’s protocol support, and the address family used by the proxy connection.

This guide explains the path in plain terms, shows what changes during rotation, and gives tests for a Huawei E3372 HiLink dongle on a Raspberry Pi or Linux box. The exact result is carrier- and plan-specific, so treat the commands as measurements rather than assumptions.

Why carriers moved to IPv6

Mobile networks need to connect a large and growing number of phones, modems, tablets, and connected devices. IPv4 has a limited address space, so giving every subscriber a dedicated public IPv4 address is inefficient and expensive. IPv6 provides a much larger address space and lets an operator build newer access networks without assigning a public IPv4 address to every device.

That does not mean the rest of the internet has become IPv6-only. Many destinations still publish only an IPv4 address, and many applications still expect IPv4 sockets. Mobile operators therefore use transition mechanisms that let an IPv6-first access network reach IPv4 services.

Google’s IPv6 statistics are a useful reminder that IPv6 connectivity is measured continuously and varies by country and network. Do not turn a global adoption chart into a promise about one SIM: the APN and carrier profile on your own device decide the session you receive.

For a proxy operator, IPv6 is therefore a transport detail to verify. It can affect the address family available to the local box, but it does not by itself determine the reputation, location, or public address that a target website observes.

CGNAT, NAT64, and 464XLAT in plain words

These names describe different parts of the path. They are often mixed together because a mobile connection can use more than one translation layer.

TermWhat it doesWhat you should remember
CGNATShares IPv4 addresses between subscribersIt affects inbound reachability and the public IPv4 seen by IPv4 destinations
NAT64Translates traffic between an IPv6 client and an IPv4 serverAn IPv6-only client can reach an IPv4-only website without the website changing
DNS64Synthesises an IPv6-looking DNS answer from an IPv4-only destinationIt helps an IPv6-only client send traffic towards the NAT64 translator
CLATTranslates IPv4 traffic from a local application into IPv6IPv4-only applications can work on an IPv6-only access network
464XLATCombines CLAT at the edge with NAT64 in the carrier coreIt provides limited IPv4 connectivity across an IPv6-only network

RFC 6146 describes stateful NAT64 as a translator between IPv6 and IPv4 networks. It creates state for a flow and normally lets the IPv6 side initiate communication with an IPv4 destination. RFC 6877 describes 464XLAT as the combination of a customer-side stateless translator and a carrier-side stateful translator.

Think of the path this way:

IPv6-capable application on the Pi
        |
        | IPv6, or IPv4 translated by CLAT
        v
Mobile carrier network
        |
        | NAT64/CGNAT when the destination needs IPv4
        v
Target website

The modem does not need to advertise every translation step in its web interface. It may simply report that the data session is connected. The only reliable way to know what is usable is to inspect local addresses and make controlled requests through the intended path.

Which IP does the website see?

The website sees the source address of the connection that reaches it. It does not normally see the private address on the dongle’s management network, the Raspberry Pi’s LAN address, or an IPv6 address that was used earlier in the path.

There are three common cases:

  1. IPv6 to an IPv6-capable destination: the request can leave through an IPv6 path. The website may record a carrier-assigned IPv6 address or prefix, often with other network information derived from the carrier.
  2. IPv6-only access to an IPv4-only destination: NAT64 translates the flow, so the website records the translator’s IPv4 address and source port mapping. That address can be shared across subscribers.
  3. IPv4 application on an IPv6-only access network: CLAT first turns the local IPv4 traffic into IPv6, and the carrier side can then use NAT64. The website still sees the final address at the far side of the translation.

The proxy layer adds another decision. A client connects to the proxy endpoint, and the proxy then opens a separate connection to the target. The target sees the proxy’s outbound exit, not the client’s home address. If the proxy software opens IPv4 to the target, the target sees an IPv4 exit. If it opens IPv6 to an IPv6-capable target, the target sees an IPv6 exit.

This is why the phrase “IPv6 mobile proxy” is incomplete on its own. It could mean an IPv6 address on the SIM session, an IPv6-capable proxy endpoint, or an IPv4 public exit reached through NAT64. Record the address family and the destination for every test.

Dongle APN settings: IPv4, IPv6, or IPv4v6

The APN profile is the first place to check. A Huawei E3372 HiLink interface may expose an IP type such as IPv4, IPv6, or IPv4v6, but the available options and their behaviour depend on the firmware and the carrier plan.

Use the value the carrier documents for the exact SIM. If the carrier provides no usable guidance, test one profile at a time and record the result instead of changing several settings together.

APN IP typeWhat it requestsPractical use in a proxy farm
IPv4An IPv4 mobile data sessionA simple compatibility baseline for IPv4-only software and destinations
IPv6An IPv6 mobile data sessionUseful when the plan and application support IPv6, often with translation for IPv4-only destinations
IPv4v6Dual-stack service, if the carrier supports itGives the device a chance to use both families, but does not guarantee both are actually usable

To edit a HiLink profile, open the device’s management page, go to the mobile-network or dial-up profile settings, enter the carrier’s APN, and choose the documented IP type. Save, disconnect the data session, and reconnect it before testing. The 4G dongle APN settings guide covers the profile fields and the per-dongle setup process.

Do not interpret an IPv4v6 option as a promise of two public addresses. The carrier might return only one family, place IPv4 behind CGNAT, provide an IPv6 prefix with NAT64 access, or reject the combination for that subscription. The profile name is not enough; inspect the live interface and the traffic path.

Check the local session on Linux

Run these commands on the Raspberry Pi or Linux box that actually uses the dongle. Use the interface name shown by ip -br link if you need to narrow the inspection.

ip -br addr
ip -4 route
ip -6 route

Look for an IPv4 address, an IPv6 address or prefix, and a route through the interface attached to the HiLink session. A private IPv4 address on the local side is normal. It does not tell you which public IPv4 a website will see.

Check the address family without involving the proxy first:

curl -4 -sS https://api.ipify.org; echo
curl -6 -sS https://api6.ipify.org; echo

Interpret the result carefully:

  • A successful curl -4 proves that the box can reach an IPv4 destination through the selected route. The returned address is the public IPv4 observed by that service, which can be a carrier NAT64 or CGNAT address.
  • A successful curl -6 proves that the box can reach that IPv6 test endpoint over IPv6. The returned value is an IPv6 address, but it may be a temporary address or part of a delegated prefix.
  • A failed curl -6 does not prove the APN is wrong. The destination may not have IPv6, the route may be missing, or the box may prefer a different uplink.
  • A successful local test does not prove that the published proxy endpoint is using the same dongle. Test through the proxy as a separate step.

For a more detailed view of address selection and connection errors, add verbose output:

curl -v -4 --max-time 20 https://example.com
curl -v -6 --max-time 20 https://example.com

If the box also has Ethernet or Wi-Fi, check the route selected for each destination. A working IPv6 response could be coming from the building’s wired connection rather than the dongle. Disconnect unrelated uplinks or use policy routing when you need a controlled per-dongle measurement.

Test the public proxy exit

Once the mobile session works, test the proxy endpoint with the protocol family you want to measure. Replace the placeholders with the host, port, and credentials exported by your proxy panel.

curl -sS --proxy http://USER:PASSWORD@PROXY_HOST:PROXY_PORT \
  https://api.ipify.org; echo

curl -sS --proxy http://USER:PASSWORD@PROXY_HOST:PROXY_PORT \
  https://api6.ipify.org; echo

Run the same test several times with -v when you need to see connection details. If the proxy supports both HTTP and SOCKS5, repeat with the correct scheme from the proxy format guide. For SOCKS5, decide whether DNS should be resolved by the client or remotely; socks5h:// sends hostname resolution through the proxy, while socks5:// can resolve locally before opening the tunnel.

The comparison that matters is:

TestWhat it answers
curl from the Pi without a proxyWhich paths the box can use directly
curl through the proxy to an IPv4 test endpointWhich IPv4 address the target sees through that proxy
curl through the proxy to an IPv6 test endpointWhether the proxy path can reach an IPv6 destination and which IPv6 exit it presents
A target’s own access log or diagnostic pageWhat that specific website recorded for the request

If the direct test returns one address and the proxied test returns another, that is expected: the proxy is a separate connection. If both tests return the same address when you expected different dongles, verify the proxy-to-dongle mapping, route selection, and the endpoint’s assigned port before diagnosing IPv6.

What IPv6 changes during rotation

Rotation changes the mobile data session or the route assigned to it. It does not change IPv4 into IPv6, or IPv6 into IPv4, by itself.

After a reconnect, a carrier may assign a new IPv6 address or prefix. If the new session uses NAT64, the public IPv4 seen by IPv4 destinations may also change because the carrier creates a new mapping or selects another shared address. Neither change is guaranteed for every reconnect: a session can return to the same address or keep the same prefix for a period of time.

There are two separate identities to track:

  • Protocol family: whether the proxy’s outbound connection to a target uses IPv4 or IPv6.
  • Address value: the specific IPv4 address, IPv6 address, or prefix used for that connection.

A timer or rotation link can trigger a new session, but your verification should check both values after the change. Use a sticky option when an application needs one address for the life of a workflow, and use the rotation links guide when you need an on-demand trigger.

For a small test, record the result before and after one controlled rotation:

time | dongle | APN IP type | direct IPv4 | direct IPv6 | proxied IPv4 | proxied IPv6

Do not infer rotation from a changed local IPv6 address alone. A new interface address can coexist with the same public IPv4 NAT mapping, and a changed public IPv4 can happen while the local session remains IPv6-capable. Measure the exit that your target sees.

Common mistakes with IPv6 mobile proxies

Mistaking an IPv6 local address for a public IPv6 exit

The Pi can have IPv6 on one interface while the proxy uses another route, or the carrier can translate the request before it reaches the target. Always test through the published proxy endpoint.

Treating IPv4v6 as two guaranteed public addresses

Dual-stack on the APN menu means the profile requests both families. It does not promise two public addresses, two independently rotatable exits, or IPv6 reachability to every destination.

Changing the APN and rotation settings together

That makes diagnosis ambiguous. First prove that one APN profile can reach the required destinations. Then add the proxy, then test one rotation method.

Testing the wrong uplink

The Pi may prefer Ethernet or Wi-Fi for one address family and the dongle for the other. Use ip route get, inspect the interface, and temporarily disconnect unrelated links during a baseline test.

Expecting IPv6 to solve CGNAT reachability

IPv6 can provide a different outbound path, but it does not automatically create an inbound proxy service. The mobile box still needs a supported way to publish the proxy endpoint. A cloud router that uses an outbound connection can avoid requiring a static IP or inbound port forwarding; see the CGNAT proxy guide.

Assuming every website accepts both families

Some destinations are IPv4-only, some are IPv6-only, and some have both but behave differently. Test the actual destinations and keep the address family in your monitoring data.

A practical checklist for operators

Before putting an IPv6-capable SIM into a larger farm, verify one dongle end to end:

  1. Confirm the carrier’s APN and supported IP types for the exact plan.
  2. Record the HiLink profile and reconnect the session after saving it.
  3. Check ip -4 addr, ip -6 addr, and both route tables on the intended Linux box.
  4. Test direct IPv4 and IPv6 connectivity from that box.
  5. Test IPv4 and IPv6 destinations through the actual proxy endpoint.
  6. Trigger one rotation and record both protocol family and exit address again.
  7. Repeat the test on each carrier or APN profile before copying the design to a fleet.

ProxyKite is designed for this operator-owned setup: a compatible customer-owned dongle and SIM connect to a Raspberry Pi or Linux box, while the software and cloud routing publish HTTP and SOCKS5 access without requiring a static IP or inbound port forwarding. It is billed at US$9 per active dongle per month, with no per-GB charge; you supply the hardware and mobile data plan.

FAQ

What is an IPv6 mobile proxy?

An IPv6 mobile proxy is a proxy whose mobile data path supports IPv6 or uses an IPv6-first carrier network. The website may see IPv6 or an IPv4 address produced by NAT64, depending on the destination and the proxy’s outbound connection.

Does an IPv6 SIM always give me an IPv6 proxy exit?

No. The APN may provide IPv6 locally while the target is reached through NAT64 and sees IPv4. Test the proxy against an IPv6-capable destination instead of relying on the SIM or dongle status page.

Is IPv4v6 better than IPv4 for a 4G proxy farm?

Use the IP type supported by the carrier and required by your applications. IPv4v6 can be useful when the plan genuinely supports dual-stack service, but it is not automatically more stable or more public than IPv4.

Can IPv6 change when a mobile proxy rotates?

Yes, a new mobile session may receive a different IPv6 address or prefix, and the IPv4 NAT64 or CGNAT mapping may also change. Neither result is guaranteed, so verify the actual proxy exit before and after rotation.

Does ProxyKite sell IPv6 addresses or mobile bandwidth?

No. ProxyKite provides software and cloud routing for customer-owned compatible dongles and SIMs. The mobile carrier supplies the data connection and determines whether the APN offers IPv4, IPv6, IPv4v6, or translation.

Previous Article

Axios Proxy in Node.js: HTTP and SOCKS5

Next Article

SOCKS5h vs SOCKS5: Prevent DNS Leaks