MikroTik

This page explains Captive Portal configuration for MikroTik Router OS and authentication with IronWifi.

IronWifi Console Setup

Sign in to the IronWifi Console -> Networks and create new Network. This will assign a set of RADIUS servers for your network.

Click on Networks -> Captive Portals and create a new Captive Portal. Make sure the vendor is Mikrotik. Add an Authentication Provider and download the mikrotik_login.html file. Rename the downloaded file to login.html.

MikroTik AP Setup

Sign-in to your MikroTik configuration interface, usually http://192.168.88.1

Navigate to Hotspot -> Users and add a temporary user called user1.

Step 3

Set some password for this new user.

Step 4

Navigate to Hotspot -> Servers and click the Hotspot Setup button.

Hotspot Interface: bridge

Local address of network: 192.168.89.0/24

Masquerade Network: on

Address Pool of Network: 192.168.89.10 - 192.168.89.254

Select Certificate: none

You will be redirected to the default Hotspot Authentication page. Sign in as "user1" and return to the Mikrotik configuration interface http://192.168.88.1

Step 7

Navigate to Hotspot -> Server Profiles and click the newly created profile called hsprof1

In the Login by section, un-check HTTP CHAP, un-check Cookie and check HTTP PAP. Also, check the Use RADIUS checkbox.

Step 8

Navigate to IP -> Hotspot -> Walled Garden IP List and allow access to the IronWifi global load-balancer - 107.178.250.42.

In the MikroTik configuration menu, navigate down to the Radius and click Add New to add RADIUS server.

In the Service section, check the hotspot checkbox. Enter information about IronWifi RADIUS servers - IP address, ports, shared secret. Increase the Timeout value to 1000 ms.

Step 10

Step 9

Upload the previously downloaded file login.html to your MikroTik hotspot folder using FTP client. Make sure to create a backup of the original file.

Step 11