Add the possibility to exclude certain domains from exit nodes all internet traffic routing #1186

Open
opened 2025-11-20 05:25:33 -05:00 by saavagebueno · 1 comment
Owner

Originally created by @fpandyz on GitHub (Aug 28, 2024).

Is your feature request related to a problem? Please describe.
We configured an Exit Nodes group of 3 routing peers for some of our colleagues to enable routing of all their internet traffic from a different region. It was our replacement of our custom OpenVPN solution that stopped working and was too complex to fix and manage.

However, for some websites we would like to not route traffic through this Exit Nodes peers group. For instance, Discord video-calls are slower when we connect NetBird and it hurts people :)

Describe the solution you'd like
The first idea that appeared is to enable the possibility to exclude network calls to specific domains from routing through the assigned Exit Nodes group.

For example, all internet traffic goes through the assigned Exit Nodes group when NetBird is connected but, e.g. all requests to youtube.com and google.com aren't routed and being executed from the regular network of a person as if NetBird is disconnected.

Describe alternatives you've considered
I expect that there should be a way to achieve this behavior somehow differently. Unfortunately, I'm not fluent at networking and might not see some obvious option. Please guide me.

Originally created by @fpandyz on GitHub (Aug 28, 2024). **Is your feature request related to a problem? Please describe.** We configured an Exit Nodes group of 3 routing peers for some of our colleagues to enable routing of all their internet traffic from a different region. It was our replacement of our custom OpenVPN solution that stopped working and was too complex to fix and manage. However, for some websites we would like to not route traffic through this Exit Nodes peers group. For instance, Discord video-calls are slower when we connect NetBird and it hurts people :) **Describe the solution you'd like** The first idea that appeared is to enable the possibility to exclude network calls to specific domains from routing through the assigned Exit Nodes group. For example, all internet traffic goes through the assigned Exit Nodes group when NetBird is connected **but**, e.g. all requests to youtube.com and google.com aren't routed and being executed from the regular network of a person as if NetBird is disconnected. **Describe alternatives you've considered** I expect that there should be a way to achieve this behavior somehow differently. Unfortunately, I'm not fluent at networking and might not see some obvious option. Please guide me.
saavagebueno added the feature-request label 2025-11-20 05:25:33 -05:00
Author
Owner

@bangonkali commented on GitHub (Sep 17, 2024):

I agree, this is very helpful! We really need this so that clients don't have to manually turn on/off the Exit node if they wish to access local network.

Or maybe, I'm missing something here, perhaps combining Routing traffic to private networks with Configuring default routes for Internet traffic can also solve the issue?

An exclude with similar algorithm as Allowed IP's Calculator is really very beneficial.

image

@bangonkali commented on GitHub (Sep 17, 2024): **I agree**, this is very helpful! We really need this so that clients don't have to manually turn on/off the Exit node if they wish to access local network. Or maybe, I'm missing something here, perhaps combining [Routing traffic to private networks](https://docs.netbird.io/how-to/routing-traffic-to-private-networks) with [Configuring default routes for Internet traffic](https://docs.netbird.io/how-to/configuring-default-routes-for-internet-traffic) can also solve the issue? An exclude with similar algorithm as [Allowed IP's Calculator](https://www.procustodibus.com/blog/2021/03/wireguard-allowedips-calculator/) is really very beneficial. ![image](https://github.com/user-attachments/assets/834cb44f-0bbf-40ad-8b6c-1f3b9bfe8605)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#1186