A compliant captive portal with UniFi
Add a branded guest login to your UniFi network using the Captivo Connector agent. Controller credentials stay on your LAN — no port-forwarding required.
How the Connector model works
1. Install the Connector
Generate a UniFi Connector pairing code from the Captivo dashboard, then run the connector agent (Docker) on the same network as your UniFi controller.
2. Configure UniFi
In UniFi Dashboard → Network → Guest Policy, set the External Portal Server to your Captivo portal URL.
3. Design your portal
Pick your logo, colors and login method (SMS, voucher) from the Captivo dashboard — same experience as every other vendor.
4. Go live
When a guest connects, UniFi redirects to the portal. Captivo authenticates them and the Connector relays the MAC-authorize command to the local controller.
Setup settings
- No RADIUS
- UniFi works differently: instead of RADIUS or an HTML upload, a small Connector runs on your network and bridges Captivo to your controller.
- Pairing
- Settings → Connectors → Add Connector: Captivo gives you a single-use code valid for 15 minutes and a ready-to-run docker command.
- Where it runs
- On any machine with Docker on the same network as the controller. Fill in UNIFI_URL, UNIFI_USER, UNIFI_PASS and UNIFI_SITE with a local account that may authorize guests.
- Direction
- The Connector only connects outbound. No inbound port and no port forwarding are needed, and your UniFi admin credentials stay on your network.
- Pre-Authorization
- Add *.captivo.io to the Pre-Authorization / Walled Garden list in the Guest Hotspot settings.
The Connector is a cloud (SaaS) feature. On-premise installations have no Connectors page; this flow is for app.captivo.io.
Two common issues
The Connector shows as Offline — the machine has no outbound access to app.captivo.io, or UNIFI_URL / USER / PASS are wrong.
The portal opens but no SMS arrives — *.captivo.io is missing from the Pre-Authorization list.
Why Captivo + UniFi?
- Outbound connection only — controller credentials stay on the LAN, no inbound port to open
- Compatible with UniFi Network (UDM, USG, Cloud Key) external portal flow
- SMS, voucher and hotel (room-no) login; compliant logging
- Monitor connector status in real time from the Captivo dashboard
Frequently Asked Questions
- How does Captivo work with UniFi?
- The Captivo Connector is a small agent (Docker container or binary) that runs on your tenant network and makes an outbound HTTPS connection to Captivo cloud and waits for commands (long-poll -- nothing listens on your LAN, and there is no VPN). When a guest is redirected to the UniFi portal, Captivo authenticates them, then sends an 'authorize MAC' command over that connection to the Connector, which calls the local UniFi controller API and grants internet access. Controller credentials never leave your LAN.
- Is UniFi support production-ready?
- UniFi integration is available with the Connector MVP and portal flow complete. Get started by following the setup steps; email support@captivo.io if you have any questions.
- Does an on-premise installation also need the Connector?
- No. On-premise, Captivo already runs on your own server on the same network as the UniFi controller, so it calls the controller API directly -- there is no separate agent to install. Enter the controller address, username and password in the panel (Settings -> UniFi Controller). The Connector exists for the cloud version, so that the controller never has to be exposed to the internet.
- Where does the Connector run?
- The Connector must run on a network that can reach your UniFi controller — on the UDM Pro itself or on a separate Linux machine or Raspberry Pi as a Docker container. Only outbound TCP 443 is required; no inbound ports need to be opened.
- Is this the same as the template-download model used for pfSense/OPNsense?
- No. UniFi integration uses the Connector model, not the template-download model. Instead of downloading an HTML template and uploading it to the gateway, you install the Connector agent. The portal runs hosted on Captivo and the Connector acts as a secure bridge.
Add Captivo Connector to your UniFi network
Try the branded, compliant captive portal for free.