OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • High availability »
  • Wireguard + CARP
« previous next »
  • Print
Pages: [1]

Author Topic: Wireguard + CARP  (Read 1083 times)

Perun

  • Jr. Member
  • **
  • Posts: 84
  • Karma: 0
    • View Profile
Wireguard + CARP
« 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
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6483
  • Karma: 449
    • View Profile
Re: Wireguard + CARP
« Reply #1 on: April 08, 2023, 12:05:20 am »
There is a Script around to stop/start wg only on Master, just search the forums
Logged
Twitter: mimu_muc
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

Perun

  • Jr. Member
  • **
  • Posts: 84
  • Karma: 0
    • View Profile
Re: Wireguard + CARP
« Reply #2 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...
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6483
  • Karma: 449
    • View Profile
Re: Wireguard + CARP
« Reply #3 on: April 09, 2023, 07:42:02 am »
Yep :)
Logged
Twitter: mimu_muc
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • High availability »
  • Wireguard + CARP
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2