OPNsense Forum

English Forums => High availability => Topic started by: Perun on April 07, 2023, 02:57:16 pm

Title: Wireguard + CARP
Post by: Perun on April 07, 2023, 02:57:16 pm
Hi

I've a problem with CARP and Wireguard. If my fallback opnsense runs (CARP Backup) then seems that Wireguard lost some UDP datagramms. If I turn it off, then it works ok.
It seems the lose of the datagramms depends on the keepalive interval.
Does someone know such a problem?

Greetz
Title: Re: Wireguard + CARP
Post by: mimugmail on April 08, 2023, 12:05:20 am
There is a Script around to stop/start wg only on Master, just search the forums
Title: Re: Wireguard + CARP
Post by: Perun on April 08, 2023, 09:25:19 pm
you mean this here?

https://gist.github.com/jprenken/18ca7bf14ddae547ae0fdf6f56d72573

I disable Wireguard on the backup router and wait till the patches are added to a release...
Title: Re: Wireguard + CARP
Post by: mimugmail on April 09, 2023, 07:42:02 am
Yep :)