diff options
author | Bernardo Meurer <bernardo@meurer.org> | 2022-07-22 21:20:50 -0700 |
---|---|---|
committer | Bernardo Meurer <bernardo@meurer.org> | 2022-07-22 21:20:50 -0700 |
commit | d66f766cac9bd865fb2259f63f59c74b7a1d83ad (patch) | |
tree | 6543032a91c7fd686b0c6d16643ac0239294fec4 /nixos/modules/services/audio/roon-server.nix | |
parent | 924911b1997f2645607c4ddd3b342f5cfbab1e86 (diff) |
nixos/roon-server: fix openFirewall
Diffstat (limited to 'nixos/modules/services/audio/roon-server.nix')
-rw-r--r-- | nixos/modules/services/audio/roon-server.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/nixos/modules/services/audio/roon-server.nix b/nixos/modules/services/audio/roon-server.nix index de1f61c8e73b7..c8a2071c15592 100644 --- a/nixos/modules/services/audio/roon-server.nix +++ b/nixos/modules/services/audio/roon-server.nix @@ -53,10 +53,12 @@ in { networking.firewall = mkIf cfg.openFirewall { allowedTCPPortRanges = [ { from = 9100; to = 9200; } - { from = 9330; to = 9332; } + { from = 9330; to = 9339; } + { from = 30000; to = 30010; } ]; allowedUDPPorts = [ 9003 ]; extraCommands = '' + ## IGMP / Broadcast ## iptables -A INPUT -s 224.0.0.0/4 -j ACCEPT iptables -A INPUT -d 224.0.0.0/4 -j ACCEPT iptables -A INPUT -s 240.0.0.0/5 -j ACCEPT |