MikroTik RouterOS

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

External Captive Portal and IronWifi RADIUS

Sign-in to the MikroTik configuration interface.


 

Step 1

Navigate to IP -> Hotspot -> Walled Garden IP List and add IP address of IronWifi web servers – 107.178.250.42.

 

Step 2


 

Step 3

Navigate to Hotspot -> Users and add local testing user called user1.

 

Step 4

 


 

Step 5

Navigate to Hotspot -> Servers and click Hotspot Setup

Step 6


 

 

Now you should be redirected to default Hotspot Authentication page. Authenticate with “user1” and return to Mikrotik configuration interface

Step 7

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

 

Step 8

In the Login by section, un-check HTTP CHAP and Cookie and check HTTP PAP


 

 

Go to IronWifi Console -> Networks and create new Network. This will generate a set of RADIUS servers.

In MikroTik configuration menu, navigate to Radius and Add New RADIUS server.

 

Step 9

In the Service section, enable hotspot. Enter information about IronWifi RADIUS servers – IP address, ports, shared secret.

Step 10

 


 

 

Go to IronWifi Console -> Networks -> Captive Portals and create new Captive Portal. Make sure vendor is Mikrotik. Add Authentication Provider and download mikrotik_login.html file. Rename mikrotik_login.html to login.html. Upload this file to your MikroTik router via FTP.

 

Step 11