LogoLogo
🇬🇧 English
🇬🇧 English
  • 💡Using this Academy
  • Getting Started
    • Creating your first venue
  • Hardware & Installation
    • Installation Guides
      • MikroTik
        • Winbox
        • WebFig
        • MikroTik Script Generator
        • VLANs & Additional APs
          • Add VLAN on MikroTik
          • Add additional APs to MikroTik
          • Whitelist a device in the guest network
          • UniFi APs and MikroTik
        • Connection Guide
      • Ubiquiti
        • Ubiquiti UniFi
        • Creating access credentials
        • Installing remote access tunnel
        • Guest network for physical ports
        • Ubiquiti UniFi Legacy
          • Overview
          • Controller configuration
            • New interface version
            • Legacy interface version
          • File upload
            • Cloud Key
            • Dream Machine
            • Software Controller
      • Ruckus
        • Ruckus ZoneDirector
        • Ruckus Unleashed
        • Ruckus Virtual SmartZone
      • Cisco
        • Cisco Catalyst
        • Cisco Meraki
        • Cisco Meraki - add Social WiFi account to your dashboard
        • Cisco WLC
      • TP-Link
        • TP-Link Omada
        • TP-Link Omada (Legacy)
      • Juniper Mist
      • Ruijie
      • Zyxel Nebula
      • OpenMesh
      • Huawei AC / FAT AP
      • Extreme Networks
        • WiNG Controller
        • Extreme Cloud IQ
      • Aruba
        • Aruba Central
        • Aruba IAP
        • Aruba Instant On
      • Alcatel-Lucent
        • OmniVista Cirrus
        • Alcatel-Lucent Express
      • Fortinet
        • FortiGate / FortiWiFi
        • FortiAP
      • Grandstream
        • Direct access
        • GWN Cloud
      • Aerohive
      • Teltonika
      • TanazaOS
      • IgniteNet
      • Cambium Networks
        • cnPilot
        • cnMaestro
      • DrayTek Vigor
      • DCN
    • Hardware FAQs
      • Recommended devices
      • Set network limits
      • How to set up session timeouts on MikroTik devices
      • Change MikroTik SSID
      • Why is there no Meraki GO integration?
      • Configure devices to make YouTube widget work
    • Setup FAQs
      • Login process
      • QR codes and Social WiFi
      • Troubleshooting
      • Setting up your first AnyDesk session
      • How to export configuration from a MikroTik device?
      • How to create HAR file on different internet browsers
      • What benefit is editable radius secret?
      • Can I charge customers for WiFi access?
      • Understanding Access Point statuses?
  • Dashboard Guides
    • Dashboard Guides
      • Location Management
        • How to add a new Project
        • How to add a new Venue
        • Duplicate a Venue design within a Project
        • What is the difference between a Project and a Venue?
        • How do I delete a Project or Venue
      • WiFi Splash Pages
        • How to add a Pre-Login Page
        • How to copy Login pages to other Venues in a Project
        • How to change the opt in slider to a button
        • Adding YouTube widget
        • Adding a countdown delay on the Pre-Login Page
        • Login button options
        • Embed Instagram posts on your Welcome Page
      • Online Reviews
        • Configuring the review system
        • Change the review redirection links
        • Where to find Google review redirection link?
        • Copy review settings to other Venues?
        • Change when a review request email is sent?
        • How to send a review reminder
        • Reply to user messages
        • Forward customer feedback to help desk systems
        • Turn off the review system?
        • TripAdvisor Review Express
        • How to change your review score style
        • Send a test review email
      • Email Marketing
        • Send an email after the first login
        • Send an email on login
        • Send an email after a visit
        • Send an email after X visits
        • Send an email if somebody hasn’t visited in so long
        • Copy emails to other Venues
        • Adding Email Attachments
        • Bulk email campaigns sending rules
        • Send emails using your own domain (address)
        • Setup your Gmail account as the email sender
        • How to set up your own SMTP server
        • Use Amazon SES to send your emails
        • Create a linked button in the email editor
      • Dashboard Users
        • Project and venue permissions
        • Adding an Admin User
      • SMS Marketing
        • Setup SMS Automation
        • USA Registration
      • How to export user data
      • Verified vs Unverified User Data
      • How to read device statistics
      • Dashboard statistics – what do they represent?
      • Adding Custom Fonts
      • How to remove a user from the Social WiFi database
      • Optional features – autologin, AP warnings and others
    • Dashboard FAQs
      • How do I delete content in the Media tab?
      • Why are the email and splash page editors different?
      • Can I import a database into Social WiFi?
      • How to ask a user for more feedback
      • How do I add more than one Pixel or Cookie to my Venue?
      • How to turn off New Feedback email notifications
      • Why do I get Access Point Warning emails?
      • How to turn off Access Point Warning email notifications
      • Can I move the "Connect to Internet" button?
      • Can I edit venue ID?
      • Can I add other review sites to my system?
      • Can I add a custom set of review emojis?
      • My data isn’t appearing in the User Data tab
      • Is the dashboard available in other languages?
      • Send a Project Report
      • Can I add other language versions?
      • My venue shows as Inactive
    • WiFi Login FAQs
      • Social Media Login
        • Can I authenticate for Facebook login via the app?
        • What data do you get from each login method?
        • Why Facebook widget is not enabled on MacBooks?
        • Can my guests like or check-in at my business?
        • Can I use Instagram login widget on my login page?
        • Can I use Google login widget on my login page?
      • Email Login
        • Turn off verification emails
        • Why are activation emails recommended?
        • How to make the email verification link compulsory
        • Why there are multiple activation emails for one user?
        • How to ask for more information on email login
      • Login Codes
        • Pre-login Code vs Login Bypass Codes?
        • Add a password unlock button on the Pre Login Page
        • How to generate Pre Login codes
        • How to generate Login Bypass codes
      • Known Issues
        • Issues with hotspot networks on Apple devices
      • How Auto Login works
      • Ask additional questions on WiFi login
      • How to collect phone numbers
      • Redirect to a webpage after login
      • I didn’t receive an email after logging in
      • How to gather feedback during the login process
  • Integrations
    • Connecting Social WiFi data
      • Integrate with Mailchimp
      • Integrate with Campaign Monitor
      • Integrate with Zapier
      • Integrate with HubSpot
      • Integrate with GetResponse
      • Integrate with Revinate
      • Integrate with Klaviyo
      • Integrate with Brevo
      • Integrate with SALESmanago
      • Integrate with Freshmail
      • Push historic data to your CRM
      • Copy Integrations to other Venues
    • Retargeting Pixels & Cookies
      • Pixels & Cookies Purpose
      • Add Facebook Pixel
      • Add TikTok Pixel
      • Add Snapchat Pixel
      • Add Google Ads Cookie
      • Copy Integrations to other Venues
  • Tips & Tricks
    • Sending surveys via WiFi with Google Forms
  • Billing
    • Invoicing & Payments
      • Can you automatically take my payments?
      • How do I cancel my service?
      • What are the payment terms?
      • How can I pay for my service?
      • When do Social WiFi send invoices?
  • Reseller Program
    • Brand Guidelines
    • White Label
      • White label configuration guide
      • White label hardware configuration guide
      • Account Management
      • Can Social WiFi be white labelled?
      • Can my company’s logo be placed in the dashboard?
