In this article we will add a new site to a UniFi controller and enable a Fydelia guest splash page as an external captive portal.
PREREQUISITES
- You can follow this guide using a "ui.com" access to your controller, for making the necessary changes
- You will need to be able to provide the Fydelia configuration with an external URL to your controller. Using a "ui.com" URL will not work. For example: https://10.20.30.40:8443/manage
This is because Fydelia needs to be able to contact your controller directly, in order to authenticate guest devices on to your network. - You will need to be able to provide the Fydelia configuration with an admin username and password. It does not have to be a full admin (adopt devices, vview pending etc) but it cannot be read only. Just a basic admin.
First add a new site. We'll call this "Test site"
If you're connected directly to the controller (and not through UI.com) you'll notice in the URL there is a unique Site ID. Fydelia will need this ID later when configuring the splash page:
Default Site: If your site ID is "default", this is not a problem. In Fydelia you will simply specify the external IP of your controller instead of the Site ID
Click settings and view the WiFi
Click ADD NEW GUEST HOTSPOT
Give this SSID a name, such as "Free WiFi". Enable guest portal and set the authentication type to "External Portal Server"
In the External Portal Server area, enter the IP: 81.24.197.151
Under the "Advanced" configuration options, set the sliders like this:
As you can see for Hostname, you need to enter: ondemand.fydelia.com
Under "Allowed Authorization Access" enter the IP address of Fydelia's portal:
That completes the settings for the captive portal.
In order to add the settings to your Fydelia splash page, read this how-to