Home › Setup guides › UniFi External Captive Portal Setup Guide
UniFi External Captive Portal Setup Guide
UniFi's external portal approves guests through the UniFi controller, not RADIUS.
- Hotspots → Add router → Brand UniFi and fill in: controller URL, the site ID (from the controller address
/manage/<site-id>/), and a local admin user that may authorise guests. - UniFi → Settings → Guest Hotspot → Authentication External Portal Server → enter the WiFiNexa server IP / host.
- Pre-authorization (walled garden): the hosts from the setup guide.
- Turn on the hotspot portal for the guest SSID.
Time, speed and data limits are passed to UniFi when the guest is approved. Live sessions and data usage are tracked by UniFi, not WiFiNexa.
How UniFi is different
Most gateways ask a RADIUS server whether a login is allowed. UniFi's external portal works another way: WiFiNexa logs in to your UniFi controller and tells it to authorise the guest's device for the plan's time, speed and data. That is why WiFiNexa needs the controller URL, the site ID and a local admin user.
What you need
- A UniFi Network controller reachable from the internet: a UniFi OS console (UDM, Cloud Gateway, Cloud Key Gen2+) or a self-hosted controller.
- A local admin account for WiFiNexa (not a Ubiquiti cloud account with 2FA).
- The site ID from the controller address (
/manage/<site-id>/, oftendefault).
Step by step
- In WiFiNexa: Hotspots → Add router → UniFi, enter the controller URL, site ID, admin user and password.
- In UniFi: Settings → Guest Hotspot → Authentication: External Portal Server, enter the WiFiNexa server address (UniFi accepts only the IP or host name).
- Pre-authorization access: add the hosts from the setup guide.
- Turn on the hotspot portal for the guest SSID and test with a phone.
Good to know
- WiFiNexa works with both UniFi OS consoles and classic controllers.
- Because UniFi enforces the session itself, data usage and live sessions are tracked by UniFi, not shown in WiFiNexa Live Sessions.
- See also UniFi captive portal for vouchers and paid plans on UniFi.
Questions
Does WiFiNexa work with Ubiquiti UniFi?
Yes. Set UniFi's guest hotspot to External Portal Server and give WiFiNexa the controller URL, site ID and a local admin user that may authorise guests.
Does UniFi use RADIUS with WiFiNexa?
No. UniFi's external portal approves guests through the UniFi controller, so WiFiNexa authorises each guest there with the plan's time, speed and data limits.
Can I use a UniFi Dream Machine?
Yes. UniFi OS consoles such as the UDM, Cloud Gateway and Cloud Key Gen2+ are supported, as are classic self-hosted controllers.
Why are UniFi guests missing from Live Sessions?
UniFi enforces and tracks the session itself, so live sessions and data usage stay in the UniFi controller.
What do I enter as the UniFi External Portal Server?
The WiFiNexa server address shown in your setup guide. UniFi accepts only an IP address or host name there, not a full web address.
Why is my UniFi hotspot portal not working?
Usually the portal host is missing from Pre-authorization access, the WiFiNexa admin user is a cloud account with 2FA instead of a local admin, or the site ID is wrong.
Last updated 2026-12-02