KORTHVEILSecurity firewall
Guides

Access points through their controller or cloud: UniFi, Meraki, Aruba Central and eight more brands

Download as PDF All guides

The wireless controller add-in (Wireless › Overview) can manage access points through their vendors' own management interfaces. This guide covers UniFi, Cisco Meraki and Aruba Central first; section 5 covers the eight brands added in Korthveil 1.7.6:

Vendor What Korthveil talks to State
UniFi The UniFi Network application (on a UniFi OS console or self-hosted), release 7.0 or later built, not yet tested on a real device
Cisco Meraki The Meraki Dashboard API v1 (cloud) built, not yet tested on a real device
Aruba Central The Aruba Central REST API (cloud, AOS 10 access points) built, not yet tested on a real device

"Built, not yet tested on a real device" means the connector follows the vendor's documented interface and passes Korthveil's tests against examples of that interface, but has not yet managed a real controller or account. Try it on a test site or network first.

Korthveil never speaks UniFi's device "inform" protocol: UniFi access points without a controller can be managed only by installing OpenWrt on models OpenWrt supports. Aruba Instant On has no documented interface Korthveil may use, so it cannot be managed.

At a glance:

Step Where What
1 The vendor Create a login or API key for Korthveil (below)
2 Wireless › Access points, Add access point Vendor, Address, the login or key, the site, network or group
3 Test login For a UniFi controller with a self-signed certificate: compare the Certificate pin, keep it
4 Save to pending changes, then commit The networks are pushed to every access point there

1. Create a login for Korthveil

  • UniFi: on the console, add a local admin (not a UI.com account) for Korthveil with the Network application's Site Admin role. An API key alone (Network › Settings › Control Plane › Integrations) lets Korthveil read access points and clients and restart them, but not push networks.
  • Meraki: Organization › Settings › Dashboard API access, then My profile › API access, Generate API key. Copy the network ID of the network with the access points (it starts with L_ or N_).
  • Aruba Central: Global › Organization › Platform Integration › REST API, My Apps & Tokens, Add Apps & Tokens: note the client ID, client secret, the customer ID and your API gateway address.

2. Add the controller

Field UniFi example Meraki example Aruba Central example
Vendor UniFi Network Cisco Meraki Aruba Central
Address https://192.0.2.20 or https://[2001:db8::20]:8443 empty (api.meraki.com) apigw-prod2.central.arubanetworks.com
User name / password korthveil / the local admin's password not used admin@example.com / the user's password
Site / network / group default L_123456789012345678 group Campus, customer abc123
API key / client optional API key the API key client ID client1, the client secret

Keys, secrets and passwords are stored as secrets: never shown again, never written to logs, exports or diagnostics.

3. What Korthveil sets, per vendor

Option UniFi Meraki Aruba Central
WPA2/WPA3 personal and enterprise, PMF yes yes yes
OWE (enhanced open) not possible through the API yes yes
Per-person passphrases WPA2 networks only, not bound to a device WPA2 networks only (identity PSKs), not bound to a device not built yet
VLAN, hidden network, client isolation yes yes yes
Minimum data rate, legacy rates off yes yes not built yet
Multicast to unicast yes not possible not built yet
Bandwidth limit per client / per network not built yet (user groups) yes not built yet
Maximum clients not possible not possible not built yet
Schedule not built yet not built yet not built yet
Radio channel and power not built yet not built yet (RF profiles) not built yet (radio profiles)
Restart one access point yes yes yes
Locate (blink the LEDs) yes yes (stops by itself) not built yet
Disconnect a client yes not possible through the API yes

When an option cannot be set, Save and the push say so; a network that would be weaker without it is not pushed and stays as it was.

Per-person passphrases on UniFi and Meraki. Both take per-person passphrases on WPA2 only. Korthveil never pushes a network weaker than you set it, so a network set to WPA2/WPA3 (or WPA3) that has per-person passphrases is not pushed to UniFi or Meraki; it stays as it was there, and Save and the push say why. Choose one of these instead:

  • Keep WPA2/WPA3: remove the per-person passphrases from that network; everyone uses the shared passphrase.
  • Keep the per-person passphrases: set the network's security to WPA2 on purpose. Devices then join with WPA2 only.

A passphrase bound to one device is not pushed either, because UniFi and Meraki cannot bind a passphrase to a device: remove the device from the passphrase, or keep that network on an access point that can (OpenWrt or MikroTik).

4. Requests and limits

Meraki allows a few requests per second per organisation. When a vendor answers "too many requests" (HTTP 429), Korthveil waits as long as the vendor asks and tries again; a push never runs twice at once.

5. Eight more brands (Korthveil 1.7.6)

