Skip to content

Legacy interface version

Configuring Wireless Network

Log in to your UniFi controller and click the Settings gear.

On the menu on the left, under Wireless Networks, click Create New Wireless Network.

image_533784.png

Create your netwrok using this configuration:

--
Name/SSIDYour chosen network name
EnabledEnabled
SecurityOpen
Guest PolicyEnabled
NetworkDefault

image_856385.png

Click Save to apply.

Configuring Guest Control

Next, go to Guest Control and configure it as such:

Under the Guest Policies header:

--
Guest PortalEnabled
AuthenticationHotspot
Landing PageRedirect to the original URL
Use Secure PortalDisabled
Redirect using hostnameDisabled
Enable HTTPS RedirectionDisabled
Enable encrypted redirect URLDisabled (option available since Controller version 5.10.12)

Under the Portal Customization header:

--
Template EngineAngularJS
Override Default TemplatesEnabled

2022-11-30_13-07.png

Scroll down and under the Hotspot header and Enable RADIUS-based authentication.

Make sure that’s the only checked box.

2022-11-30_13-25.png

Under the RADIUS header in the “Profile” section press Create new RADIUS profile.

2023-03-01_16-22.png

You should get a pop up window. Configure as such:

IP Address35.205.62.147
Port31812
Password/Shared SecretRadius Secret available in Access Points tab of the Social WiFi Panel

2022-11-30_13-18.png

Click Save to continue.

Go to the RADIUS tab again and apply the new profile:

Profilesocialwifi
Authentication typeCHAP
Disconnect RequestsUnchecked

2023-01-10_16-44.png

Now, scroll down to the Access Control → Pre-Authorization header enter the following URLs:

Mandatory:

socialwifi.com
sw-login.com

Facebook login:

facebook.com
fbcdn.net

Facebook remarketing pixel:

connect.facebook.net
www.facebook.com

Google remarketing tag:

www.googletagmanager.com
www.googleadservices.com
googleads.g.doubleclick.net

Youtube widget on login pages:

youtube.com
ytimg.com
yt3.ggpht.com
googlevideo.com

X (Twitter):

twitter.com
api.twitter.com
x.com
api.x.com
twimg.com

LinkedIn:

linkedin.com
licdn.com

2023-03-10_12-10.png

2023-03-10_12-11.png

These IP ranges in “Post-Authorization Restrictions” section are subject to change depending on the social network setup.

Remember to click Apply Changes!

Adding the APs to Social WiFi Panel

You need to find the Mac Addresses of all your Access Points and add them to the panel. Most of the time they’re hidden, so you have to turn displaying it on. To do so, go to Devices and check the “Mac Address box”.

2022-12-22_17-43.png

2022-12-22_17-44.png

As you can see the the Mac Address is now shown. If you have more than one Access Point - the other addresses will be visible too.

2022-12-22_17-46.png

In order to add a device to Social WiFi platform:

  • Access your account in the Social WiFi Panel.
  • Choose the correct venue to which you would like to add the device.
  • In the “Access Points” tab, press “Add” (upper right corner), paste the MAC address you copied into the form (adding a name is optional) and click “Create”.

Upload hotspot files to the controller

The last part is uploading hotspot files to your controller. To do so, click the controller type below and follow the instructions.

Cloud Key (Cloud Key Gen2, Cloud Key Gen2 Plus)

2022-12-22_17-46.png

Dream Machine (Dream Machine, Dream Machine Pro, Dream Machine SE)

2022-12-22_17-46.png

Software Controller (UniFi Network Application)

2022-12-22_17-46.png