cb710c066a0fdf11e5aac107d6b9cd12f9286d82
using System Patcheschmod +x /etc/wgfix.sh
. You can also run this command via Diagnostics → Command Prompt → Execute Shell Command.@
to the end of the description of any peers that you want to fail back after WANUP events, e.g. rename my_peer
→ my_peer@
Force a failover event (unplug Ethernet cable, shut off modem, etc) and wait for your Wireguard tunnel to migrate to the secondary WAN. Then, restore the primary WAN and wait for the gateway status to be "Online" with 0% loss. This should trigger a fail-back to occur automatically.
You can also manually test the script via console/ssh:
/etc/wgfix.sh <GW_NAME> 0