From a8a783ae9c57906a88c2ad7945476989e5ae2730 Mon Sep 17 00:00:00 2001 From: Mark Nipper Date: Wed, 19 Jun 2024 16:01:35 -0700 Subject: Adjust firewall rules --- hosts/common/optional/services/asterisk.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'hosts/common') diff --git a/hosts/common/optional/services/asterisk.nix b/hosts/common/optional/services/asterisk.nix index 0ea66cd..d638a3c 100644 --- a/hosts/common/optional/services/asterisk.nix +++ b/hosts/common/optional/services/asterisk.nix @@ -1,5 +1,9 @@ { config, lib, pkgs, ... }: { + networking.firewall.interfaces.enp116s0.allowedUDPPorts = [ + 5060 # sip + ]; + services.asterisk = { confFiles = { "cdr.conf" = '' -- cgit v1.2.3