CGNAT Explained: How to Detect It and Restore Remote Access

Network devices connect through a central gateway to a larger internet network.

When a port-forwarding rule looks perfect but nothing from the internet ever reaches your server, camera, or NAS, the cause is often upstream of your house. With carrier-grade NAT, your ISP places your router behind its own translation layer and shares one public IPv4 address among many subscribers, so unsolicited inbound traffic stops at equipment you cannot configure.

Network devices connect through a central gateway to a larger internet network.

To detect CGNAT, compare your router WAN IP with the public address shown by PacketTools’ What Is My IP: if they differ and the WAN address sits in 100.64.0.0/10 or a private range, your ISP is translating your traffic, and you restore remote access by requesting a public IPv4 address, using native IPv6, or running an outbound tunnel or relay.

PacketTools runs that address check in real time without logging your IP or requiring a sign-in, and the steps below come from the same diagnostics used to verify VPNs and routing in production networks. You will be able to prove which NAT layer is blocking you and pick the access method that fits your service.

How Does ISP Address Sharing Work?

Several homes connect through an internet provider’s network gateway to the internet.

Your ISP runs a large NAT device that maps many customer connections onto a small pool of public IPv4 addresses, tracking each flow by address and port. The same idea shows up in several designs, from NAT444 on IPv4-only networks to DS-Lite and NAT64 on IPv6-based ones.

Why Providers Share Public IPv4 Addresses

Public IPv4 space ran out years ago, and providers adding subscribers cannot hand every router its own address. Carrier-grade NAT (CGN), also called large-scale NAT (LSN), provider NAT, or service provider NAT, lets an ISP number customer gateways with non-public addresses and translate them at the network core.

Mobile operators adopted it first because phones vastly outnumber available addresses. Estimated CGN deployments grew from 1,200 in 2014 to 3,400 in 2016, with 28.85% of studied deployments in mobile operator networks.

Fixed wireless, satellite, and some cable and fiber providers now use it too. If you want a refresher on how addresses are structured, the IP address basics apply directly here.

How NAT Tables and Port Allocation Keep Connections Separate

Every outbound TCP or UDP flow creates an entry in the provider’s NAT table: your internal address and source port, mapped to a shared public address and a translated port. Return traffic matches that entry and gets sent back to your router.

Providers assign each subscriber a block or quota of ports on the shared address. RFC 6888 sets out the common requirements CGN devices must meet, including predictable mapping behavior and fair port allocation so one customer cannot consume every port.

The catch for you is direction. An entry exists only after your side sends something first, so a brand-new inbound connection has no mapping and nowhere to go.

How Home NAT, Double NAT, and NAT444 Differ

Three setups produce similar symptoms but have different owners:

Setup Translation layers Who controls the extra layer
Home NAT (NAT44) One: your router You
Double NAT Two: ISP gateway plus your router You, in most homes
NAT444 (CGNAT) Your router plus ISP core NAT Your ISP

NAT444 earns its name because traffic crosses three IPv4 addressing domains: your LAN, the carrier’s internal network, and the public internet. Double NAT inside your house is fixable with bridge mode; NAT444 is not.

Where DS-Lite and NAT64 Fit into the IPv6 Transition

Some providers run IPv6 internally and keep IPv4 working only through translation. Dual-Stack Lite (DS-Lite) tunnels your IPv4 packets over IPv6 to a provider NAT, which removes one IPv4 addressing domain from the path.

NAT64 paired with DNS64 goes further: your network uses IPv6 only, and the provider translates to IPv4 when a destination has no IPv6 address. In both cases your IPv4 traffic still exits through a shared address, while native IPv6 stays end to end.

How Can You Check Whether Your Connection Uses CGNAT?

A two-address comparison answers the question in a few minutes: your router WAN IP versus the public IP the internet sees. Range recognition then tells you who owns the extra NAT, and a few common false positives need ruling out before you call your ISP.

Compare Your Router WAN IP with PacketTools’ What Is My IP

Log in to your router (the admin page usually lives at your router IP address, such as 192.168.1.1) and find the WAN, Internet, or uplink status. Write down the IPv4 address it shows.

From a device on the same network, open PacketTools’ What Is My IP tool and note the public IPv4 address reported. Do both in the same session, since dynamic addresses change.

  • Addresses match: your router holds a public IPv4 address. Inbound problems are local (firewall, forwarding rule, or service).
  • Addresses differ: another NAT device sits upstream. Check the WAN address range next.

Recognize 100.64.0.0/10 and RFC 1918 Private Address Ranges

The shared address space defined in RFC 6598 is the strongest single indicator. That block covers 100.64.0.0 to 100.127.255.255 and exists specifically for provider NAT deployments.

