Using this step-by-step guide, you will quickly be able to create or edit an existing MikroTik wireless network with Captive WiFi.
Please get in touch with your account manager for the login.html file you will need this at the end of this guide
Installing Captive WiFi on your MikroTik networks using WinBox
To get started, connect to your MikroTik management section using WinBox. Use your router IP and login details to connect.
Create a new bridge
-
In the 'General' tab, make the following changes.
-
Name - bridge-captivewifi
-
- Choosing the relevant VLAN/LAN for your guests, select the above Bridge
- Save the changes by clicking 'OK'.
- Next, head to the Bridge > Ports > Add New tab.
In the 'General' tab, make the following changes
-
Interface - (selected interface)
-
Bridge - bridge-captivewifi
Save the changes by clicking 'OK'.
Setup the IP address for your bridge
Please skip this if you already have a guest network setup
IP > Addresses > New
![](https://cdn.eniston.com/bases/fff1f380-9b9f-410d-b4da-5fbf022e6213/attachments/bridge_1705661364.png)
Make the following changes.
-
Address - 10.5.0.1/22
-
Network - 10.5.0.0
-
Interface - bridge-captivewifi
Save the changes by clicking 'OK'.
Add an IP pool
IP > Pool > New
Please skip this if you already have a guest network setup
![](https://cdn.eniston.com/bases/fff1f380-9b9f-410d-b4da-5fbf022e6213/attachments/mceclip7_1699376182.png)
Make the following changes.
-
Name - pool-captivewifi
-
Addresses - 10.5.0.2-10.5.3.254
-
Next pool - none
Save the changes by clicking 'OK'.
Create a new DHCP server
IP > DHCP Server > Networks > New
Please skip this if you already have a guest network setup
![](https://cdn.eniston.com/bases/fff1f380-9b9f-410d-b4da-5fbf022e6213/attachments/mceclip9_1699376263.png)
Make the following changes.
-
Address - 10.5.0.0/22
-
Gateway - 10.5.0.1
-
DNS Servers - 10.5.0.1
Save the changes by clicking 'OK'.
Next, head to the IP > DHCP Server > DHCP > New tab.
Please skip this if you already have a guest network setup
![](https://cdn.eniston.com/bases/fff1f380-9b9f-410d-b4da-5fbf022e6213/attachments/mceclip10_1699376282.png)
In the 'Generic' tab, make the following changes.
-
Name - server1
-
Interface - bridge-captivewifi
-
Address Pool - pool-captivewifi
Save the changes by clicking 'OK'.
Create the Hotspot Profile
IP > Hotspot > Server Profiles > New
![](https://cdn.eniston.com/bases/fff1f380-9b9f-410d-b4da-5fbf022e6213/attachments/mceclip12_1699376366.png)
In the 'General' tab, make the following changes.
-
Name - captivewifi-profile
-
DNS Name - hotspot.captivewifi.io
-
HTML Directory - flash/hotspot
![](https://cdn.eniston.com/bases/fff1f380-9b9f-410d-b4da-5fbf022e6213/attachments/mceclip14_1699376402.png)
In the 'Login' tab, make the following changes.
-
Login By - HTTP PAP
Create the Hotspot User
IP > Hotspot > Users
- Click Add
- Server = All
- Name = admin
- Profile = (which ever the server name is)
Create the Hotspot User Profile
- Click Add
- Server = Default
- Pool = pool-captivewifi
- Session Timeout = 01:30:00
- Keepalive timeout = 00:02:00
- Startus Autorefresh = 00:01:00
Create the Hotspot Server
IP > Hotspot > Servers > New
![](https://cdn.eniston.com/bases/fff1f380-9b9f-410d-b4da-5fbf022e6213/attachments/mceclip15_1699376426.png)
Make the following changes.
-
Name - server-captivewifi
-
Interface - bridge-captivewifi
-
Address Pool - pool-captivewifi
-
Profile - captivewifi-profile
Save the changes by clicking 'OK'.
Add your login page IPs to the walled garden
IP > Hotspot > Walled Garden > New
![](https://cdn.eniston.com/bases/fff1f380-9b9f-410d-b4da-5fbf022e6213/attachments/mceclip16_1699376463.png)
Make the following changes.
-
Dst. Host - The domain (See below)
Save the changes by clicking 'OK'.
This step must be repeated for the following domains; you must create a walled garden entry for each. This will enable guests to access the login page before they are authorised.
Required domains
getonline.captivewifi.io
kit.fontawesome.com
captivewifi.fra1.digitaloceanspaces.com
*.captivewifi.io
You should already have the login.html, from the support team, copy the file in to the /flash/hotspot