Attribute set of Netbird client daemons, by default each one will:
- be manageable using dedicated tooling:
netbird-<name>
script,Netbird - netbird-<name>
graphical interface when appropriate (seeui.enable
),
- run as a
netbird-<name>.service
, - listen for incoming remote connections on the port
51820
(openFirewall
by default), - manage the
netbird-<name>
wireguard interface, - use the
/var/lib/netbird-<name>/config.json
configuration file, - override
/var/lib/netbird-<name>/config.json
with values from/etc/netbird-<name>/config.d/*.json
, - (
hardened
) be locally manageable bynetbird-<name>
system group,
With following caveats:
- multiple daemons will interfere with each other's DNS resolution of
netbird.cloud
, but should remain fully operational otherwise. Setting up custom (non-conflicting) DNS zone is currently possible only when self-hosting.
Declarations
Type
attribute set of (submodule)
Default
{ }
Example
{
services.netbird.clients.wt0.port = 51820;
services.netbird.clients.personal.port = 51821;
services.netbird.clients.work1.port = 51822;
}