Fix errors on rules for unify controllers.

This commit is contained in:
2017-04-21 17:06:19 +02:00
parent c7b8effe17
commit 0c55b9afe0
4 changed files with 122 additions and 94 deletions

View File

@ -697,21 +697,52 @@ remote_console_port=5900
# - Ubiquiti Unifi
# ======
# - Notice:
# - The Accesspoint IP is not needed (i think so), because the
# - AP uses port 8080 for cummunication with the controller, and
# - this port will be configured with the rules concerning the
# - controllers.
# - By default, the UniFi controller will operate on the following ports:
# -
# - again: setting unifi_ap_local_ips is not needed
#unifi_ap_local_ips="2001:6f8:107e:64::50"
# - unifi_http_port=8080 (port for UAP to inform controller)
# - unifi_https_port=8443 (port for controller GUI / API, as seen in web browser)
# - unifi_portal_http_port=8880 (port for HTTP portal redirect)
# - unifi_portal_https_port=8843 (port for HTTPS portal redirect)
# - unifi_http_port=6789 (port used for throughput measurement)
# - unifi_db_port=27117 (local-bound port for DB server)
# -
# -
# - In version 4.5.2 and later, users can also define the port assigned to STUN services,
# - for scenarios where two or more separate UniFi instances are desired on the
# - same controller machine.
# -
# - unifi_stun_port=3478 # UDP port used for STUN
# -
# -
# - Ubiquity Networks uses port 10001/UDP for its AirControl
# - management discovery protocol
# -
# - unifi_aircontroll_port=10001
# -
# -
# - Since v3.2.9+ and v4.6.0+, two more ports are being reserved for device redirector.
# - There is no need to open firewall for these ports on controller. However, on
# - controller, avoid to use these ports:
# -
# - port 8881 for redirector port for wireless clients
# - port 8882 for redirector port for wired clients
# -
# -
# - For AP-EDU Broadcasts:
# -
# - UDP ports 5656-5699
# -
unify_tcp_ports="8080,8443,8880,8843,6789,27117"
unify_udp_ports="3478"
unify_broadcast_udp_ports="10001,5656:5699"
unifi_controller_gateway_ips=""
# - Unifi Controller at gateway?
# -
local_unifi_controller_service=false
# - UniFi Controllers on local network (other than this machine)
# -
unify_controller_local_net_ips=""
unify_controller_ports="8080,8443"
provide_hotspot=true
hotspot_ports="8880,8843"
# ======