Port forwarding does nothing: what CGNAT is and how to get past it

You saved the rule, restarted the router, and the other side still cannot reach you. The public address your router reports is not yours: most providers now share one address between a few hundred homes, so there is no port left on it to forward. That is carrier-grade NAT. You do not fix it, you stop needing it.

How do I know if I am behind CGNAT?

Two checks, both free, both about a minute. You need the router admin page, usually at 192.168.0.1 or 192.168.1.1, and any page that reports your public address.

  1. 1 Read the WAN addressIn the router admin, open the status or WAN page. Write down the IPv4 address the router says it received from the provider.
  2. 2 Compare it with the outsideOpen any what-is-my-IP page on the same connection and compare the two numbers.
What the two numbers mean together.
What the router showsWhat it meansPort forwarding
100.64 to 100.127 Carrier-grade NAT. The block 100.64.0.0/10 is reserved for exactly this and for nothing else. Will not work
10.x, 172.16 to 172.31, 192.168.x A private range on the WAN side: either a second router in front of yours, or the provider using private space. Only after you find the device in front
The same number as the what-is-my-IP page The address is genuinely yours. Should work
A different number from that page Something translates between you and the internet, whatever the range looks like. Will not work

A faster version if you are in a hurry: keep the forwarding rule in place and ask someone on another network to open your-public-address:port. If it times out while the service runs locally, nothing is reaching you.

Why does the router accept the rule and nothing happens?

Port forwarding is a note the router writes to itself: anything arriving on this public port goes to that machine. The note is worth something only if the router owns the public address. Under carrier-grade NAT it does not. The provider's equipment holds one address for hundreds of customers and hands out ports as connections leave, so no permanent port on that address belongs to your home. Your router saves the rule and waits for traffic that is never routed to it.

Why did this become the normal setup?

IPv4 ran out. The regional registries handed out their last large blocks between 2011 and 2019, and a provider that kept adding customers had nothing left to give each one. Sharing a single address between many homes was the cheapest answer, so most of them chose it. The guides that still open with “forward the port” were written when a home connection came with an address attached.

What actually works

Four routes out, in the order we would try them. The first one is not us, and if it is available to you it is the simplest thing on this page.

Ask the provider for a public address
Many providers will move you off shared addressing if you ask. Some do it free, some charge a small monthly fee, some offer it only on business plans. Ask for a public or external IPv4 address and say port forwarding is why. If they agree, every guide written in the last twenty years starts working again and you need nothing else on this page.
Use IPv6, if both sides have it
IPv6 addresses are not shared, so the original problem disappears. It only helps when everyone involved has working IPv6 and the application speaks it, and many of the older LAN titles are IPv4 only. That rules this out for exactly the games people most want to play together.
Publish one port through a tunnel
A service such as playit.gg gives you an address on the public internet and carries traffic to your machine. That suits a server you want strangers to find. It is the wrong shape for a private session, because whatever you publish is reachable by anyone who learns the address. The trade-offs are in Lanora vs playit.gg.
Go around the forwarded port entirely
Two machines behind separate NATs can still reach each other if both start the conversation outward at the same moment. Nothing has to be opened, because neither side is sitting and waiting to be contacted. That is what Lanora does: everyone joins one room, every machine gets an address inside it, and the application sees the others the way it would see machines on the same switch. The negotiation is written out on how it works.

What if a direct path cannot be found?

Not all shared addressing behaves the same way. A cone NAT keeps the same outside port for a while, which is enough for two sides to find each other. A symmetric NAT picks a new port for every destination, so by the time one side learns where to answer, the door has moved. Both are carrier-grade NAT, and the router will not tell you which one you have.

Relay is not built yet

0.2.2 has no fallback through our servers, so on a symmetric NAT the connection fails instead of slowing down. Nothing on the outside shows which kind you have, and the only honest test is to run it once: install it, open a room, have one person join. Two minutes, and then you know. ZeroTier and Tailscale both carry traffic through a relay when a direct path fails, so if your network turns out to be the difficult kind, one of them serves you better until this is built.

What we would do

Call the provider first. A public address fixes this for every application on the machine, permanently, and often costs nothing. If they say no, or you would rather not spend an afternoon on hold, test a direct path with one other person before you promise anybody an evening — better to find out on a Tuesday than at the start of a Saturday. And if you already run ZeroTier and it works, keep it. Switching for its own sake is not an improvement.

If the application runs and the lobby stays empty even though the machines can reach each other, the discovery packet is being dropped and that is a different problem. The Minecraft LAN guide shows the move that gets around it, and the same move works in most LAN games.

Download Lanora

Free while it is in prerelease. Installers are hosted on GitHub and every build is listed with its SHA-256 checksum. Compare the file with that checksum before you install.

macOS

Not built yet

Coming soon
Checking latest releaseLanora 0.2.2, stable Release notes SHA-256 checksums