From 63c1c30753259fe3c89a04f2886f1dd9835105cc Mon Sep 17 00:00:00 2001 From: Bernardo Meurer Date: Sun, 9 Jan 2022 16:40:24 -0300 Subject: [PATCH] nixos/roon-server: open TCP ports 9330-9332 in firewall During the bump to 1.8-880 these became necessary, debugging took place in the [relevant PR][1]. [1]: https://github.com/NixOS/nixpkgs/pull/152251 --- nixos/modules/services/audio/roon-server.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/nixos/modules/services/audio/roon-server.nix b/nixos/modules/services/audio/roon-server.nix index 566c7cae42ce..de1f61c8e73b 100644 --- a/nixos/modules/services/audio/roon-server.nix +++ b/nixos/modules/services/audio/roon-server.nix @@ -51,7 +51,10 @@ in { }; networking.firewall = mkIf cfg.openFirewall { - allowedTCPPortRanges = [{ from = 9100; to = 9200; }]; + allowedTCPPortRanges = [ + { from = 9100; to = 9200; } + { from = 9330; to = 9332; } + ]; allowedUDPPorts = [ 9003 ]; extraCommands = '' iptables -A INPUT -s 224.0.0.0/4 -j ACCEPT