Add Troubleshooting relayed connections teaching page#791
Conversation
Adds a help-section teaching doc that walks junior admins from 'Connection type: Relayed' to a fixed P2P connection (or a justified stop): mental model, the four players (NAT/Signal/STUN/Relay), ICE candidate reading, an elimination-based decision flow, a port-forwarding escape hatch, a worked walkthrough, and when relay is the right answer. Moves the troubleshooting-oriented sections (Checking Your Connection Type, Tips for Improving P2P Success) out of Understanding NAT and Connectivity, leaving it purely conceptual with pointers to the new page. Adds sidebar entry and a pointer from troubleshooting-client.
The STUN service runs on UDP 80/443/3478/5555, but the example rule allowed TCP/443. Also note that nftables resolves hostnames at ruleset-load time only, which matters for a dynamic geo-distributed endpoint pool.
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (5)
📝 WalkthroughWalkthroughThis PR introduces a comprehensive troubleshooting guide for NetBird relayed connections and consolidates related content. It adds a new diagnostic page, updates the documentation navigation, simplifies existing guides by redirecting to the new resource, and refines firewall configuration examples with clarifications on dynamic hostname resolution. ChangesRelayed Connections Troubleshooting Hub
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Suggested reviewers
Poem
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
ESLint install timed out. The project may have too many dependencies for the sandbox. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
Adds a new help-section page, Troubleshooting relayed connections (
/help/troubleshooting-relayed-connections), written as a teaching document in the style of the Networks overview. It walks an IT admin fromConnection type: Relayedto either a restored P2P connection or a justified stop:relay/-) is where to look.Relays:section ofnetbird status -d) → host firewall → repeat on the other peer → conclude or escalate. Explicit stop conditions throughout.wt0allowance, in line with the no-inbound-ports promise.Restructuring
descriptionexport and fixes a small typo.Connection typefield explanation.Status snippets follow current client output (0.72.x): no
Direct:field,rels://relay addresses,Networks:field.Separate fix
The STUN
nftablesexample in ports-and-firewalls allowedtcp dport 443-443, but STUN runs on UDP 80/443/3478/5555. Corrected, with a note that nftables resolves hostnames only at ruleset load (relevant for a dynamic geo-distributed pool).Summary by CodeRabbit