MikroTik Setup
Connect CaptiFi to your MikroTik router or access point using the built-in Hotspot feature.
Advanced Setup
MikroTik integration requires some networking knowledge. If you're not comfortable with RouterOS, consider using a CaptiFi plug-and-play device instead.
Prerequisites
- MikroTik device running RouterOS 6.x or 7.x
- Access to WinBox or WebFig
- CaptiFi account at app.captifi.io
Step 1: Create a Hotspot
- Open WinBox or WebFig
- Go to IP → Hotspot
- Click Hotspot Setup wizard
- Select the interface for your guest WiFi
- Set the network address (e.g., 10.5.50.1/24)
- Set the address pool
- Choose SSL certificate: none (CaptiFi handles this)
- Set SMTP server: 0.0.0.0
- Configure DNS: use your ISP or 8.8.8.8
- Set DNS name: e.g.,
hotspot.local
Step 2: Configure Walled Garden
Allow CaptiFi portal domains through the firewall before authentication:
- Go to IP → Hotspot → Walled Garden
- Add entries to allow:
| Action | Dst. Host |
|---|---|
| Allow | *.captifi.io |
| Allow | app.captifi.io |
| Allow | *.stripe.com |
- Also add Walled Garden IP List entries for CaptiFi server IP
Step 3: Configure RADIUS
- Go to RADIUS in the main menu
- Click Add
- Configure:
- Service: hotspot
- Address: (provided by CaptiFi — contact support)
- Secret: (provided by CaptiFi)
- Authentication Port: 1812
- Accounting Port: 1813
- Enable Use RADIUS in Hotspot Server Profile
Step 4: Set External Login Page
- Go to IP → Hotspot → Server Profiles
- Edit your profile
- Set Login By: HTTP PAP
- Under the Login tab, set the login page URL to your CaptiFi portal URL (provided during setup)
Step 5: Link in CaptiFi Dashboard
- Log in to app.captifi.io
- Go to Settings → Integrations
- Select MikroTik
- Enter your MikroTik's public IP and credentials
- Click Connect
Step 6: Test
- Connect a device to the guest WiFi
- Verify the CaptiFi splash page appears
- Complete a test login
- Check the CaptiFi dashboard for the entry
Troubleshooting
| Issue | Solution |
|---|---|
| Splash page not loading | Check Walled Garden entries |
| "Access denied" after login | Verify RADIUS secret matches |
| Guests stuck on loading | Check DNS configuration |
| No entries in dashboard | Verify RADIUS accounting is enabled |
Need Help?
MikroTik setups can be tricky. Contact us at hello@captifi.io and we'll walk you through it.