Configure Mikrotik as a Hotspot Server


 mikrotik as hotspot
There are many posts on how to configure Mikrotik as hotspot. But I am sure this is not the result of a cheat sheet. Even if some of section are the same, it was fate. Mikrotik is a friendly operation system, and is very easy to configured. Enough to know the concept of network, plus with a Winbox, then you will easily configure the Mikrotik, in accordance with your wishes. I configured wireless outdoor of mikrotik, as a hotspot. I forget the type of the mikrotik. It's been a long time. And now for the post on this blog, I configure the mikrotik hotspot again, but this time, the mikrotik is installed inside vmware.
Let’s begin.



Setup IP Address Ethernet.
In my case, the Mikrotik to connect to the internet, simply by setting IP address dhcp. Open winbox, Click IP – DHCP Client. In the open dialog box, click plus (+)
winbox mikrotik - dhcp client

The new Open dialog box will be appear again, like below. Select ether1 interface, and check peer dns, ntp peer and the default route. Then click Ok.
winbox mikrotik - new dhcp client

Click new Terminal.  Make sure Mikrotik connect to internet. Use command ping.  Look at picture below.
winbox mikrotik - new terminal

Setting DNS
Click IP – DNS. In the open dialog box, click Settings. New open dialog will be appear. Input IP DNS in the box Servers, for example 8.8.8.8.  and check Allow Remote Requests. Then click OK.
winbox mikrotik - dns settings

Setting NTP (Network Time Protocol)
Click System – NTP Client. Continue to check enable and select Unicast mode, and then input IP address for Primary NTP Server & Secondary NTP Server, as shown below. Then click OK.
winbox mikrotik - setting ntp client

Setting Mikrotik Hotspot
Continue to setting Hotspot. Click IP – Hotspot
winbox mikrotik - IP hotspot

In the Hotspot dialog box, Click Hotspot Setup.
winbox mikrotik - hotspot setup

Then Mikrotik Hotspot Setup wizard, will be appear. This is easiest way to setup Hotspot interface in Mikrotik. IP address for Ethernet, DHCP Server, routing and firewall will be configured automatically. In the Mikrotik Hotspot Setup wizard, select ether2 as hotspot interface.  Then click Next.
winbox mikrotik - hotspot setup 2

Set hotspot IP address.  Then click Next
winbox mikrotik - hotspot setup 3

Set Pool dhcp, then click Next
winbox mikrotik - hotspot setup 4

For SSL certificate, select none. Then Klik Next
winbox mikrotik - hotspot setup 5

Because we don’t have SMTP server, enter 0.0.0.0. Click Next
winbox mikrotik - hotspot setup 6

In the wizard Setup DNS, input IP DNS, then click Next
winbox mikrotik - hotspot setup 7

For DNS name, leave blank, then click Next.
winbox mikrotik - hotspot setup 8

Create users, and password,  then click Next
winbox mikrotik - hotspot setup 9

Done. Setup has completed successfully.
winbox mikrotik - hotspot setup complete

Back to the Mikrotik Hotspot dialog box. Click tab Server Profiles, then click twice to hsprof1 (look at example picture below). New open dialog box will appear about Hotspot Server Profile.
winbox mikrotik - hotspot server profiles

And then in tab Login, make sure in the section “Login By”, uncheck cookie, then click OK.
winbox mikrotik - hotspot server profiles settings

Until here, Mikrotik has been successfully configured as a hotspot. For testing of the client, create a voucher for the user / client. In the Mikrotik Hotspot dialog box, select tab Users – plus (+)
winbox mikrotik - hotspot users

In the new open dialog box, input  name & password. You can customize how the speed, duration of use, the mac address, and so on. It depends on your desire. Then click OK.
winbox mikrotik - hotspot users settings

In the computer client, browsing to any site, If the login page appears, it means mikrotik hotspot is working properly. Input username and password, that have been created. If everything is normal, the browser will be redirect to destination site.
mikrotik - hotspot page login


For security, don’t forget to make new password for user admin. Click system – password, fill new password in dialog box, and then click change.

mikrotik - change password
Disadvantages.
Generally, with a system like this, it can be regarded as a hotspot billing system, which can be commercialized. Of course there are a lot of drawbacks, such as :
1. Creation of user and password created manually.
2. There is no print facility.
3. Capacity for users is limited.
4. There's no price of package.
5. And so on, you can add it yourself.

Comments

Popular posts from this blog

DMASOFTLAB RADIUS MANAGER BILLING SYSTEM v 4.1 Finally Released

How To Configure Nano Station M2 As Access point