Powered by GitBook
On this page
  • Prerequisites
  • If you have a public IP address
  • If you have no public IP address
  • Compatibility
  • UniFi Network Controller
  • Access point firmware
  • Social WiFi configuration
  • WiFi and Hotspot settings
  • Allowed Authorization Access
  • Add controller to the Social WiFi Panel
  • Test the solution
  • Troubleshooting

Was this helpful?

  1. Hardware & Installation
  2. Installation Guides
  3. Ubiquiti

Ubiquiti UniFi

Configuration instructions for UniFi Network Application (controller) with version 7.4+.

Prerequisites

Social WiFi requires internet access to the controller with a static, public IP and port.

UniFi Network Application needs to be online constantly. Use a hardware controller (e.g., UniFi Dream Machine) or a software controller on a server that you can access.

If you're using external hosting and don't have access to the server running the controller or the physical UniFi controller, please contact our support team via support@socialwifi.com

If you have a public IP address

Usually, this means that you'll need to configure port-forwarding on your router. If you need, you can whitelist our IP address as well. (read further down the page to learn about the "use proxy" flag).

If you log in to the controller using unifi.ui.com, make sure that you have a direct access to the controller via public IP as well. Social WiFi will not work with "remote access" via unifi.ui.com.

If you have no public IP address

Please see this article.

Compatibility

Social WiFi has been tested and is proven to work on the following configurations:

UniFi Network Controller

  • versions 7.4 and above (tested up to 9.0)

This guide is created using the newest 8.2.93 version.

Access point firmware

  • versions 4.0.48 or newer (tested up to 6.6.73)

Social WiFi configuration

WiFi and Hotspot settings

Go to the Settings -> WiFi and create a new WiFi network if you haven't yet. If you already have an existing guest WiFi network, you can simply edit it.

Set your SSID name, go to the "Advanced" tab and select Manual. Make sure that Hotspot Portal is checked.

Now, scroll down and set the "Security Protocol" as Open.

Press Add WiFi Network on the left lower corner.

Now, click on the created SSID, and then click on Hotspot Portal:

Now, go to Hotspot(1) -> Landing Page(2).

While in the "Hotspot" section, click on the Authentication settings(1) and select External Portal Server(2) at the bottom. Enter the Server IP in the pop up window and press Save.

One Way Methods
External Portal Server

External Portal

35.190.70.141

Now, click Save in the bottom right corner of the window and switch to the "Settings" tab from the menu on the right. Configure as follows:

Default Expiration

*default is 8h - can be changed if needed

Landing Page Settings: Show Landing Page: HTTPS Redirection Support: Encrypted URL: Secure Portal: Domain:

Checked Unchecked Unchecked Unchecked Checked

Domain

login.socialwifi.com

Now, proceed with adding the Allowed Authorization Access entries in the bottom right as described below.

Allowed Authorization Access

Add the following "Allowed Authorization Access" domains:

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) login:

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

LinkedIn login:

linkedin.com
licdn.com

Click Save.

Add controller to the Social WiFi Panel

Now, in your Social WiFi Panel, go to the Access Points -> UniFi Integrations and press Add in the upper right corner.

Configure your integration as follows:

Hostname
Public IP address or hostname of the controller

Port

Port of the controller *

Username

Your UniFi user login

Password

Your UniFi user password

* Usually 443 (UDM/UDR/CloudKey Gen2) or 8443 (software controller)

If you don't know where to find the IP address(1) and Port(2), please look at the screenshot below. Also, please note that in the search bar the IP address and port are separated by the ":" mark.

Instead of using your personal username and password, we recommend creating a new user, dedicated for Social WiFi access. Read more.

If your controller has strict inbound firewall rules in place, enable the "Use proxy" checkbox. This options will make the login process slightly slower, but will guarantee that the traffic from Social WiFi originates from single IP address: 35.195.85.135 which you can add to your firewall allowlist.

After you press Create, you will see a list of sites inside your controller. Pick the site that you've configured in the previous steps.

As you select the correct site, press Save selected site on the right lower corner.

Now, you will see that the integration has been added. Press Import Access Points in order to import all the MAC addresses that you've provisioned in the previously set UniFi site.

You will be able to select APs that you want Social WiFi to work on. Press Import selected.

After adding the Access Points, you should see The integration and all the Access Points that are attached to it.

Test the solution

Test the solution Connect with the WiFi network. You should see a login page. Go through the login process and, once finished, you should have internet access. You should see first connections and authorizations in the Social WiFi Panel’s statistics section.

Troubleshooting

Symptom: after connecting to the WiFi network, on the last step which is clicking the "Connect to the internet button" you're not getting connected to the internet.

Solution: UniFi Access Points function as a DNS Proxy. Ensure that the domains are resolving correctly and that the Access Points have an active internet connection.

PreviousUbiquitiNextCreating access credentials

Last updated 2 months ago

Was this helpful?