[GH-ISSUE #463] routes enhancement: add custom routes to all peers or to a group of peers #855

Open
opened 2026-08-05 00:40:10 -04:00 by saavagebueno · 0 comments
Owner

Originally created by @jeremyd on GitHub (Sep 10, 2022).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/463

To route traffic from a group of peers toward a specific gateway. For example, in the use case of exit nodes where traffic crosses to the public internet, each peer that was a client of that exit node would need routes for the external addresses of the wireguard endpoints.

To accomplish this you could assign a custom route consisting of

ip route add <COTURN/NETBIRD MGMT/SIGNAL IP>/32 via <LOCAL NET GATEWAY> dev <INTERFACE>

so being able to specify the

  • ip range
  • gateway
  • interface

For a group of peers, or to all peers, this would accomplish the route distribution entirely via netbird!

Originally created by @jeremyd on GitHub (Sep 10, 2022). Original GitHub issue: https://github.com/netbirdio/netbird/issues/463 To route traffic from a group of peers toward a specific gateway. For example, in the use case of exit nodes where traffic crosses to the public internet, each peer that was a client of that exit node would need routes for the external addresses of the wireguard endpoints. To accomplish this you could assign a custom route consisting of ``` ip route add <COTURN/NETBIRD MGMT/SIGNAL IP>/32 via <LOCAL NET GATEWAY> dev <INTERFACE> ``` so being able to specify the * ip range * gateway * interface For a group of peers, or to all peers, this would accomplish the route distribution entirely via netbird!
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#855