Every connector below is built, not yet tested on a real device: it follows the vendor's published API documentation and passes Korthveil's tests against examples of that documentation, but has not yet managed a real controller or account. Try it on a test site or network first.

Brand (Vendor in the picker) What Korthveil talks to What you give Korthveil Networks
Grandstream GWN GWN.Cloud (empty address: www.gwn.cloud; eu.gwn.cloud in Europe) or your GWN Manager App ID and Secret Key from the API Developer page, and the network ID Pushed. WPA2, WPA2-Enterprise and open only: the GWN API has no WPA3, OWE or 6 GHz, so a WPA3 network is not pushed there
EnGenius Cloud EnGenius Cloud (empty address) the API key, the organisation ID and the network ID Pushed
Zyxel Nebula Nebula Open API (empty address) the API key, the organisation ID and the site ID Not pushed: the Nebula Open API cannot create a network or set its security or VLAN. Set networks in Nebula; Korthveil shows the access points, firmware state and clients and restarts access points
Cambium cnMaestro your cnMaestro (cloud or on premises) the Client ID and Client secret of an API client; optionally a network or site name Pushed (Enterprise Wi-Fi). ePMP and PTP point-to-point links are read for the Point-to-point links panel on Wireless › Power saving & links
Fortinet FortiAP (FortiGate) the FortiGate that manages the FortiAPs a REST API token (REST API administrator), the VDOM (empty: root) Pushed as local-bridge SSIDs. The FortiAP profile must broadcast them: radios set to every bridge-mode SSID, or the SSIDs listed
Juniper Mist api.mist.com (empty address) or your regional Mist cloud an API token, the organisation ID and the site ID Pushed. The Mist WLAN has no PMF setting: a WPA2 or WPA2/WPA3 network that must require PMF is not pushed (choose WPA3, or PMF capable on purpose)
Cisco Catalyst 9800 the controller's RESTCONF (turn on restconf and ip http secure-server) a local user with privilege 15 and its password; the policy tag (empty: default-policy-tag) Pushed as a WLAN profile and a policy profile named kv_<network>, mapped in that policy tag
Ubiquiti airMAX (UISP) your UISP server an API token made in UISP Not pushed: Korthveil reads the links (signal at both ends, per antenna chain, noise, rates, capacity, distance, uptime), blinks, restarts and upgrades radios, and never changes a link setting

Netgear Insight is shown in the picker but cannot be chosen: Netgear documents its Insight API to partners only, and Korthveil does not build a connector from guesses.

Example (Juniper Mist): Vendor Juniper Mist, Address empty, Organisation ID 00000000-0000-0000-0000-000000000001, Site ID 00000000-0000-0000-0000-000000000002, API token: your token. For an on-premises controller (GWN Manager, cnMaestro on premises, FortiGate, Catalyst 9800, UISP), give its address, for example 192.0.2.70 or 2001:db8::70, then Test login and compare the Certificate pin with the controller's.

What each brand can and cannot set is in the table under Show what Korthveil can set on the entry. What these brands have in common:

  • Korthveil changes only the networks it created there; a network with the same name that Korthveil did not create is left alone.
  • Enterprise networks are not pushed yet to EnGenius, Cambium, FortiGate, Mist or the Catalyst 9800 (they need a RADIUS object of their own there); Grandstream takes the RADIUS server in the network and is pushed.
  • Per-person passphrases are not pushed to any of these eight yet. A network with them is not pushed there (it would put devices on the wrong network); keep such a network on OpenWrt or MikroTik access points.
  • None of these controllers can undo a change by itself. When a push fails half-way, Korthveil removes the networks that push created.
  • Keys, tokens, secrets and passwords are stored as secrets: never shown again, never in logs, exports or diagnostics.

Troubleshooting

What you see What to do
"the controller refused the credentials" Check the user name and password (a local admin for UniFi), the API key or the API client
"older than 7.0" Update the UniFi Network application
"this needs a local admin" An API key alone cannot push networks on UniFi; add the local admin
"rate limited" Korthveil tries again at the next poll; poll less often if it repeats
A network with the same name already exists Korthveil never changes a network it did not create; rename one of them
"not pushed: … cannot do security …" That brand cannot set the network exactly as you set it; choose a security it can do for that network, or keep the network on another access point
A new FortiGate SSID is not broadcast Set the FortiAP profile's radios to broadcast every bridge-mode SSID, or add the kv_ SSID to their list
A new Catalyst 9800 WLAN is not broadcast Check that the access points carry the policy tag named in the entry
GWN "timestamp invalid" Check the firewall's clock (System › Administration › Time & NTP): GWN refuses signed requests with a wrong time

Download as PDF All guides