plugins
plugins copied to clipboard
Add option to enable HA/CARP failover support to the os-netbird plugin
This PR has the required changes to add fix the issue I reported in issue: https://github.com/opnsense/plugins/issues/5023
The goal of this PR is to add automated support for CARP failover. When the OPNsense firewall is "MASTER" a carp syshook will netbird up the Netbird interface causing the peer to Netbird connect to the network. When an OPNsense firewall is "BACKUP" the same carp syshook will netbird down the Netbird interface causing the peer to disconnect from the Netbird network. This resolves the issues reported in the original issue and allows Netbird to work in a HA OPNsense environment.