1. Home
  2. Devices & Hardware
  3. Mikrotik RouterAdmin Configuration

Mikrotik RouterAdmin Configuration

This article describes installation and configuration steps for Mikrotik routers using our Windows-based tool RouterAdmin.
It will help you configure most settings automatically but you’ll have to enable API access in the web fig to allow the tool to communicate with the router.
Configuration applies to Mikrotik routers with RouterOS L4 and beyond.

Connecting

Please reset Mikrotik router to factory settings to avoid problems with some previous configuration.

Connect your computer using a network cable to the Mikrotik router LAN port.
Go to the browser and from URL browser files access to WebFig using 192.168.88.1 address.
From the menu select IP – Services and Enable API.
Facebook login requires that the redirect page is served as https.
For that purpose, enable www-ssl.
Make sure that DHCP Server is enabled.


Unzip archive and run RouterAdmin as Administrator (right click on exe file and run as Administrator).
This is important in order to allow RouterAdmin to perform required settings.
Select Mikrotik in the left menu.

RouterAdmin Panel
Press Get Router Data to load your router configuration.
Change the IP address and port if it is different.

Mikrotik Setup 1
When loading completes, you should see MAC address configured as the NAS-Identity which is identifying your router in our system.
It is very important to specify the same MAC as the Hotspot address in the cloud portal, as it allows the system to serve splash pages, contol users and store statistics.

Another very important step is to select Bridged interface.
If it is named a different way, you need to determine which one will be used as a bridged one, as it will control end-user traffic through it.
Default secret is secret and can be changed later once you start deployment when we will create your unique password.

Mikrotik Setup 2

Configuring whitelist – Walled Garden

Please specify a default list in the Walled Garden page.
Add your domain(s) that a user can access without login.

connect.starthotspot.com
*.starthotspot.com
*.antamedia.*
13.92.228.228
13.90.247.200
*facebook*
*facebook.net
*googleapis*
*apis.google.com
*accounts.google.com
*gstatic*
ssl.gstatic.com
*fbcdn*
*connect.facebook.*
*.akamaitechnologies.com
*www.google*
*.akamaiedge.net
*.akamaihd.net
*.edgecastcdn.net
*.edgekey.net
*.googleapis.com
*accounts.google.com
*ssl.gstatic.com
gstatic.com
*googleusercontent*
*fonts.gstatic.com
*.youtube.com
*.doubleclick.net
*.googlesyndication.com
*.googlevideo.com
*.ytimg.com
*youtu.be*
*twimg*
*licdn*
*akamai*
*youtube*
*.twimq*
*licdn*
*graph.facebook.com
*googleusercontent*
*openweathermap*
*google-analytics*
ssl.start-hotspot.azurewebsites.net
*ssl.start-hotspot.azurewebsites.net*

Click here for Mikrotik Walled garden script.

Customers with the White Label Branding solution will need to add their domain (for example *.mydomain.com) to the Walled Garden list.

Mikrotik Setup 2
Do not save the changes on the Walled Garden page.

Once you finish, go to the Router Setup page, where you will save all settings at once.
Settings from RouterAdmin will be saved on the Mikrotik router.

Mikrotik Setup 2

Try logging in with your mobile device.
Please note that at the top of the page it should say:
Redirecting to secure login … Click Continue if nothing happens

You won’t be able to access to Mikrotik router anymore as it will start redirecting all requests to the Start Hotspot Cloud WiFi captive portal.
A quick workaround would be to login as the end-user and that will open access to the router ports, and allow connecting to WebFig and WinBox.

All connected devices to the Mikrotik router will be redirected to the splash page which you configured in the starthotspot.com portal.

You may configure free access, user/pass or code-based, social login, advertisements, etc.

Cloud StartHotSpot Login page

Configuring parameters

Start your browser and in URL field type https://connect.starthotspot.com/

Username : your email you entered at signup
Password : password you entered at signup

Continue configuring your Hotspots, Locations, Splash pages and other settings.

Troubleshooting

If your Mikrotik is not redirecting user to the welcome page defined in the cloud portal (you need to have a dedicated welcome splash page configured in the WiFi location that contains Welcome widget) please do this:

Login as the end user on your computer to open access for Winbox.
Copy file login.html to the Winbox files section.

______________________________________________________

In case that Mikrotik requires the password to connect a user to SSID, please disable security like WPA, etc. It is a common practice to allow users to connect without a password as the portal controls Internet access.

______________________________________________________

As some of our customers noted, in some cases Mikrotik router cannot be manually reset to the factory settings using the reset button. Some settings may appear active but instead are not enabled.
To solve this issue, login to the Mikrotik router using Winbox and reset it to the factory settings.

For example: If you enabled www-ssl in IP-Services but Mikrotik is not redirecting to Splash page via https: // and can still connect using http: //, reset to defaults using Winbox.

After reset be sure that from the Quick Setup menu you have Router Mode and Address Aquisition set to default.

Default settings:
Mode: Router
Address Aquisition: Automatic
DHCP and NAT should be enabled.

When Quick setup is done, from the Winbox left menu select IP – Services, and enable API and www-ssl. Save changes and continue with the setup using RouterAdmin.

If you need help with configuration, please go to starthotspot.com and contact our tech support. We’ll be glad to help you.

Updated on October 11, 2019

Was this article helpful?