If you have different network on single mikrotik box, and you want that every network should have there own login page, instead of one single universal login page, you can create multiple login page for each network.
For example client on wire should get some fancy heavy login page, and wireless client or other dealer client should get some other light size login page.
Example:
LAN = 10.0.0.1/8 
LAN2-wifi = 192.168.50.1/24
WAN = 192.168.30.1/24

Create HOTSPOT on LAN interface

Now you have to create two hotspot server for each interface i.e LAN and LAN2-wifi ,As showed in the image below . . .
.
.
.
.
.
.
.
.
Ok Hotspot 1 setup is completed. You should be now able to see default login page from LAN network.
Moving forward to configure Hotspot 2

Create HOTSPOT on LAN2-wifi interface

Run the Hotspot Setup  again but this time select LAN2-wifi interface
As showed in the image below . . . (Only major steps are posted)
.
.
.
.

Adding second HOTSPOT Login Page for WIFI network in FILES & Profile Section

Now copy the HOTSPOT Folder from Mirkotik FILES onto your desktop. Rename it to ‘HOTSPOT2′ .
Edit the login.html page & add your logo and other info.
Now upload it to root folder of FILES section.
As showed in the image below . . .
.
Now goto IP > HOTSPOT > SERVER PROFILESSelect
Select second profile ‘hsprof2
in HTML Directory section, select hotspot2 folder (or whatever folder name you have created for second hotspot page)
Click OK.
As showed in the image below . . .

Now goto IP > HOTSPOT > SERVERs
Select second server hs-LAN2-wifi
in Profile Select hs-LAN2-wifi

Test The Setup :D

Now its time to test the setup.
LAN CLIENT
From LAN client , try to open any page and you will be redirected to HOTSPOT 1 page.

LAN2-wifi CLIENT
From LAN2-wifi client , try to open any page and you will be redirected to HOTSPOT 2 page.
More to come soon . . .
Regard’s: Hassam Sohail

.

Post a Comment

Previous Post Next Post

propeller