OPNsense Forum

English Forums => Virtual private networks => Topic started by: nzkiwi68 on October 23, 2022, 11:37:45 PM

Title: SOLVED Wireguard-kmod since 22.7.6 with multi WAN & HA - wg starts on backup fw
Post by: nzkiwi68 on October 23, 2022, 11:37:45 PM

This all used to work flawlessly. Super fast failover for WAN to WAN2 and super fast transition from fw1 to fw2 - like losing 2 pings only. Amazing!

However, since upgrading to 22.7.6

I have resorted to "unticking" wireguard sync in the HA settings to prevent wireguard form starting on the backup firewall and adding another CRON job to run every minute  to enable or disable wireguard based on the CARP status https://gist.github.com/taxilian/eecdc1fb17cf70e8080118cf6d8af412 (https://gist.github.com/taxilian/eecdc1fb17cf70e8080118cf6d8af412)

Any ideas what changed with 22.7.6?


Title: Re: SOLVED Wireguard-kmod since 22.7.6 issues with multi WAN & HA
Post by: nzkiwi68 on November 11, 2022, 08:59:03 AM
I'd like to report for anyone interested...

22.7.7_1 has completely solved all the funny problems.


No longer is any of the following needed:
Quote
I have resorted to "unticking" wireguard sync in the HA settings to prevent wireguard from starting on the backup firewall and adding another CRON job to run every minute  to enable or disable wireguard based on the CARP status https://gist.github.com/taxilian/eecdc1fb17cf70e8080118cf6d8af412
Title: Re: SOLVED Wireguard-kmod since 22.7.6 with multi WAN & HA - wg starts on backup fw
Post by: nzkiwi68 on November 11, 2022, 09:00:29 AM
I'm back to super fast 2-3 pings failover from primary to backup firewall.

Yah!