What Is CGNAT? A Simple Guide With Diagrams
CGNAT means your ISP shares one public IP between many customers. See how it works, how to check if you're behind it, what it breaks, and your options.
CGNAT (carrier-grade NAT) is when your internet provider puts many customers behind one public IP address. Your home router already does this for the devices in your house. With CGNAT, your ISP does it again, one level up, for whole streets of homes.
For browsing, streaming and video calls, you will probably never notice. The trouble starts when something on the internet needs to reach you: friends joining your game server, your phone opening your home cameras, or you logging in to your NAS from work. Those connections have no way in.
This guide shows how CGNAT works, how to check if youâre behind it in about two minutes, what it breaks, and what you can do about it.
Key Takeaways
- CGNAT is a NAT run by your ISP. Many customers share one public IPv4 address.
- Outgoing connections work fine. New incoming connections usually stop at the ISP, so port forwarding on your router canât fix it.
- The quickest check: compare your routerâs WAN IPv4 with your public IPv4. If they differ, or the WAN starts with 100.64 to 100.127, youâre likely behind CGNAT (or double NAT).
- Your options: ask your ISP for a public IPv4, use IPv6, use a VPN or VPS, or use an outbound tunnel.
What CGNAT Means
NAT (network address translation) lets many devices share one IP address. Your router does it every
day. Your laptop, phone and TV each get a private address like 192.168.1.20, and the router swaps
it for the one public IP your ISP gave you when traffic leaves the house.
With CGNAT, your router doesnât get a public IP anymore. It gets an internal address from the ISP, and the ISPâs own NAT box swaps that for a public IP that many other customers use at the same time. So there are two NATs in a row: yours, and your ISPâs. Engineers call this NAT444, because the traffic crosses three IPv4 address spaces: your home network, the ISPâs shared space, and the public internet.
Think of it like an apartment building with one street address. Post you send out comes back fine, because the building knows which flat sent it. But a stranger who writes only the street address canât reach you, because nothing on the envelope says which flat is yours.
Here is what happens in that diagram, step by step:
- Your laptop (
192.168.1.20) opens a website. Your router sends it out from its WAN address,100.72.14.9. - The ISPâs CGNAT swaps that for the shared public IP
203.0.113.50and picks a port, say40112. It writes this down in a mapping table. - The website replies to
203.0.113.50:40112. The CGNAT looks up the mapping and sends the reply back to your router. Everything works. - Now your friend tries to connect to
203.0.113.50directly. There is no mapping for this connection, because you didnât start it. The CGNAT has no idea which of its customers itâs for, so it drops it.
Thatâs why connections from the internet usually canât reach a device behind CGNAT. On a normal connection you would fix it with port forwarding on your router. Behind CGNAT, the port you need to open is on the ISPâs equipment, and you canât log in to that.
How to Check If Youâre Behind CGNAT
You only need two numbers: the IPv4 address your router gets from the ISP (the WAN address), and the IPv4 address the internet sees (your public IP).
Step 1: Find Your Routerâs WAN IPv4
Open your routerâs app or admin page and look for a section called Internet, WAN, Status or
Connection. Common admin addresses are 192.168.0.1, 192.168.1.1 and 10.0.0.1. Some ISPs (and
Starlink) show it in their mobile app instead.
Write down the IPv4 address. Ignore any long address with colons in it, like 2001:db8::1.
Thatâs IPv6, and itâs a different story (more on that below).
Step 2: Look Up Your Public IPv4
Use a computer connected to that router, and turn off any VPN or proxy first. Otherwise you will see the VPNâs address, not yours. Then open a terminal and run:
# macOS and Linux
curl -4 https://ifconfig.me
# Windows 10 or later (Command Prompt or PowerShell)
curl.exe -4 https://ifconfig.me
The -4 forces an IPv4 answer, so you get back one address with four numbers and dots. On Windows,
type curl.exe, not just curl, because in older PowerShell curl runs a different command. You
can also search âwhat is my IPâ in a browser, but make sure the result is an IPv4 address.
Step 3: Compare the Two
| Your routerâs WAN IPv4 | Matches your public IPv4? | What it means |
|---|---|---|
198.51.100.24 (a normal public address) | Yes | No CGNAT. Your router holds the public IP. |
100.72.14.9 (in 100.64.0.0â100.127.x.x) | No | Almost certainly CGNAT. This is the ISP shared address range. |
192.168.0.2, 10.0.0.5 or 172.16.0.10 | No | Double NAT (another router in your home) or CGNAT. See the next step. |
The 100.64.0.0/10 range is set aside by RFC 6598 as
âshared address spaceâ for ISPs. If your WAN address is in it, CGNAT is the likely reason. But some
ISPs use other ranges for CGNAT too, so a mismatch matters more than the exact number.
Step 4: Rule Out Double NAT
If your WAN address is a private one like 192.168.x.x, check what your router is plugged into. A
very common setup is the ISPâs modem-router plus your own Wi-Fi or mesh router behind it. Thatâs
double NAT: two routers in your own home, both translating addresses.
Double NAT looks a lot like CGNAT, but you can usually fix it yourself. Only one box should do the routing. Putting one of them in bridge or access point (AP) mode removes a layer of NAT. Your routerâs manual or your ISP can tell you which one to switch. Then run the check again. If the WAN and public IPv4 still donât match, the extra NAT is on the ISPâs side.
Optional: A Traceroute Clue
A traceroute lists the routers your traffic passes through. A hop in the 100.64.x.x to
100.127.x.x range right after your router is a strong hint.
# Windows
tracert -d -h 5 8.8.8.8
# macOS and Linux (install traceroute first if it's missing)
traceroute -n -m 5 8.8.8.8
Example output from a connection behind CGNAT:
1 192.168.1.1 1.2 ms
2 100.72.0.1 9.8 ms <- CGNAT range
3 100.65.18.4 11.3 ms
4 203.0.113.1 12.0 ms
5 8.8.8.8 14.6 ms
Treat this as a clue, not proof. Some ISP routers donât answer traceroute, and some use other
address ranges. If you see * * * on a line, that hop just didnât reply.
Why ISPs Use CGNAT
There are only about 4.3 billion IPv4 addresses, and there are far more phones, laptops and smart devices than that. The central pool of unused IPv4 addresses ran dry in February 2011, when IANA handed its last blocks to the regional registries. The regional registries then ran out over the following years.
New IPv4 addresses now have to be bought from someone else, and they arenât cheap. An ISP with 100,000 customers would need 100,000 public addresses to give everyone their own. With CGNAT, it can serve all of them from a small block, because most people only make outgoing connections.
Thatâs why CGNAT is common on mobile networks, 4G and 5G home internet, satellite internet and many newer ISPs. Two well-known examples: Starlink uses CGNAT on its standard Residential and Roam plans, and T-Mobile Home Internet doesnât give customers a public IPv4 address either. Plans and policies change, so the check above is always the best answer for your own line.
What CGNAT Breaks (and What Still Works)
CGNAT mostly gets in the way of connections that start on the internet and come towards you. Things your devices start themselves almost always work as normal.
| What youâre doing | Behind CGNAT | Why |
|---|---|---|
| Browsing, streaming, video calls | Works | Your device starts the connection, so replies find their way back. |
| Joining online games | Mostly works | Hosting lobbies or voice chat can struggle. Consoles may report a strict or moderate NAT type. |
| Cloud camera and smart home apps | Usually works | The device dials out to the vendorâs cloud. |
| Hosting a game server for friends | Usually fails | Friends canât connect in. Port forwarding on your router wonât help. |
| Opening your NAS, Plex or Jellyfin from outside | Usually fails | Some apps fall back to a slower relay, others just fail. |
| Viewing an IP camera or NVR directly | Usually fails | The camera app needs an inbound connection. |
| Running a WireGuard or OpenVPN server at home | Usually fails | The VPN server needs an open inbound port. |
| SSH or Remote Desktop into a home PC | Usually fails | Same reason: no way in. |
| Torrents and other P2P | Slower | Other peers canât connect to you, only you to them. |
Thereâs also a side effect that surprises people: you share your public IP with strangers. If one of them gets that IP flagged for spam or abuse, you might see more CAPTCHAs, rate limits or blocks. In one Cloudflare analysis, customersâ rules rate-limited IPs it identified as CGNAT three times as often as other IPs, even though the traffic was mostly from real people. When many people share one address, everyone can feel the effects of someone elseâs traffic.
Is CGNAT Bad?
Not for most people. It lets ISPs keep connecting new customers while the world slowly moves to IPv6, and normal day-to-day use feels the same.
Itâs bad for anyone who wants to host something or reach their home network from outside. It can also add a little latency, and a busy CGNAT can run short of ports during peak hours, though most users never notice.
One myth worth clearing up: CGNAT is not a security feature. It happens to block unsolicited inbound traffic, but your devices still need a proper firewall, updates and strong passwords. Donât rely on CGNAT to protect you.
How to Get Around CGNAT
There is no setting on your own router that turns CGNAT off. The fix has to come from your ISP, or from making your connection outbound. Here are your options, from simplest to most hands-on.
| Option | Cost | Effort | Best for | Catch |
|---|---|---|---|---|
| Ask your ISP for a public IPv4 | Free to a monthly add-on | Low | Everything, including port forwarding | Not every ISP offers it, and it may still change |
| Static IP or business plan | Higher monthly price | Low | Servers that must always be reachable | Price |
| IPv6 | Free, if supported | Medium | Reaching your stuff from IPv6 networks | The other side needs IPv6 too, and you need firewall rules |
| Mesh VPN (Tailscale, ZeroTier, etc.) | Free tiers | Medium | Reaching your own devices | Every device needs the app; not for public visitors |
| VPS + WireGuard or reverse proxy | A small VPS each month | High | Full control | You set it up and maintain it |
| Outbound tunnel (like LocalXpose) | Free plan, Pro $8/month | Low | Sharing a game server, web app or camera | Traffic goes through a relay |
Use IPv6 If Both Ends Have It
Many CGNAT connections also come with native IPv6, and IPv6 has no CGNAT in the way. If your ISP, your router, your device and the person connecting all support IPv6, they can reach your service directly. Your service has to listen on IPv6, and you need a firewall rule that allows the connection. A global IPv6 address does not skip your firewall. The weak point is the other end: plenty of networks, like office Wi-Fi and some mobile carriers, still donât do IPv6.
Dial Out Instead of Waiting for Incoming Connections
CGNAT blocks new connections that start outside, but connections that start inside get through. A tunnel like LocalXpose uses that: a small client on your machine opens an outbound connection to a relay server that has a public address. When someone connects to the relay, it sends their traffic back down the connection you already opened.
With LocalXpose, thatâs one command. For example, to share a web app or dashboard running on port 8080:
loclx tunnel http --to localhost:8080
You get a public URL that anyone can open, with no router changes and no public IP. HTTP tunnels are on the free plan. TCP and UDP tunnels, which you need for game servers and SSH, are on the Pro plan.
If thatâs what you need, these guides go further:
- Free port forwarding without router access
- Access your home server from anywhere
- How to port forward a Minecraft server
- IP camera port forwarding and remote access
The Short Version
CGNAT means your ISP shares one public IPv4 address between many customers. Day-to-day browsing and streaming work fine, but anything that needs to reach you from the internet usually stops at the ISP. Run the two-minute check above. If youâre behind CGNAT, ask your ISP for a public IPv4 first, and if that isnât possible, use IPv6 or an outbound tunnel instead.
FAQ
Does CGNAT slow down my internet?
Usually not in a way youâd notice. Your speed depends on your plan and the ISPâs network. CGNAT can add a small amount of latency, and a busy CGNAT can run short of ports at peak times, but browsing and streaming feel the same for most people.
Can I turn off CGNAT on my router?
No. CGNAT runs on your ISPâs equipment, not your router. Only the ISP can take you out of it, usually by giving you a public IPv4 address.
Does UPnP or port forwarding help?
Not on its own. UPnP and port forwarding open ports on your router, but the traffic is still blocked one step earlier, at the ISPâs CGNAT. They start working once you have a public IPv4 address.
Will a VPN get me around CGNAT?
A normal VPN app on your laptop only helps you go out, not let others in. A VPN can help in two cases: when the device you want to reach joins the same private VPN (like a mesh VPN), or when the VPN provider offers inbound port forwarding on their server.
Is a 100.64.x.x address private?
Sort of. Itâs not one of the classic private ranges (10.x, 172.16â31.x, 192.168.x), but it
isnât used on the public internet either. RFC 6598 sets 100.64.0.0/10 aside as shared address
space for ISPs to use inside their own networks, which is exactly what CGNAT does.
Whatâs the difference between CGNAT and double NAT?
Both mean two NATs in a row. With double NAT, both are in your home (usually the ISPâs router and your own router), so you can usually fix it with AP or bridge mode. With CGNAT, the second NAT is at the ISP, so only the ISP can remove it.