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.
Navigate to IP -> Hotspot -> Walled Garden IP List and add IP address of IronWifi web servers – 220.127.116.11.
Navigate to Hotspot -> Users and add local testing user called user1.
Navigate to Hotspot -> Servers and click Hotspot Setup
Now you should be redirected to default Hotspot Authentication page. Authenticate with “user1” and return to Mikrotik configuration interface
Navigate to Hotspot -> Server Profiles and click newly created profile called hsprof1
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.
In the Service section, enable hotspot. Enter information about IronWifi RADIUS servers – IP address, ports, shared secret.
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.