Your IPv4 address:
Operating system:

What is CGNAT? Shared IPs and port forwarding

You set up port forwarding on your router and the port still looks closed from outside. One common reason is carrier-grade NAT (CGNAT): the provider translates IPv4 addresses inside its own network so that many subscribers share one public address. Outgoing connections usually work as normal, but connecting in to a server at home may be impossible unless the provider offers a way.

Two layers of translation, and you control one

Your home router probably already translates devices such as 192.168.1.20 to its external address. With CGNAT, the provider translates that external address once more, to a public IPv4 address shared with other customers. There are now two translation tables between a remote server and your device.

You can configure only the one at home. A port-forwarding rule on your router cannot create a matching rule in the provider’s equipment. While you browse, the extra layer may go unnoticed. It matters a great deal as soon as someone tries to connect to you.

How to tell whether you are behind CGNAT

Open the router’s status page and find the IPv4 address of its external interface. Compare it with the public address that 2ip sees for your connection; the 2ip IP WHOIS lookup also names the provider and network that address belongs to. If they differ, and neither a VPN nor a second home router explains it, translation on the provider’s side is likely.

A second clue is the address range. Providers often number the customer side from 100.64.0.0/10, shared address space that runs from 100.64.0.0 to 100.127.255.255. RFC 6598 defines it, and it is distinct from the RFC 1918 private blocks. Not seeing that range does not rule CGNAT out, because an operator can use another address plan.

Why the port check fails although the service is running

A local test may confirm that your application is listening, while an outside port check cannot reach it. With CGNAT, an incoming packet first arrives at the provider’s shared address. The provider’s equipment has no mapping that says which subscriber should receive it, so the packet goes no further.

Do not blame CGNAT too early. Verify the service itself, whether it uses TCP or UDP and on which port, the firewall on the device and the forwarding rule on the router. VPNs, cloud proxies and extra routers produce similar symptoms. And a port check is one observation from one place, not a full health test of the application.

What to ask your ISP, and the alternatives

Ask whether a public IPv4 address with inbound connections is available, and whether that address would be fixed or dynamic.

If both ends support IPv6, you can publish the service over IPv6 instead, with firewall rules limited to what the service needs. Some applications take another route: they open an outgoing protected connection to a relay, which passes traffic back in. That works behind CGNAT, but you then have to trust the relay and think about its security. Whatever you choose, do not expose an entire device just to get a successful port test.

What CGNAT does not mean

CGNAT alone does not mean that your ordinary Internet access is broken. It also does not hide a subscriber’s identity from the provider, which knows whose connection is whose.