Open sip/rtp ports in firewall

This commit is contained in:
Jakob Lechner 2025-07-23 01:12:30 +02:00
parent e8ba610a4b
commit 4056ce5dfd

View file

@ -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 = [