security/netbird: added netbird_devices() so that wt0 is a volatile interface

This commit is contained in:
Myah Mitchell 2026-03-06 16:34:52 -06:00 committed by Franco Fichtner
parent ec0f068b0c
commit 66845547dc
2 changed files with 11 additions and 0 deletions

View file

@ -1,5 +1,6 @@
PLUGIN_NAME= netbird
PLUGIN_VERSION= 1.3
PLUGIN_REVISION= 1
PLUGIN_DEPENDS= netbird
PLUGIN_COMMENT= Peer-to-peer VPN that seamlessly connects your devices
PLUGIN_MAINTAINER= dev@netbird.io

View file

@ -34,6 +34,16 @@ function netbird_enabled()
return !(new \OPNsense\Netbird\Settings())->general->enable->isEmpty();
}
function netbird_devices()
{
return [[
'pattern' => '^wt0$',
'configurable' => false,
'spoofmac' => false,
'volatile' => true,
]];
}
function netbird_services()
{
$services = [];