MikroTik Integration

A compliant captive portal with MikroTik Hotspot

Add a branded guest login to your MikroTik Hotspot. SMS verification, RADIUS authentication and legal logging.

MikroTik Hotspot integration is fully supported — both PAP and CHAP password verification methods have been tested on real hardware, just like pfSense and OPNsense.

How it works

1. Design your portal

Pick your logo, colors and login method (SMS, voucher, hotel) from the dashboard.

2. Connect to RADIUS

Add your MikroTik router as a NAS client to Captivo RADIUS; copy the server details from the dashboard.

3. Upload the Hotspot template

Download the MikroTik Hotspot template (ZIP) from Settings → Portal and upload it to the router's hotspot directory.

4. Go live

When a guest connects your branded portal opens, verifies them and grants internet — records are kept for compliance.

Setup settings

Hotspot profile
login-by=http-pap or http-chap, or both. The Captivo template supports either.
RADIUS client
On the router: service hotspot, the Captivo RADIUS server address, and the shared secret from your dashboard. Add the same router in Captivo as a NAS client.
Walled Garden
*.captivo.io, plus the domains of your SMS or email provider.
Template files
login.html and alogin.html are replaced. Keep the other defaults: status, logout, error and md5.js.
Router clock (NTP)
RouterOS often ships with NTP disabled. RADIUS accounting timestamps come from the router's clock, so a wrong clock means sessions never appear in the dashboard and compliance records carry the wrong time.

Do not put the RADIUS server address in the Walled Garden. That is RADIUS traffic between the router and the server (UDP 1812/1813), not the guest's web traffic.

Two common issues

The portal opens but the logo and verification do not load — *.captivo.io is missing from the Walled Garden.

Login succeeds but no session appears in the dashboard — almost always the router's clock; enable NTP.

Step-by-step setup walkthrough on our blog

Official step-by-step setup documentation

Why Captivo + MikroTik?

  • Branded login on RouterOS Hotspot — no new hardware
  • Walled Garden, NTP and PAP/CHAP authentication support
  • ZIP hotspot template uploads straight to the router's hotspot directory
  • SMS, voucher and hotel (room-no) login; compliant logging

Frequently Asked Questions

How does Captivo work with MikroTik?
You design your branded portal in Captivo, download the MikroTik Hotspot template (ZIP) from Settings → Portal and upload it to your router's hotspot directory. You configure MikroTik to authenticate against Captivo RADIUS. The guest logs in with their phone/voucher and authentication happens through MikroTik.
Is MikroTik support production-ready?
MikroTik Hotspot integration is fully supported — both PAP and CHAP password verification methods have been tested on real hardware. Step-by-step setup (RADIUS, Walled Garden, uploading the template, NTP) is in our public setup guide, and the same steps are in the app. Just like pfSense and OPNsense.
Any difference vs pfSense/OPNsense?
The guest experience and features are the same (SMS, voucher, hotel login, compliant logging). The difference is how the login page connects to the router: for MikroTik the Hotspot template is uploaded to the router and the form posts to MikroTik's own login URL.
READY?

Add a guest portal to your MikroTik

Try the branded, compliant captive portal for free.