Mark peers as "relay only" to avoid unnecessary UDP traffic #2423

Open
opened 2025-11-20 07:09:35 -05:00 by saavagebueno · 1 comment
Owner

Originally created by @Silex on GitHub (Oct 29, 2025).

Hello,

We have netbird behind corporate firewalls and for about 30% of peers P2P will never work without opening UDP ports, which won't happen.

Is there a way to make it so netbird knows some peers are not reachable directly and thus all the other peers stop trying to relentlessly connect to it?

Maybe at the signal service level? Maybe at the client level when it lists it's interfaces? Maybe by firewalling at the right place?

Basically if other peers receive an empty list for this unreachable peer they won't try to connect to it, and just use the relay.

Originally created by @Silex on GitHub (Oct 29, 2025). Hello, We have netbird behind corporate firewalls and for about 30% of peers P2P will never work without opening UDP ports, which won't happen. Is there a way to make it so netbird knows some peers are not reachable directly and thus all the other peers stop trying to relentlessly connect to it? Maybe at the signal service level? Maybe at the client level when it lists it's interfaces? Maybe by firewalling at the right place? Basically if other peers receive an empty list for this unreachable peer they won't try to connect to it, and just use the relay.
saavagebueno added the feature-request label 2025-11-20 07:09:35 -05:00
Author
Owner

@1nerdyguy commented on GitHub (Nov 4, 2025):

+1 for this. I like this a lot to slow down that traffic.

@1nerdyguy commented on GitHub (Nov 4, 2025): +1 for this. I like this a lot to slow down that traffic.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#2423