Outbound vs inbound: the connectivity setup most guides skip
Node connectivity has a direction problem nobody warns you about: outbound connections are easy, inbound connections require negotiation with your network's edge — NAT, firewalls, CGNAT — and most nodes silently run half-connected because of it. Understanding the difference between outbound and inbound peering, and setting up the inbound path deliberately, is what separates nodes that participate fully from nodes that participate thinly.
Why direction matters
- Outbound is unconditional. Your node initiates, the network accepts. Every node can make outbound connections through any NAT or firewall that allows normal traffic. This is why nodes behind routers still peer.
- Inbound requires a reachable address. Peers connecting to you must reach your node's IP and port. Behind NAT, that address is shared or private; behind CGNAT, it does not exist as far as the internet is concerned. Inbound peering needs deliberate setup: port forwarding, a public IP, or a tunnel.
- The participation gap. Inbound-reachable nodes join the global peer graph more fully: more peers find them, graphs are more diverse, and eclipse resistance improves. Nodes that are outbound-only depend on being discovered, which is slower and less reliable.
The setup ladder, cheapest first
- Check what you actually have. A public IPv4? A dynamic residential IP? CGNAT? Test reachability from outside before configuring anything — the answer decides the path.
- Port forward on your router. If you have a public IP, forward the peer port to your node's address. Verify from outside that the port answers. This is the cleanest inbound path.
- Static IP or bridge mode from your ISP. Some providers sell static IPs or allow modem mode. This converts the residential setup into a small-server setup.
- Tunnels and relays. Where no public IP exists — CGNAT, corporate networks — tunnel protocols and relay services restore inbound reachability. They work, at the cost of an extra hop and trust in the tunnel endpoint.
- IPv6 as a side door. Dual-stack setups can accept inbound peers over IPv6 even when IPv4 sits behind CGNAT, if your network and peers support it.
The configuration mistakes
- Forwarding without verifying. The router says forwarded; the internet says nothing answered. Test from outside, always — carrier-grade NAT upstream silently breaks forwarded ports.
- Forgetting the node's bind address. Peers connect to an address the node is not listening on. Check bind settings against the forwarded path.
- Assuming peers accept you back. Inbound reachability is necessary, not sufficient: peer quality still depends on discovery, seeding, and your node's behavior.
- Leaving management ports exposed while fixing peering. Inbound setup should touch only the peer port. Management access stays tunneled or restricted.
The takeaway
Outbound peering is free; inbound peering is engineered. Check your real connectivity first, then climb the ladder — port forward, static IP, tunnel, IPv6 — and verify reachability from outside every time. Nodes with deliberate inbound paths join fuller, more diverse peer graphs. The half-connected node is not broken; it is unconfigured.