Saturday, December 5, 2015

Hotspot MikroTik Configuration Step by Step

Hotspot is an area where a client or user can connect to the Internet network via wireless media / wireless or wired. Whether it be a PC, notebook, other gadgets. If the speed or total internet bandwidth owned a hotspot network is not too large and without menagement appropriate bandwidth, of course, the internet speed will be noticeably slower if the user / client that accesses the Internet in the hotspot network too much. Therefore, it is necessary to overcome the bandwidth management proxy hotspot correctly.

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

1 comment:

  1. Wow, cool post. I'd like to write like this too - taking time and real hard work to make a great article... but I put things off too much and never seem to get started. Thanks though. helium miners for sale

    ReplyDelete