Weird Wireguard Client/Multi Wan issue

Started by TotalHavoc, April 14, 2025, 02:16:50 PM

Previous topic - Next topic
I have multi wan setup in a failover configuration. I have a weird issue with my wireguard client (to torguard). When the wireguard client starts to hit its peak throughput from Torguard, around 1gbps, the primary wan will get marked as failed and it fails over to the backup line. If I limit the speed to say 800mbps everything is stable as can be. Any ideas on tweaks or other settings I can apply to prevent this false failover? The main line is 2gbps, up and down, and I can max it out with no problems when no using the wireguard tunnel. I only have a few client that traverse the tunnel, everything else just go out the primary line. Also, when it does failover, the primary comes back after just a few minutes. 

Hello,

you can try tweaking the advanced mode options of your gateway.

Maybe there is high packet loss or high latency when you saturate the link and that triggers the failover. Look at the help text to see the default values and increase them.
Hardware:
DEC740

I thought the same thing at first but latencies look good and loss look good, even when it fails over. I can saturate the line to 2gbps, not going across the vpn, and everything stays up just fine.