Open sip/rtp ports in firewall
This commit is contained in:
parent
e8ba610a4b
commit
4056ce5dfd
1 changed files with 3 additions and 10 deletions
|
|
@ -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 = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue