Mikrotik Setup

Configure Hotspot Server for WiZone

This section explains how to create and configure a Mikrotik hotspot server, allow WiZone and Cloudflare services, and upload the custom WiZone login page.

Step 12 – Configure Hotspot Server for WiZone

After creating the hotspot profile and enabling RADIUS integration, set up the actual Hotspot Server that users will connect to via Wi-Fi.
This defines the active interface, IP pool, and portal behavior.


12.1 Create Hotspot Server

  1. Go to IP → Hotspot → Servers → Add (+)
  2. Configure as follows:
FieldValue
Namehotspot1
Interfaceether5 (your Wi-Fi interface)
Address Poolwifi-pool
Profilefreewifi
Idle Timeout00:05:00
Keepalive Timeout00:05:00
Login Timeout(leave default)
Addresses Per MAC2
IP of DNS Name0.0.0.0 (default)

Click Apply → OK


12.2 Configure User Profile Defaults

  1. Under Hotspot → User Profiles → default, set:
FieldValue
Session Timeout(optional)
Idle Timeout(optional)
Keepalive Timeout00:05:00
Status Autorefresh00:01:00

This ensures stable user sessions and consistent portal updates.


12.3 Add Walled Garden Entries

The Walled Garden allows specific domains to be accessed even before login.
Add the following entries to ensure WiZone authentication and Cloudflare challenges work properly.

  1. Navigate to Hotspot → Walled Garden → Add (+)
  2. Add the following hosts:
Allow HostnameDescription
stg.wizone.ioWiZone authentication service
challenges.cloudflare.comCloudflare verification service

Click Apply → OK after adding each.


12.4 Upload Custom Login Page

Upload your WiZone login and error pages to the hotspot directory so that users see the correct branded portal.

  1. Go to Files → hotspot folder
  2. Upload the following files:
File NamePurpose
alogin.htmlAuto-login page
login.htmlMain WiZone login page
error.htmlDisplay for login or network errors

Once uploaded, your hotspot directory should look similar to this: