Merge pull request #55416 from lilyball/unifi_ports

nixos/unifi: Update TCP ports
This commit is contained in:
Silvan Mosberger 2019-02-07 23:04:43 +01:00 committed by GitHub
commit 87506ee6f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -121,11 +121,12 @@ in
};
networking.firewall = mkIf cfg.openPorts {
# https://help.ubnt.com/hc/en-us/articles/204910084-UniFi-Change-Default-Ports-for-Controller-and-UAPs
# https://help.ubnt.com/hc/en-us/articles/218506997
allowedTCPPorts = [
8080 # Port for UAP to inform controller.
8880 # Port for HTTP portal redirect, if guest portal is enabled.
8843 # Port for HTTPS portal redirect, ditto.
6789 # Port for UniFi mobile speed test.
];
allowedUDPPorts = [
3478 # UDP port used for STUN.