WAN address range Meaning
100.64.0.0 to 100.127.255.255 Shared address space; almost certainly ISP CGNAT
10.0.0.0 to 10.255.255.255 Private; upstream NAT (ISP or your own gateway)
172.16.0.0 to 172.31.255.255 Private; upstream NAT
192.168.0.0 to 192.168.255.255 Private; commonly an ISP modem/router in your home

A private WAN address in the RFC 1918 ranges tells you a NAT exists upstream, though not whose it is.

Rule Out VPNs, Proxies, and Double NAT Before Drawing Conclusions

Turn off any VPN client, Tor Browser, browser proxy, or privacy relay before running the comparison. Each one makes the public IP lookup show the exit node’s address, which will never match your WAN.

Next, map physical boxes. If an ISP gateway sits between your router and the line, a 192.168.x.x WAN address points to double NAT you can fix. Check the gateway’s own WAN status page; if that address is also private or in 100.64.0.0/10, the provider layer is confirmed.

Why Traceroute, Strict NAT, and Closed Ports Are Not Proof

A traceroute showing 100.64.x.x hops after your router is a useful clue, and learning how to trace a route helps you spot them. Routers can still answer from unrelated interfaces or drop replies, so a hop alone settles nothing.

A “Strict” or “Type 3” NAT result on a console describes how mappings behave, which double NAT or a strict firewall also produces. A closed result from an open port checker means the same thing if the service is not listening or a host firewall blocks it. Treat all three as supporting evidence behind the address comparison.

Ask Your ISP to Confirm Your IPv4 Assignment

Give support your WAN IP and public IP, captured together, and ask three direct questions: Is my connection behind CGNAT? Can I get a public IPv4 address, dynamic or static? Is native IPv6 available on my plan?

That evidence skips the “reboot your router” script. Some providers can move you off the shared pool on request, while others sell public addresses as an add-on or offer none.

What Does Shared IPv4 Change for Your Applications?

A network engineer views several application connections passing through a shared network gateway.

Shared IPv4 mostly breaks anything that waits for someone else to connect in. Outbound browsing and streaming keep working, while hosting, peer connections, and IP-based reputation pick up new failure modes.

Why Local Port Forwarding Usually Cannot Enable Inbound Connectivity

Your forwarding rule only tells your own router where to send traffic it receives. With CGNAT, a new inbound packet hits the ISP’s shared address first, and the provider’s NAT has no mapping that names your router, so it discards the packet.

The ports you choose also differ from the ports the provider assigns you, which is why the client sees connection refused or a timeout no matter how you configure the rule. RFC 6269 documents these address-sharing side effects in detail.

How Online Gaming, Peer Connections, and Remote Access Can Be Affected

Games that host lobbies on your console, voice and video apps using direct peer links, and remote desktop or SSH into your home all rely on inbound reachability.

NAT traversal techniques (STUN-style hole punching) succeed in many cases because both sides send outbound packets first. When both peers sit behind restrictive NAT, apps fall back to a relay server, adding latency. Remote access to a NAS, camera, or Home Assistant instance fails outright without a tunnel or public address.

When Port Exhaustion and Shared IP Reputation Cause Problems

Port quotas limit how many simultaneous flows you can open. Heavy torrent clients or busy multi-device households can hit that ceiling, producing intermittent connection failures that look like packet loss.

Reputation is shared too. If a site bans a spamming user’s IP, other users sharing that address get blocked as well, and streaming services sometimes treat CGN traffic like VPN or account-sharing traffic. You will see extra CAPTCHAs and occasional blocks you did nothing to earn.

Why CGNAT Is Neither a Firewall Replacement nor an Anonymity Service

Unsolicited inbound traffic gets dropped as a side effect, but you get no policy, logging, or protection for outbound connections or for IPv6, which bypasses the IPv4 NAT completely. Keep your router and host firewalls configured.

Anonymity is weak as well. Providers log mappings by address, port, and timestamp to answer legal requests, so your traffic remains attributable to your account. Run a DNS leak test if privacy is the goal, and use a tool built for it.

Can Your ISP or Native IPv6 Restore Direct Connectivity?

Direct connectivity comes back when your ISP gives you a routable address, either a public IPv4 address or native IPv6. Availability varies by provider and plan, so treat each option below as a question to ask.

Request a Public IPv4 Address: Dynamic vs. Static

A dynamic public IPv4 address is enough for port forwarding if you pair it with dynamic DNS that updates when the address changes. A static IPv4 address removes the DNS step and suits business services, VPN endpoints, and allowlisting.

