Client doesn't remember the last selected routes / exit nodes & detect if route is accessible directly #931

Open
opened 2025-11-20 05:20:08 -05:00 by saavagebueno · 8 comments
Owner

Originally created by @florian-obradovic on GitHub (May 27, 2024).

Slack: https://netbirdio.slack.com/archives/C02KHAE8VLZ/p1716836567943349

To Reproduce

  • Connect
  • Disable a route, for example an exit node
  • Disconnect & Connect again
  • All routes are selected again
    Uploading CleanShot 2024-05-27 at 21.00.34.gif…

Expected behaviour

  • Remember the last selected (enabled or disabled) routes. I don't want to disable the exit node every time I connect.
  • In other words: I only want to select the exit node, if I really need it 🙂
  • published routes shouldn't be used, if accessible locally / directly !

Are you using NetBird Cloud?
No, self-host NetBird's control plane

NetBird version

  • 0.27.10 (darwin/arm64)
Originally created by @florian-obradovic on GitHub (May 27, 2024). Slack: https://netbirdio.slack.com/archives/C02KHAE8VLZ/p1716836567943349 **To Reproduce** - Connect - Disable a route, for example an exit node - Disconnect & Connect again - All routes are selected again ![Uploading CleanShot 2024-05-27 at 21.00.34.gif…]() **Expected behaviour** - Remember the last selected (enabled or disabled) routes. I don't want to disable the exit node every time I connect. - In other words: I only want to select the exit node, if I really need it :slightly_smiling_face: - published routes shouldn't be used, if accessible locally / directly ! **Are you using NetBird Cloud?** No, self-host NetBird's control plane **NetBird version** - 0.27.10 (darwin/arm64)
saavagebueno added the clientwaiting-feedbackroutesself-hosting labels 2025-11-20 05:20:08 -05:00
Author
Owner

@bcmmbaga commented on GitHub (May 28, 2024):

Hello @florian-obradovic, This is the current behavior, but we will be adding persistence for route selections in one of the upcoming 0.28 versions, so your last selected routes (enabled or disabled) will be remembered.

@bcmmbaga commented on GitHub (May 28, 2024): Hello @florian-obradovic, This is the current behavior, but we will be adding persistence for route selections in one of the upcoming 0.28 versions, so your last selected routes (enabled or disabled) will be remembered.
Author
Owner

@florian-obradovic commented on GitHub (May 28, 2024):

@bcmmbaga thanks a lot !

@florian-obradovic commented on GitHub (May 28, 2024): @bcmmbaga thanks a lot !
Author
Owner

@ghost commented on GitHub (Jun 14, 2024):

This would be a huge gain in convenience, thanks a lot!

Perhaps it would also be possible to toggle the default route directly in the systray menu of the UI client without having to go to the full route selection window?

In my use case, I usually don't need the default route, but sometimes I want to route everything through the exit node.

@ghost commented on GitHub (Jun 14, 2024): This would be a huge gain in convenience, thanks a lot! Perhaps it would also be possible to toggle the default route directly in the systray menu of the UI client without having to go to the full route selection window? In my use case, I usually don't need the default route, but sometimes I want to route everything through the exit node.
Author
Owner

@flotpg commented on GitHub (Aug 9, 2024):

Hey @bcmmbaga
any news on this?

This causes significant issues if the exit node and the client are at same subnet.

@flotpg commented on GitHub (Aug 9, 2024): Hey @bcmmbaga any news on this? This causes significant issues if the exit node and the client are at same subnet.
Author
Owner

@maxcerny commented on GitHub (Aug 15, 2024):

+1 on this

every time my system boots up and netbird autostarts, i have 3 exit nodes enabled, along with subnet routes for subnets that are reachable without netbird. Causes all kinds of havoc. Either being able to set what routes get auto-applied to which client, if the route get's auto-applied at all, or having the client remember the routes selected, should be a top priority.

@maxcerny commented on GitHub (Aug 15, 2024): +1 on this every time my system boots up and netbird autostarts, i have 3 exit nodes enabled, along with subnet routes for subnets that are reachable without netbird. Causes all kinds of havoc. Either being able to set what routes get auto-applied to which client, if the route get's auto-applied at all, or having the client remember the routes selected, should be a top priority.
Author
Owner

@jmezinko commented on GitHub (Oct 18, 2024):

I'd like to +1 this request

@jmezinko commented on GitHub (Oct 18, 2024): I'd like to +1 this request
Author
Owner

@nazarewk commented on GitHub (Apr 28, 2025):

Hello @florian-obradovic,

We're currently reviewing our open issues and would like to verify if this problem still exists in the latest NetBird version.

Could you please confirm if the issue is still there?

We may close this issue temporarily if we don't hear back from you within 2 weeks, but feel free to reopen it with updated information.

Thanks for your contribution to improving the project!

@nazarewk commented on GitHub (Apr 28, 2025): Hello @florian-obradovic, We're currently reviewing our open issues and would like to verify if this problem still exists in the [latest NetBird version](https://github.com/netbirdio/netbird/releases). Could you please confirm if the issue is still there? We may close this issue temporarily if we don't hear back from you within **2 weeks**, but feel free to reopen it with updated information. Thanks for your contribution to improving the project!
Author
Owner

@florian-obradovic commented on GitHub (May 8, 2025):

@nazarewk issue has been fixed...

@florian-obradovic commented on GitHub (May 8, 2025): @nazarewk issue has been fixed...
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#931