Dual WAN Failover #1098

Closed
opened 2025-11-20 05:24:00 -05:00 by saavagebueno · 5 comments
Owner

Originally created by @proteus88 on GitHub (Jul 26, 2024).

Describe the problem

We use the self-hosted version of NetBird ~10 clients, all working great, all the clients have dual WAN configuration with failover. The clients are in different cities. The problem is that whenever the main WAN goes down it reconnects through the Relay witch is working but ads the extra latency from the Relay + all our backup WANs are cellular 3G/4G and ads more latency. If we reboot the client or reconnect NetBird on client it connects fine without the Relay through the backup WAN.
I think NetBird is retrying to reestablish the old connection, it fails and goes to Relay and hangs to it.

To Reproduce

Main WAN goes down

Expected behavior

If the connection fails (main WAN goes down), try to reconnect without the Relay. Or if it goes through Relay retry a direct connection after 2-3 minutes.

Are you using NetBird Cloud?

self-host

NetBird version

0.28.6

Originally created by @proteus88 on GitHub (Jul 26, 2024). **Describe the problem** We use the self-hosted version of NetBird ~10 clients, all working great, all the clients have dual WAN configuration with failover. The clients are in different cities. The problem is that whenever the main WAN goes down it reconnects through the Relay witch is working but ads the extra latency from the Relay + all our backup WANs are cellular 3G/4G and ads more latency. If we reboot the client or reconnect NetBird on client it connects fine without the Relay through the backup WAN. I think NetBird is retrying to reestablish the old connection, it fails and goes to Relay and hangs to it. **To Reproduce** Main WAN goes down **Expected behavior** If the connection fails (main WAN goes down), try to reconnect without the Relay. Or if it goes through Relay retry a direct connection after 2-3 minutes. **Are you using NetBird Cloud?** self-host **NetBird version** 0.28.6
saavagebueno added the waiting-feedbacktriage-needed labels 2025-11-20 05:24:00 -05:00
Author
Owner

@pappz commented on GitHub (Jul 29, 2024):

Hello @proteus88,
Could you collect logs from the agent and share them with me?

@pappz commented on GitHub (Jul 29, 2024): Hello @proteus88, Could you collect logs from the agent and share them with me?
Author
Owner

@pappz commented on GitHub (Jul 29, 2024):

With this command line command, you can collect logs easily netbird debug for 1m

@pappz commented on GitHub (Jul 29, 2024): With this command line command, you can collect logs easily `netbird debug for 1m`
Author
Owner

@rmoriz commented on GitHub (Dec 19, 2024):

I've the same issue. Netbird behind a router that does failover over 2 WAN links (DSL with NAT and LTE with probably double-NAT). Even a restart of Netbird on the node does not bring back the connection. netbird debug for 1m hangs, no reaction after 5min. The only screen output is Netbird down. The node is using a default gatway to another netbird node hosted in the cloud (for reverse-proxying)

@rmoriz commented on GitHub (Dec 19, 2024): I've the same issue. Netbird behind a router that does failover over 2 WAN links (DSL with NAT and LTE with probably double-NAT). Even a restart of Netbird on the node does not bring back the connection. `netbird debug for 1m` hangs, no reaction after 5min. The only screen output is `Netbird down`. The node is using a default gatway to another netbird node hosted in the cloud (for reverse-proxying)
Author
Owner

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

Hello @proteus88,

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 @proteus88, 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

@mlsmaycon commented on GitHub (Jun 1, 2025):

closing issue due to no recent feedback. Feel free to open a new one if the issue persist or reopen if this was a feature request.

@mlsmaycon commented on GitHub (Jun 1, 2025): closing issue due to no recent feedback. Feel free to open a new one if the issue persist or reopen if this was a feature request.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#1098