mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-11 04:30:41 +03:00
30 lines
368 B
Nix
Executable File
30 lines
368 B
Nix
Executable File
{ inputs, ... }@flakeContext:
|
|
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
{
|
|
services.netbird.server = {
|
|
enable = true;
|
|
};
|
|
|
|
networking.firewall = {
|
|
allowedTCPPorts = [
|
|
80
|
|
443
|
|
33073
|
|
10000
|
|
33080
|
|
];
|
|
allowedUDPPorts = [ 3478 ];
|
|
allowedUDPPortRanges = [
|
|
{
|
|
from = 49152;
|
|
to = 65535;
|
|
}
|
|
];
|
|
};
|
|
}
|