diff options
author | Bernardo Meurer <bernardo@meurer.org> | 2022-01-24 02:36:14 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-24 02:36:14 +0000 |
commit | 7e395a4f40ac483aeeec5c4211d339e1fa5a58c6 (patch) | |
tree | f03baf1a54148cde3688b5f9b9e3faa954d2ea79 | |
parent | 9114e8b4f25258f2bd14531cc5335c9dc09b319a (diff) | |
parent | 63c1c30753259fe3c89a04f2886f1dd9835105cc (diff) | |
download | nixpkgs-7e395a4f40ac483aeeec5c4211d339e1fa5a58c6.tar nixpkgs-7e395a4f40ac483aeeec5c4211d339e1fa5a58c6.tar.gz nixpkgs-7e395a4f40ac483aeeec5c4211d339e1fa5a58c6.tar.bz2 nixpkgs-7e395a4f40ac483aeeec5c4211d339e1fa5a58c6.tar.lz nixpkgs-7e395a4f40ac483aeeec5c4211d339e1fa5a58c6.tar.xz nixpkgs-7e395a4f40ac483aeeec5c4211d339e1fa5a58c6.tar.zst nixpkgs-7e395a4f40ac483aeeec5c4211d339e1fa5a58c6.zip |
Merge pull request #154180 from lovesegfault/roon-server-firewall-fix
nixos/roon-server: open TCP ports 9330-9332 in firewall
-rw-r--r-- | nixos/modules/services/audio/roon-server.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/nixos/modules/services/audio/roon-server.nix b/nixos/modules/services/audio/roon-server.nix index 566c7cae42c..de1f61c8e73 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 |