CGNAT explained: why your IP is shared and port forwarding fails

If your public IP is in the 100.64.0.0/10 range, or port forwarding simply never works, you are probably behind carrier-grade NAT. It changes what an IP address means for you.

What CGNAT is

Carrier-grade NAT (CGNAT), also called large-scale NAT, is NAT performed by your ISP rather than your router. Many customers share one public IPv4 address, and the carrier tracks which internal address and port belong to which connection. It exists because IPv4 addresses are scarce and mobile and fixed-wireless networks have far more customers than public addresses.

RFC 6598 reserves 100.64.0.0/10 for this kind of shared address space. Seeing an address in that range on your router's WAN side is a strong hint, though some carriers use other private ranges internally.

Why it matters

How to tell

  1. Compare the address your router reports on its WAN or internet page with the address this site shows. If they differ, you are behind NAT somewhere. If the router's address is in 100.64.0.0/10, that somewhere is likely the carrier.
  2. Run a traceroute to a public address and look at the first few hops. Carrier NAT often appears as a private hop before the public internet.
  3. Try an inbound port check against your public IP. With CGNAT it will always fail, even with router forwarding configured.
  4. Ask your ISP. Many are explicit about CGNAT on mobile and fixed-wireless plans, and some offer a public IPv4 address as an add-on.

What you can do

CGNAT is not the same as your home router's NAT

Your router already hides your devices behind one address. CGNAT adds another layer at the ISP. Home NAT you control: you can forward ports, set firewall rules and see the public address. CGNAT you do not control: the public address is shared and the carrier decides how connections are mapped. That is why changing router settings does not fix CGNAT.

If your address looks private but not in the CGNAT range, read about why IP location can be wrong and check whether a VPN is active.

Check your own connection

See your public IP address, inspect the headers your browser sends, or work out a network range with the subnet calculator. More background in the guides index.