Allow unifi inform port on lan interface

This commit is contained in:
Jakob Lechner 2024-09-17 23:32:59 +02:00
parent 5a8eb7998b
commit 240d8dbc4c
2 changed files with 4 additions and 2 deletions

View file

@ -9,5 +9,6 @@ custom-utils.validatePortAttrset {
home-assistant.tcp = 8123;
nginx-http.tcp = 80;
nginx-https.tcp = 443;
unifi.tcp = 8443;
unifi-inform.tcp = 8080;
unifi-ui.tcp = 8443;
}

View file

@ -9,6 +9,7 @@ in
unifiPackage = pkgs.unifi8;
};
networking.firewall.interfaces.lechner.allowedTCPPorts = [
ports.unifi.tcp
ports.unifi-inform.tcp
ports.unifi-ui.tcp
];
}