Tuesday, December 17, 2019

How To Setup Your Ain Hotspot Amongst Mikrotik Routers

1. First nosotros demand to define the get-go port for WAN connexion thus the router volition connect to the network via around other router amongst DHCP.
In winbox click IP > DHCP Client together with Add DHCP Client to port ether1

2. Let's add together the hotspot service to wlan Click IP > HotSpot together with the hotspot Setup box, pick out wlan1 every bit hotspot interface. You tin convey default values but pick out none for certificate. Leave the IP every bit it is (10.5.50.x). If you lot alter this IP, the LOGIN together with LOGOUT links volition non function on your splash page.

3. The router should move placed inwards ap dyad mode.
Click interface, double click wlan1, click Mode: together with select ap dyad
And brand for certain the frequency is develop to 2.4 b/G.
4. You demand to add together our radius server every bit authentication together with accounting server.
In the hotspot profiles (IP > HotSpot > Profiles) pick out your hotspot profile together with click the radius tab, check let radius. Then click the login tab together with de-select cookie, let http pap together with chap.

5. You demand to define our radius server. Click Radius together with the + sign to add together our radius server.
Click Services > Hotspot, come inwards radius address: Radius.hotspotsystem.com, Secret: hotsys123
Check the box side past times side to hotspot

6. You demand to add together the secondary radius server. Click Radius together with the + sign.
Click Services > Hotspot, come inwards radius Address: radius2.hotspotsystem.com, Secret: hotsys123
Check the box side past times side to hotspot
7. We possess got to let for certain sites together with servers for non authenticated users otherwise they can't purchase access.
In the section IP > HotSpot > Walled Garden, click on + sign together with add together the next domains to Dst. Host 1 past times one:
*.hotspotsystem.com
*.worldpay.com
*.paypal.com
*.paypalobjects.com
*.paypal-metrics.com
*.altfarm.mediaplex.com
*.akamaiedge.net
paypal.112.2O7.net
*.moneybookers.com
*.adyen.com *.directebanking.com
*.paysafecard.com
betalen.rabobank.nl
ideal.ing.nl
internetbankieren.frieslandbank.nl
ideal.abnamro.nl
ideal.snsreaal.nl
ideal.triodos-onlinebanking.nl

For Hotspot FREE SOCIAL locations: you lot must add together 'www.apple.com' too!
Then inwards the section IP > HotSpot > Walled Garden > IP List add together the next IPs to Dst. Address 1 past times 1 (if your Mikrotik doesn't let netmask values (.0/24) you lot tin skip the netmask value):
194.149.46.0/24
198.241.128.0/17
66.211.128.0/17
216.113.128.0/17
70.42.128.0/17
128.242.125.0/24
216.52.17.0/24
62.249.232.74
155.136.68.77
66.4.128.0/17
66.211.128.0/17
66.235.128.0/17
88.221.136.146
195.228.254.149
195.228.254.152
203.211.140.157
203.211.150.204
82.199.90.136/29
82.199.90.160/27
91.212.42.0/24
8. You demand to syncronize the router's fourth dimension amongst our server.
Click on System > NTP Client. Enter primary together with secondary NTP servers. To notice NTP servers, become to http://www.pool.ntp.org/ together with select the location's continent on the correct side of the page. You'll notice NTP servers there.
Be for certain to leave TimeZoneName: manual, together with TimeZone: 00:00 inwards System > Clock. (Don't develop your ain timezone, because the router has to demo the GMT time!)

9. You demand to alter the router's NASID. The NASID setting inwards the Mikrotik is located nether System > Identity. Default is 'MikroTik'.
Change this the next way: OPERATORUSERNAME_LOCATIONNUMBER
Example: Operator Username is 'globalhotspot', Location ID: '2', together with thus NASID should be: 'globalhotspot_2'
NOTE: In instance you lot are installing multiple routers inwards the same location, you lot should purpose dissimilar NAS IDs. For the minute routers you lot demand to add together '_wds_1' to the NAS Id, for the 3rd router '_wds_2', etc. So for instance if you lot desire to install the minute router inwards location 3, the NASID should move develop to 'globalhotspot_3_wds_1'.

10. You possess got to customize Mikrotik's built-in login page. On the side bill of fare become to Files, together with notice the login.html file nether the 'hotspot' directory. Double click on the file together with pick out Backup.
Open a uncomplicated text editor similar notepad together with re-create together with glue the next to the editor:

Save it every bit login.html to your Desktop.
Drag together with drib this login.html to your "hotspot" directory inwards the Winbox program.
If you lot wishing to purpose FTP you lot tin FTP to your mikrotik router amongst the admin userid together with password together with supersede the file at that topographic point nether the 'hotspot' directory.
If you lot don't wishing to redirect users to our overnice splash page you lot tin proceed to purpose the router's built-in login page but inwards this instance it is of import to add together a link to the internal page where your users tin purchase access or activate their prepaid cards. Click hither for to a greater extent than information.

10/b. In instance you lot are using Hotspot FREE SOCIAL service, you lot also demand to edit logout.html template. You demand to purpose the same content every bit for the login.html (code above).

11. You possess got to develop the Login/Logout URL IP addresses inwards the Control Center. Log inwards to the Control Center amongst your Operator Username together with password together with become to Manage > Locations. Click on the location, together with thus click on Modify Hotspot Data & Settings. In Splash Page Settings modify the Internal Login/Logout URL Set to Mikrotik. Make for certain that 'Display Login Box on Main Splash Page' selection is CHECKED.

12. Extend the shared-users trammel inwards your hotspot profile.
Sub-menu: /ip hotspot user profile
or become to IP > Hotspot > User Profiles > default > Shared-Users
Change shared-users to 5.

13. As the terminal pace you lot possess got to add together hourly checking for upwards condition for the Router Alert feature.
Go to System > Scheduler together with add together a novel chore past times pressing the addition sign.
Name: up
Interval: 01:00:00
On Event:


Policy: enable all
Press Apply together with OK.
That's all. You tin setup hotspot service fifty-fifty on a wired connection. In this instance you lot possess got to pick out an ethernet port instead of wlan or you lot tin setup hotspot on both ports.
If you lot possess got successfully setup your mikrotik router you lot possess got to run across a login window when connecting via wireless. You tin log inwards amongst username admin, blank password.