netbird
netbird copied to clipboard
Clarify how to get P2P connections
Is your feature request related to a problem? Please describe.
I have many 5G routers that runs netbird but have relayed connections with windows peers (behind firewall / home wifi). But with peers located on hetzner linux servers, they get P2P connections. I'm trying to open/forward ports so these routers also have P2P connection with the windows peers.
I tried forwarding UDP 51820 to my laptop (home wifi) but that does not seem to help.
I understand the 5G routers suffer from CGNAT issues/etc, but given the Hetzner server is able to get P2P connection with them, I should be able to open ports until I also get P2P connection with them at home.
From what I understand from the ICE logs, it basically tries all interfaces UDP port 51820 until one of them succeed.
Describe the solution you'd like
Something like this in the docs:
NetBird's agent doesn't require any incoming port to be open, but if you want to help it negociate P2P please open the following ports:
- Inbound UDP 51820
Describe alternatives you've considered
Access the 5G routers with a routing peer through the linux server that has P2P connection, but that sounds like a silly solution.
Additional context
I checked these for clues but found nothing:
https://docs.netbird.io/how-to/troubleshooting-client https://docs.netbird.io/about-netbird/faq
I'm opening a technical issue about why P2P does not work and I'll link it for additional context.