netbirdio / netbird

Connect your devices into a single secure private WireGuard®-based mesh network with SSO/MFA and simple access controls.
https://netbird.io
BSD 3-Clause "New" or "Revised" License
9.79k stars 424 forks source link

Exit Nodes are enabled by default #2155

Open W1BTR opened 1 week ago

W1BTR commented 1 week ago

Describe the problem

If exit nodes are available, upon restarting the netbird client on PC, it automatically enables it.

To Reproduce

Steps to reproduce the behavior:

  1. Sign into netbird on Windows
  2. Check "Network Routes"

Expected behavior

Ideally, it saves whatever status it had on last run.

Are you using NetBird Cloud?

I self-host NetBird's control plane.

NetBird version

0.27.10

W1BTR commented 1 week ago

Seems like exit nodes are also applying by default to devices in an exit node group on linux. There is an exit node given to the "All" group. When installing netbird on a server, all the services went down as it was forced to use the exit node by default.

Ideally this is something we can enable and disable on the fly. I'd like a handful of exit nodes available to users, without being enabled by defaults

pascal-fischer commented 1 week ago

Hi @W1BTR, the first version of exit nodes is fully managed from the admin dashboard. We already planned on making the client remember if a route was disabled by a user or not. With that we will evaluate if and how to maybe mark them already on management to not be assigned by default.

W1BTR commented 1 week ago

Hi @W1BTR, the first version of exit nodes is fully managed from the admin dashboard. We already planned on making the client remember if a route was disabled by a user or not. With that we will evaluate if and how to maybe mark them already on management to not be assigned by default.

Makes sense. The client remembering is definitely a big thing, glad it's being taken care of. Having an option to override this on the dashboard does sound powerful, allowing the admin to move servers and devices between virtual networks! Super cool!

W1BTR commented 4 days ago

The amount of times I think my networking is broken or there's a lot of lag in the network at work before I realize netbird is just running is quite often 🤣

Although Im not sure why the connection drops every 20 seconds when using one of my exit nodes. I need to test if it always has this issue or just with this node.

mlsmaycon commented 4 days ago

Hey @W1BTR , can you leave your comments here: https://github.com/netbirdio/netbird/issues/2193

We will be updating the behavior and would be great to collect all in one place.