mirror of
https://github.com/opnsense/plugins.git
synced 2026-06-08 16:34:18 -04:00
security/netbird: added netbird_devices() so that wt0 is a volatile interface
This commit is contained in:
parent
ec0f068b0c
commit
66845547dc
2 changed files with 11 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 = [];
|
||||
|
|
|
|||
Loading…
Reference in a new issue