Some providers move customers off CGNAT free on request; others charge, and some offer nothing. Starlink, for example, does not provide static IPs and assigns CGNAT addresses to customer WAN interfaces. The trade-offs between DHCP vs. static IP assignment carry over directly.

After the change, rerun the WAN versus public IP comparison. They should match.

Use Bridge Mode Only When the Extra NAT Is Yours

Bridge mode or IP passthrough on an ISP gateway hands its public address to your router, removing double NAT inside your home. It does nothing for provider NAT, because the shared address lives in the ISP’s core.

Check the gateway’s WAN address before bridging. If that address is in 100.64.0.0/10, bridging only moves the CGNAT address to your router, and you lose gateway features like built-in Wi-Fi or voice ports for no benefit.

Use Native IPv6 When Both Endpoints and Firewalls Support It

Native IPv6 gives every device a globally routable address with no translation. If your router shows an IPv6 WAN address and a delegated prefix, you can allow a specific port to a specific host in the IPv6 firewall and connect directly.

Both ends need IPv6, though. A friend on an IPv4-only network or an app that only listens on IPv4 still cannot reach you. Comparing IPv4 vs. IPv6 addressing helps you plan the firewall rules: open only the exact host and port, never the whole prefix.

Ask Whether Your Provider Supports PCP Port Mappings

Port Control Protocol, standardized in RFC 6887, lets a client request an inbound mapping on the provider’s NAT, much like UPnP on a home router. Carrier uptake has been slow, so most residential subscribers will not find it offered.

Ask support anyway if your router or application supports PCP. When it works, you get port forwarding through the shared address without paying for a dedicated IP.

Which Tunnels and Relays Work When Direct Access Is Unavailable?

When you cannot get a routable address, flip the connection direction: your device connects outward to something reachable, and traffic returns through that established path. CGNAT allows outbound flows, so tunnels work without ISP cooperation.

Use Tailscale for Authorized Private Remote Access

Tailscale builds a WireGuard-based mesh between your own devices, using NAT traversal to connect peers directly and relaying traffic when a direct path fails. Install it on your home server and your laptop or phone, sign in to the same tailnet, and reach services by their tailnet address.

This fits private remote access for you and a few trusted users: SSH, NAS shares, admin dashboards. It is a poor match for public visitors who cannot install a client. Review access control rules so every device on the tailnet cannot reach everything.

Connect Outward to a Public WireGuard Endpoint

Rent a small VPS with a public IPv4 address and run WireGuard on it. Your home machine connects outward and keeps the tunnel alive with a PersistentKeepalive value of around 25 seconds, so the provider’s NAT mapping never expires.

You then reach home by connecting to the VPS, or forward selected ports from the VPS through the tunnel. You maintain an internet-facing server, which means patching it and locking down SSH.

Publish Services Through an Outbound Tunnel or FRP Reverse Proxy

For public websites and APIs, an outbound tunnel or a reverse proxy like FRP (Fast Reverse Proxy) works well. The FRP client at home connects to an FRP server on your VPS, which accepts public HTTPS or TCP traffic and pushes it down the tunnel.

Hosted tunnel services do the same for HTTP and HTTPS without a VPS. Arbitrary TCP and UDP services, including many game servers, need a tool that explicitly supports those protocols.

Choose a VPN with Explicit Port Forwarding Support

Some commercial VPNs give you a forwarded port on their exit address. Confirm in the provider’s documentation that the plan includes inbound forwarding, which protocols it allows, and whether you can choose the port, since many assign a random one.

All your traffic then exits through the VPN, which changes your apparent location and adds latency.

Validate Reachability, Access Controls, DNS, and TLS After Changes

Test from outside your network, such as a phone on cellular data, because many routers lack NAT loopback. On Windows, Test-NetConnection with -Port confirms the TCP path.

Then check the full chain:

  • DNS records point to the VPS, tunnel endpoint, or new public address.
  • The HTTPS certificate covers the hostname and validates, which PacketTools’ SSL/TLS Checker reports.
  • Authentication protects every exposed admin page.
  • Firewall rules on the VPS and the home host allow only the ports you intend.

Confirm the Address Path, Then Choose the Right Access Method

Start every inbound problem with one comparison: your router WAN IP against the public IPv4 address the internet sees. A match means the fix is local; a mismatch with a 100.64.0.0/10 WAN address means CGNAT, and a private address means you still need to identify whose NAT device sits upstream.

From there, the choice follows the evidence. Ask your ISP for a public IPv4 address when you need classic port forwarding, use IPv6 when both ends support it, and use Tailscale, a WireGuard VPS, or a reverse proxy when neither is available. After any change, retest from an outside network and confirm DNS, TLS, and access controls before you rely on remote access.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *