diff --git a/hosts/pbx/services/fieldpoc/default.nix b/hosts/pbx/services/fieldpoc/default.nix index 469e3eb..949f1bd 100644 --- a/hosts/pbx/services/fieldpoc/default.nix +++ b/hosts/pbx/services/fieldpoc/default.nix @@ -14,22 +14,15 @@ in { owner = "fieldpoc"; }; - networking.firewall.interfaces.voice = { - allowedUDPPorts = [53 5060]; - allowedUDPPortRanges = [ - { - inherit (rtpPorts) from; - inherit (rtpPorts) to; - } - ]; - }; - networking.firewall.interfaces.jugendtreff = { + networking.firewall = { + allowedUDPPorts = [5060]; allowedUDPPortRanges = [ { inherit (rtpPorts) from; inherit (rtpPorts) to; } ]; + interfaces.voice.allowedUDPPorts = [53]; }; environment.persistence."/persist".directories = [