What Is CGNAT, and Are You Behind It?
Why your port forwarding may not work
If port forwarding refuses to work, or you cannot reach your home network from outside, your internet provider may be using CGNAT. It is a common setup that many people only discover when something breaks.
What is CGNAT?
CGNAT stands for Carrier Grade Network Address Translation. There are not enough IPv4 addresses for every customer, so providers let a group of customers share one public IP address.
You probably know this idea already. Your home router lets all your devices share one public address. CGNAT adds a second layer of the same trick at the provider:
- Your devices connect to your router and use private addresses.
- Your router connects to the provider, and receives another non-public address.
- The provider's equipment translates that address to a public IP address shared with other customers.
Providers commonly use the range 100.64.0.0 to 100.127.255.255 for that middle layer. It was reserved for exactly this purpose in RFC 6598.
CGNAT is especially common on mobile networks, satellite internet, fixed wireless, and with newer fiber providers that did not receive many IPv4 addresses.
How to check if you are behind CGNAT
- Log in to your router and find its WAN or internet IP address. This is usually on a status page.
- Open the WhatsMyIP.net homepage and note your public IP address.
- Compare the two.
- The addresses match: you are not behind CGNAT.
- The router address is between 100.64.0.0 and 100.127.255.255: you are almost certainly behind CGNAT.
- The router address is another private address, such as one starting with 192.168 or 10: you have a second router or a modem in router mode between you and the internet, or your provider uses a private range for CGNAT. Check your own equipment first, then ask your provider.
Do not compare against the 192.168.x.x address you use to open the router page. That is the inside of your router, and the WAN address is the side that faces your provider.
What CGNAT breaks
- Port forwarding: your router can forward ports, but the provider's equipment in front of it does not, so incoming connections never arrive.
- Hosting from home: game servers, home automation, and network storage cannot be reached directly from outside.
- Security cameras: systems that need direct access stop working, although cameras that connect through a cloud service still work.
- Online gaming: consoles can report a strict NAT type, which limits who you can connect to.
- Shared reputation: when another customer on your address misbehaves, sites may show you extra CAPTCHAs or block the address.
Normal browsing, streaming, and video calls work fine, because those connections start from inside your network.
How to work around CGNAT
- Ask your provider for a public IP address. Some providers do this for free when you ask, while others charge a monthly fee or offer it on business plans only.
- Use IPv6. If your provider offers it, each device can receive a publicly routable address, with no CGNAT in the way. The device you connect from needs IPv6 too.
- Use a tunnel or mesh network. Tools such as Tailscale and Cloudflare Tunnel create an outgoing connection, so you can reach your home network without opening ports.
- Use a VPN with port forwarding. Some VPN services offer this, and incoming traffic then arrives through the VPN server.
Does CGNAT make you more private?
Only a little. Sites see an address shared with other people, but your provider keeps records of which customer used it, and sites can still identify you through cookies and logins. Do not treat it as a privacy tool.
If the location on your IP address looks odd, CGNAT may be part of the reason. Read why your IP location can be wrong.