-
-
Notifications
You must be signed in to change notification settings - Fork 512
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Traffic is relayed when WiFi and Eth are enabled at the same time #980
Comments
Could it be related to this other bug? And if so, is there any possibility of fixing it on the Netbird side, as it doesn't seem like they plan to fix this major bug from the Pion ICE side? (look at the year it was reported) |
Hello @fernandoenzo sorry for the delay in replying. Some wireless routers don't allow lateral connection (to local hosts) on WIFI connections. That leads me to believe that the issue is related to how the OS handles routing the traffic to the local network. Can you run a test on your local setup? Edit the client.json file (/etc/netbird/client.json or c:\programdata\netbird\client.json) and add the wireless interface name into the list of blacklisted interfaces? |
Hello! Thank you for your reply. Nonetheless, if this option (putting the interfaces on a blacklist) were to work, wouldn't that leave me without a connection to Netbird if I unplug my laptop from the wired network? |
Any news here? |
Describe the problem
I have a network set up with NetBird with multiple devices located in two houses that I own. The issue I'm facing is that one of the devices is a laptop running Debian 11, and sometimes I connect it via Ethernet and other times I use WiFi. I have noticed that when I connect it via Ethernet while also having WiFi connected, NetBird makes it connect to the other devices using "traffic relayed" instead of P2P. However, if I disconnect the WiFi and only use the Ethernet cable, the traffic is P2P, and the same happens if I only use WiFi and disconnect the Ethernet cable. This doesn't make sense to me because when both devices are connected, the Linux route table (ip r) shows that the Ethernet device has priority (lower metric) over WiFi, so the second device shouldn't interfere at all.
This error occurs to me whether I use the public Netbird server or a personal one that I have set up.
To Reproduce
Steps to reproduce the behavior:
netbird status --detail
to see how EVERY single device is connected to yours by Relaying traffic, instead of P2PExpected behavior
Traffic should be P2P, as it is when only one device (either Eth or WiFi) is enabled.
The text was updated successfully, but these errors were encountered: