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
  • Compatibility
  • Connect the router
  • Open WebFig
  • Add a bridge
  • Configure the bridge
  • Add IP address pool
  • Add DHCP server
  • Add address and gateway to the DHCP server
  • Configure your RADIUS
  • Download hotspot files
  • Configure your hotspot
  • Walled Garden – add a comment
  • Walled Garden – allow domains
  • Add bridge for WiFi
  • Set SSID
  • Reboot

Was this helpful?

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

WebFig

PreviousWinboxNextMikroTik Script Generator

Last updated 2 months ago

Was this helpful?

These instructions will guide you through configuration of your Mikrotik to work with Social WiFi, but without using Winbox software. This solution could be useful if you are using an operating system other than Windows.

Please complete every step as detailed below.

Compatibility

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

RouterOS versions:

  • 6.x

  • 7.5 and newer (hotspot doesn’t work on RouterOS 7.x below version 7.5)

Connect the router

Plug an ethernet cable into port 2 of your Mikrotik. Plug in the other side into your computer. Insert internet cable into port 1 of your Mikrotik.

Open WebFig

Open an internet browser (Firefox, Google Chrome, Internet Explorer, etc.) and open page: http://192.168.88.1/ and choose WebFig in top right corner.

Add a bridge

In WebFig go into the “Interfaces” section in the menu on the left side of the page.

Click [Add New] button.

Select “Bridge”

Insert new name: “sw” and accept by clicking [Apply].

Configure the bridge

Select section “IP” and subsection “Addresses” in the menu on the left side of the page.

Click [Add New] button.

Fill in the form:

Enabled
Yes

Address

10.8.0.1/16

Network

10.8.0.0

Interface

sw

You can leave the “Comment” field empty.

Click [Apply].

Add IP address pool

Select section “IP” and subsection “Pool” in the menu on the left side of the page.

Click [Add New] button.

Fill in the form:

Name
dhcp_pool_sw

Addresses

10.8.0.2-10.8.255.254

Apply

Add DHCP server

Select section “IP” and subsection “DHCP Server” in the menu on the left side of the page.

Click [Add New] button.

Fill in the form:

Enabled
Yes

Name

dhcp_sw

Interface

sw

Lease Time

3d 00:00:00

Address Pool

dhcp_pool_sw

Apply

Add address and gateway to the DHCP server

Select section “IP” and subsection “DHCP Server” in the menu on the left side of the page.

Select tab “Networks” on the top of the page.

Click [Add New] button.

Fill in the form:

Address
10.8.0.0/16

Gateway

10.8.0.1

DNS Servers

10.8.0.1

Apply

Configure your RADIUS

Select section “Radius” in the menu on the left side of the page.

Click [Add New] button.

Fill in the form:

Enabled
yes

Service

hotspot

Address

35.205.62.147

Secret

Authentication Port

31812

Accounting Port

31813

Timeout

1000

Apply

Download hotspot files

Select section “Quick Set” in the menu on the top right of the page.

Write down or copy value of “MAC Address” field.

Open following page in any internet browser:

Type or paste “MAC Address” value from the previous step into “MAC address” field.

Click [Get files].

Locate the downloaded file on your computer. It may be in Downloads folder.

Right click on the file and select [Extract All…].

On the newly opened “Extract Compressed (Zipped) Folders” window click [Extract].

New folder will appear, containing files required for the following steps.

Select section “Files” in the menu on the left side of the page.

If your Files section contains a “flash” folder, please place all files inside that folder. Otherwise, the files will be removed on router restart.

Click [Browse…]

Navigate to the extracted files from step Extract the .zip file. Select “login.html” and accept.

Repeat this steps for:

  • “md5.js” file.

  • “rlogin.html” file.

  • “flogin.html” file.

  • “alogin.html” file.

Configure your hotspot

Select section “IP” and subsection “Hotspot” in the menu on the left side of the page.

Select tab “Server profiles” on the top of the page.

Click “default” name.

Fill in the form:

DNS Name
logging.sw.com

HTML Directory

. (period) (IMPORTANT: If your Files section contains a “flash” folder, make sure this field says “flash/.” without question marks)

Use RADIUS

yes

Login By

HTTP PAP

Apply

Select section “IP” and subsection “Hotspot” in the menu on the left side of the page.

Click [Add New] button

Fill in the form:

Name
socialwifi

Interface

sw

Address Pool

dhcp_pool_sw

Idle Timeout

00:05:00

Apply

Select tab “User profiles” on the top of the page.

Click “default” name.

Fill in the form:

Address Pool
dhcp_pool___sw

Keepalive Timeout

3d 00:00:00

Walled Garden – add a comment

Select section “IP” and subsection “Hotspot” in the menu on the left side of the page.

Select tab “Walled Garden” on the top of the page.

Click [Add New] button.

Uncheck “Enabled”.

Clear the field “Dst. Host”.

Fill in the form:

Comment
place hotspot rules here

Apply

This comment is used by Mikrotik to insert dynamic rules. It should be spelled exactly as above.

Walled Garden – allow domains

You should be on the page opened in the previous step (12. Walled Garden – add a comment).

Click [Add New] button.

Fill in the form:

Dst. Host
sw-login.com

Apply

Repeat those steps for each of the addresses below:

Mandatory:

*.socialwifi.com
sw-login.com
*.youtube.com
youtube-ui.l.google.com
ytimg.l.google.com
*.ytimg.com
*.googlevideo.com
yt3.ggpht.com
*.l.googleusercontent.com
*.facebook.com
connect.facebook.net
*.fbcdn.net
www.googletagmanager.com
www-googletagmanager.l.google.com
www.googleadservices.com
pagead.l.doubleclick.net
www.google.*
facebook.com
*.facebook.com
*.fbcdn.net
linkedin.com
*.linkedin.com
*.l-msedge.net
*.dc-msedge.net
*.licdn.com
*.epsiloncdn.net
*.akamai.net
www.linkedin.com.cdn.cloudflare.net
x.com
api.x.com
tpop-api.x.com
twitter.com
api.twitter.com
*.twitter.com
*.twimg.com
*.edgecastcdn.net
*.akahost.net
pbs.twimg.com.cdn.cloudflare.net
twimg.twitter.map.fastly.net

(optional) YouTube widget

How to configure devices to make YouTube widget work?

Add bridge for WiFi

Select section “Bridge” and subsection “Ports” in the menu on the left side of the page.

A list will appear. If it already has a bridge for interface called “wlan1”, remove it by clicking [-] button on the left side of it.

Click [Add New] button.

Fill in the form:

Interface
wlan1

Bridge

sw

Apply

Set SSID

Select section “Interfaces” in the menu on the left side of the page.

Click “wlan1” entry on the list of interfaces.

Fill in the form:

Enabled
yes

Mode

ap bridge

SSID

Your desired network name

Apply

Reboot

Select section “System” and subsection “Reboot” in the menu on the left side of the page.

Radius Secret available in Access Points tab of the

Social WiFi Panel