aboutsummaryrefslogtreecommitdiffstats
path: root/hosts/common/optional
diff options
context:
space:
mode:
authorMark Nipper <nipsy@bitgnome.net>2024-06-19 16:01:35 -0700
committerMark Nipper <nipsy@bitgnome.net>2024-06-19 16:01:35 -0700
commita8a783ae9c57906a88c2ad7945476989e5ae2730 (patch)
treeb4981691e1f03d7bad99215574eb0cdd6a4d039b /hosts/common/optional
parentbf56980cf0a2307b3814c86a08a54e2be6dd3d56 (diff)
downloadnix-a8a783ae9c57906a88c2ad7945476989e5ae2730.tar
nix-a8a783ae9c57906a88c2ad7945476989e5ae2730.tar.gz
nix-a8a783ae9c57906a88c2ad7945476989e5ae2730.tar.bz2
nix-a8a783ae9c57906a88c2ad7945476989e5ae2730.tar.lz
nix-a8a783ae9c57906a88c2ad7945476989e5ae2730.tar.xz
nix-a8a783ae9c57906a88c2ad7945476989e5ae2730.tar.zst
nix-a8a783ae9c57906a88c2ad7945476989e5ae2730.zip
Adjust firewall rules
Diffstat (limited to '')
-rw-r--r--hosts/common/optional/services/asterisk.nix4
1 files changed, 4 insertions, 0 deletions
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" = ''