Netbird is trying to use udp6 and it fails #1802

Open
opened 2025-11-20 06:07:02 -05:00 by saavagebueno · 0 comments
Owner

Originally created by @zx6000 on GitHub (Apr 8, 2025).

Hello all,

Describe the problem
Netbird is trying to use udp6 and it fails.

I installed NordVPN and Netbird on a windows 11 23H2 machine.
I know, I know, 2 VPNs at the same time is not recommended.

If I select NordVPN OpenVPN(tcp or udp) protocol then netbird is working correctly.
If I select NordVPN nordlynx/wireguard then netbird fails to connect.
It doesn't matter which VPN starts first or second, the end result is the same.
I also added netbird in the split tunnel list of nordvpn. same result.

If I manually disable IPv6 from all adapters including Netbird's then it connects, but when it recreates the adapter it has ipv6 enabled.

To Reproduce

Steps to reproduce the behavior:

Install nordvpn and netbird on a windows 11 23H2 machine. try to connect.

Expected behavior

Netbird should not get involved with ipv6 addresses and protocols if they are not available and it should continue working with ipv4.
Lack of ipv6 should not break the app.

Docs mention "Currently, IPv6 traffic is not supported and is blocked to prevent unintentional traffic leakage."
I assume this is for the VPN traffic and not the control plane/cloud?
If ipv6 is needed for the control plane, why does the wtX adapter have ipv6 enabled?

Secondary expectation: we should have a UI parameter to force netbird to only use ipv4, ipv6 or both.

Are you using NetBird Cloud?

I am using NetBird Cloud

NetBird version

First I used the latest windows version
netbird_installer_0.39.2_windows_amd64

And then a previous one
netbird_installer_0.29.4_windows_amd64

Is any other VPN software installed?

NordVPN

Debug output

The error log shows:

2025-04-07T01:32:52+03:00 ERRO client/internal/engine.go:421: failed to pull up wgInterface [wt0]: listen udp6 :51820: bind: The requested address is not valid in its context.

I tried changing the interface and port

2025-04-07T16:21:54+03:00 ERRO client/internal/engine.go:421: failed to pull up wgInterface [wt2]: listen udp6 :51821: bind: The requested address is not valid in its context.

More logs.

2025-04-07T16:21:54+03:00 INFO client/iface/device/device_windows.go:61: create tun interface
2025-04-07T16:21:54+03:00 ERRO client/internal/engine.go:421: failed to pull up wgInterface [wt2]: listen udp6 :51821: bind: The requested address is not valid in its context.
2025-04-07T16:21:55+03:00 INFO client/iface/iface.go:229: interface wt2 has been removed
2025-04-07T16:21:55+03:00 ERRO client/internal/connect.go:277: error while starting Netbird Connection Engine: up wg interface: listen udp6 :51821: bind: The requested address is not valid in its context.
2025-04-07T16:21:55+03:00 INFO [relay: rels://streamline-de-fra1-1.relay.netbird.io:443] relay/client/client.go:530: closing all peer connections

Screenshots

N/A

Additional context

Add any other context about the problem here.

Have you tried these troubleshooting steps?

  • Checked for newer NetBird versions
  • Searched for similar issues on GitHub (including closed ones)
  • Restarted the NetBird client
  • Disabled other VPN software
  • Checked firewall settings

Thank you!

Originally created by @zx6000 on GitHub (Apr 8, 2025). Hello all, **Describe the problem** Netbird is trying to use udp6 and it fails. I installed NordVPN and Netbird on a windows 11 23H2 machine. I know, I know, 2 VPNs at the same time is not recommended. If I select NordVPN OpenVPN(tcp or udp) protocol then netbird is working correctly. If I select NordVPN nordlynx/wireguard then netbird fails to connect. It doesn't matter which VPN starts first or second, the end result is the same. I also added netbird in the split tunnel list of nordvpn. same result. If I manually disable IPv6 from all adapters including Netbird's then it connects, but when it recreates the adapter it has ipv6 enabled. **To Reproduce** Steps to reproduce the behavior: Install nordvpn and netbird on a windows 11 23H2 machine. try to connect. **Expected behavior** Netbird should not get involved with ipv6 addresses and protocols if they are not available and it should continue working with ipv4. Lack of ipv6 should not break the app. Docs mention "Currently, IPv6 traffic is not supported and is blocked to prevent unintentional traffic leakage." I assume this is for the VPN traffic and not the control plane/cloud? If ipv6 is needed for the control plane, why does the wtX adapter have ipv6 enabled? Secondary expectation: we should have a UI parameter to force netbird to only use ipv4, ipv6 or both. **Are you using NetBird Cloud?** I am using NetBird Cloud **NetBird version** First I used the latest windows version netbird_installer_0.39.2_windows_amd64 And then a previous one netbird_installer_0.29.4_windows_amd64 **Is any other VPN software installed?** NordVPN **Debug output** The error log shows: 2025-04-07T01:32:52+03:00 ERRO client/internal/engine.go:421: failed to pull up wgInterface **[wt0]: listen udp6 :51820**: bind: The requested address is not valid in its context. I tried changing the interface and port 2025-04-07T16:21:54+03:00 ERRO client/internal/engine.go:421: failed to pull up wgInterface **[wt2]: listen udp6 :51821**: bind: The requested address is not valid in its context. More logs. 2025-04-07T16:21:54+03:00 INFO client/iface/device/device_windows.go:61: create tun interface 2025-04-07T16:21:54+03:00 ERRO client/internal/engine.go:421: failed to pull up wgInterface [wt2]: listen udp6 :51821: bind: The requested address is not valid in its context. 2025-04-07T16:21:55+03:00 INFO client/iface/iface.go:229: interface wt2 has been removed 2025-04-07T16:21:55+03:00 ERRO client/internal/connect.go:277: error while starting Netbird Connection Engine: up wg interface: listen udp6 :51821: bind: The requested address is not valid in its context. 2025-04-07T16:21:55+03:00 INFO [relay: rels://streamline-de-fra1-1.relay.netbird.io:443] relay/client/client.go:530: closing all peer connections **Screenshots** N/A **Additional context** Add any other context about the problem here. **Have you tried these troubleshooting steps?** - [X] Checked for newer NetBird versions - [X] Searched for similar issues on GitHub (including closed ones) - [X] Restarted the NetBird client - [X] Disabled other VPN software - [X] Checked firewall settings Thank you!
saavagebueno added the triage-needed label 2025-11-20 06:07:02 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#1802