summaryrefslogtreecommitdiff
path: root/services/unifi.nix
diff options
context:
space:
mode:
Diffstat (limited to 'services/unifi.nix')
-rw-r--r--services/unifi.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/services/unifi.nix b/services/unifi.nix
new file mode 100644
index 0000000..7d351d4
--- /dev/null
+++ b/services/unifi.nix
@@ -0,0 +1,7 @@
+{ ... }:
+{
+ # https://help.ui.com/hc/en-us/articles/218506997-Required-Ports-Reference
+ networking.firewall.allowedTCPPorts = [ 8080 8000 8443 8880 8843 6789 27117 ];
+ networking.firewall.allowedUDPPorts = [ 3478 5514 10001 1900 123 ];
+ networking.firewall.allowedUDPPortRanges = [ { from = 5656; to = 5699; } ];
+}