Nodes behind NAT, CGNAT and the workaround list
Home and small-office nodes run behind network address translation by default, and carrier-grade NAT puts a second layer on top that the operator cannot even see. NAT is not fatal — plenty of nodes run happily behind it — but it changes what the node can do: inbound connections become hard, peer counts drop, and sync reliability depends on tricks. The workaround list is long, each item has a cost, and knowing which applies to your setup beats discovering it during a peer drought.
What NAT actually does to a node
- Inbound connections need translation rules. Without port forwarding or a tunnel, peers outside the network cannot reach the node. Outbound connections still work, which is why sync survives but serving does not.
- Peer discovery degrades. Nodes behind NAT appear fewer to the network, and some peer-selection logic avoids them. Fewer peers means slower propagation and weaker eclipse resistance.
- CGNAT removes the escape hatch. Carrier-grade NAT shares one public address among many customers, and the operator has no router to configure. Port forwarding is not available; only overlay solutions work.
- Stability varies. Residential connections change addresses, drop sessions, and throttle long-lived connections. A node behind CGNAT on a residential line is one reconnection from a peer drought.
The workaround list, in order of preference
- Ask for a public address. Some providers sell static IPs or offer business-grade lines without CGNAT. This is the cleanest fix and worth the monthly delta.
- Port forward on a router you control. With a real public IP, forward the node's ports and pin the address. Simple, cheap, and gone the day the ISP changes the arrangement.
- Overlay tunnels. WireGuard, Tailscale, and similar tools punch through NAT and CGNAT, giving the node a stable virtual address. Peers and services reachable through the tunnel keep working regardless of the underlying network.
- Relay through a VPS. A small always-on instance with a public address forwards or proxies for the node. Costs a few dollars monthly and adds one more component to monitor.
- Accept egress-only operation. If the node only needs to sync and query outward, NAT is tolerable — document that inbound serving is not a goal, so nobody depends on it.
When to stop working around and move
If the node serves applications, participates in consensus, or carries traffic others depend on, NAT workarounds become infrastructure debt. At that point a cheap VPS or a colocation slot is cheaper than the incident it prevents — and the workarounds themselves need monitoring, which is its own job.
The takeaway
NAT and CGNAT reshape what a node can do: inbound connections need translation or tunnels, peer counts drop, and residential instability compounds the problem. Work the list in order — public address, port forwarding, overlay tunnels, VPS relay — and move the node off residential lines once its duties require inbound reliability. The workaround is fine until the workload depends on it.