Loading nixos/modules/services/networking/netbird.nix +13 −2 Original line number Diff line number Diff line Loading @@ -231,6 +231,14 @@ in ''; }; openInternalFirewall = mkOption { type = bool; default = true; description = '' Opens up internal firewall ports for the NetBird's network interface. ''; }; hardened = mkOption { type = bool; default = true; Loading Loading @@ -502,8 +510,11 @@ in interfaces = listToAttrs ( toClientList (client: { name = client.interface; value.allowedUDPPorts = optionals client.openFirewall [ 5353 # required for the DNS forwarding/routing to work value.allowedUDPPorts = optionals client.openInternalFirewall [ # note: those should be opened up by NetBird itself, but it needs additional # NixOS -specific debugging and tweaking before it works 5353 # <0.59.0 DNS forwarder port, kept for compatibility with those clients 22054 # >=0.59.0 DNS forwarder port ]; }) ); Loading Loading
nixos/modules/services/networking/netbird.nix +13 −2 Original line number Diff line number Diff line Loading @@ -231,6 +231,14 @@ in ''; }; openInternalFirewall = mkOption { type = bool; default = true; description = '' Opens up internal firewall ports for the NetBird's network interface. ''; }; hardened = mkOption { type = bool; default = true; Loading Loading @@ -502,8 +510,11 @@ in interfaces = listToAttrs ( toClientList (client: { name = client.interface; value.allowedUDPPorts = optionals client.openFirewall [ 5353 # required for the DNS forwarding/routing to work value.allowedUDPPorts = optionals client.openInternalFirewall [ # note: those should be opened up by NetBird itself, but it needs additional # NixOS -specific debugging and tweaking before it works 5353 # <0.59.0 DNS forwarder port, kept for compatibility with those clients 22054 # >=0.59.0 DNS forwarder port ]; }) ); Loading