WireGuard / wireguard-vyatta-ubnt

WireGuard for Ubiquiti Devices
https://www.wireguard.com/
GNU General Public License v3.0
1.46k stars 68 forks source link

Loadbalanced/Failover routing thru wireguard doesn't work #91

Open HLeithner opened 3 years ago

HLeithner commented 3 years ago

At least the USG-3 uses alternative ip routing tables for failover WANs (201 and 202)

Adding additional ip routes at https://github.com/WireGuard/wireguard-vyatta-ubnt/blob/2e59757f331077085ca311b5ed6e72e26d8aef64/opt/wireguard/update_routes.sh#L69 for the 2 tables works but I think some logic is needed...

Any thought what to do or what's needed to detect if failover is active?