MikroTik Hotspot Setup Guide for Beginners — RouterOS v7
Welcome sa KonekNoypi!
Sa tutorial na ito, matututuhan natin kung paano gumawa ng basic MikroTik Hotspot gamit ang RouterOS v7. Ang Hotspot ay isang captive portal system na nangangailangan ng user login bago makagamit ng internet.
Ang guide na ito ay para sa beginners, home lab users, small businesses, computer shops, at WiFi hotspot operators.
1. Ano ang MikroTik Hotspot?
Ang MikroTik Hotspot ay nagbibigay ng authentication system para sa mga network users.
Kapag kumonekta ang isang client sa Hotspot network, maaaring lumabas ang login page bago payagang gumamit ng internet.
Mga pangunahing features:
- Username at password authentication
- Hotspot login portal
- User profiles
- Bandwidth limits
- Session monitoring
- Basic access management
Note: Ang Hotspot ay hindi kapalit ng secure WiFi encryption, firewall protection, o HTTPS security.
2. Requirements
Bago magsimula, ihanda ang sumusunod:
1. MikroTik router na may RouterOS v7 at suportadong Hotspot feature.
2. WinBox o WebFig access.
3. Working internet connection.
4. Ethernet cable o compatible access point.
5. Isang test device.
6. Administrator access sa router.
Para sa example natin, gagamitin ang network na ito:
WAN: ether1
Hotspot LAN: ether2
Gateway: 192.168.50.1
Subnet: 192.168.50.0/24
Hotspot DNS Name: hotspot.example.com
Ang hotspot.example.com ay example hostname lamang. Hindi ito automatically valid public domain o trusted HTTPS login certificate.
IMPORTANT: Gumamit ng test router o mag-backup muna ng configuration bago magbago ng network settings. Maaaring mawalan ng connectivity kapag mali ang interface o IP configuration.
3. Network Topology
Ganito ang basic connection:
Internet / ISP
|
MikroTik
ether1 (WAN)
|
ether2 (Hotspot LAN)
|
WiFi Access Point
|
Hotspot Clients
Kung gumagamit ng external access point, i-configure ito sa AP/bridge mode upang ang MikroTik ang mamahala sa Hotspot network.
4. Backup Existing Configuration
Bago gumawa ng changes, gumawa muna ng backup.
/export file=before-hotspot-setup
Ang export file ay maaaring maglaman ng sensitive configuration information. Itago ito nang ligtas at huwag basta i-share online.
Maaari ring gumawa ng RouterOS binary backup sa WinBox.
5. Verify Internet Connection
Buksan ang WinBox, pumunta sa New Terminal, at subukan:
/ping 8.8.8.8 count=5
Kapag may successful replies, reachable ang destination mula sa router.
Subukan din ang DNS resolution:
:put [:resolve "example.com"]
Kung hindi gumagana ang internet o DNS sa router, ayusin muna ang WAN connection bago mag-configure ng Hotspot.
6. Create Hotspot Using WinBox Setup Wizard
Para sa beginners, mas madaling gamitin ang built-in Hotspot Setup Wizard.
Step 1:
Buksan ang WinBox at mag-login sa MikroTik.
Step 2:
Pumunta sa IP > Hotspot.
Step 3:
I-click ang Hotspot Setup.
Step 4:
Piliin ang Hotspot interface.
Example:
ether2
IMPORTANT: Siguraduhing hindi ginagamit ang ether2 para sa ibang production network. Kung may existing LAN bridge, VLAN, DHCP server, o ibang configuration, kailangang i-adjust muna ang setup.
Step 5:
I-configure ang local Hotspot address.
Example:
192.168.50.1/24
Step 6:
Piliin ang address pool para sa Hotspot clients.
Example:
192.168.50.10-192.168.50.254
Step 7:
Kung hindi kailangan ng SMTP redirection, piliin ang default na walang SMTP server redirection.
Step 8:
Maglagay ng working DNS servers ayon sa iyong network requirements.
Step 9:
Maglagay ng DNS name.
Example:
hotspot.example.com
Step 10:
Gumawa ng initial Hotspot user.
Example:
Username: testuser
Password: Gumamit ng sariling strong password.
Step 11:
I-click ang Finish.
Pagkatapos ng wizard, karaniwang magagawa ang Hotspot server at mga kinakailangang supporting settings tulad ng DHCP at address pool, depende sa existing configuration.
7. Verify Hotspot Configuration
Pagkatapos ng setup, tingnan ang Hotspot server:
/ip hotspot print
Tingnan ang configured Hotspot profiles:
/ip hotspot profile print
Tingnan ang DHCP server:
/ip dhcp-server print
Tingnan ang IP addresses:
/ip address print
Tiyaking ang mga settings ay naka-assign sa tamang Hotspot interface.
8. Check NAT Configuration
Para magkaroon ng internet ang private LAN clients, karaniwang kailangan ang appropriate source NAT o masquerade rule sa typical single-WAN IPv4 setup.
Tingnan muna ang existing NAT rules:
/ip firewall nat print
Kung may existing masquerade rule na applicable sa Hotspot subnet at WAN, maaaring hindi na kailangang gumawa ng panibagong rule.
Para sa isolated test setup na ether1 ang WAN, isang halimbawa ay:
/ip firewall nat add chain=srcnat src-address=192.168.50.0/24 out-interface=ether1 action=masquerade comment="Hotspot LAN NAT"
Huwag basta idagdag ito sa production router kung may existing NAT, multi-WAN, VLAN, o policy-routing configuration.
9. Create Hotspot Users
Para magdagdag ng Hotspot user:
/ip hotspot user add name=testuser profile=default password="ReplaceWithAStrongUniquePassword"
Palitan ang example password bago gamitin.
Para makita ang listahan ng users:
/ip hotspot user print
Para makita ang currently active users:
/ip hotspot active print
Huwag gumamit ng shared administrator password bilang Hotspot user password.
10. Create a Bandwidth-Limited User Profile
Puwede kang gumawa ng profile na may speed limit.
Example: 2 Mbps download at 1 Mbps upload para sa client, gamit ang RouterOS rate-limit format na upload/download.
/ip hotspot user profile add name=basic-2mbps rate-limit=1M/2M
Pagkatapos, gumawa ng user gamit ang profile:
/ip hotspot user add name=basicuser password="ReplaceWithAnotherStrongPassword" profile=basic-2mbps
Note: Ang actual speed ay depende rin sa ISP connection, queues, wireless signal, device performance, at iba pang bandwidth rules.
11. Test the Hotspot Login Page
Step 1:
Ikonekta ang test device sa Hotspot LAN o WiFi access point.
Step 2:
Tiyaking nakakuha ito ng IP address mula sa tamang subnet.
Step 3:
Buksan ang browser.
Step 4:
Subukan ang isang plain HTTP test website tulad ng:
🔒 You need to login or register to view the link
Maaaring mag-redirect ang Hotspot sa login page.
Step 5:
Mag-login gamit ang Hotspot username at password.
Step 6:
Pagkatapos mag-login, subukan ang internet access.
IMPORTANT: Hindi lahat ng HTTPS websites ay puwedeng i-redirect nang maayos ng captive portal. Para sa secure production login, gumamit ng valid DNS hostname at trusted HTTPS certificate.
12. Monitor Connected Hotspot Users
Para makita ang active Hotspot sessions:
/ip hotspot active print
Para makita ang Hotspot hosts:
/ip hotspot host print
Para makita ang user accounts:
/ip hotspot user print
Makakatulong ang commands na ito sa monitoring at basic troubleshooting.
13. Common Hotspot Problems and Solutions
Problem 1: Hindi lumalabas ang Hotspot login page
Possible causes:
- Mali ang Hotspot interface.
- Hindi nakakuha ng valid IP address ang client.
- May DNS problem.
- May existing DHCP conflict.
- HTTPS-only page ang binubuksan.
- May network configuration conflict.
Suggested solution:
I-check ang Hotspot server, DHCP server, client gateway, DNS at interface configuration. Subukan ang plain HTTP test page.
Problem 2: Nakaka-login pero walang internet
Possible causes:
- WAN connectivity problem.
- Missing or incorrect default route.
- NAT misconfiguration.
- Firewall rules.
- DNS issue.
Suggested solution:
Subukan ang internet mula sa router, pagkatapos ay i-check ang NAT at routing configuration.
Problem 3: Invalid username or password
Possible causes:
- Mali ang login credentials.
- Disabled ang Hotspot user.
- May account restrictions.
- Mali ang authentication configuration.
Suggested solution:
I-check ang Hotspot user settings at applicable restrictions.
Problem 4: Mabagal ang Hotspot internet
Possible causes:
- Mahinang WiFi signal.
- ISP congestion.
- Bandwidth limits.
- Router CPU overload.
- Too many active clients.
Suggested solution:
I-check ang system resources, active users, wireless network at configured queues.
14. Important Security Tips
Para mas secure ang MikroTik Hotspot:
1. Gumamit ng strong administrator password.
2. I-update ang RouterOS sa compatible at supported version pagkatapos ng backup at testing.
3. Huwag i-expose ang WinBox, SSH, o WebFig management sa public internet nang walang appropriate protection.
4. Gumamit ng WPA2/WPA3 security sa WiFi kung applicable.
5. Gumamit ng trusted HTTPS certificate para sa production Hotspot login.
6. Ihiwalay ang guest network sa router management at private LAN.
7. I-review ang firewall rules at management access.
8. Gumawa ng regular configuration backups.
9. Gumamit ng unique Hotspot credentials.
10. Subukan ang configuration bago gamitin sa production.
15. Final Checklist
Bago sabihing successful ang Hotspot setup, siguraduhing:
- Working ang WAN internet connection.
- Correct ang Hotspot interface.
- May valid LAN gateway.
- May working DHCP service.
- May appropriate NAT configuration.
- Accessible ang Hotspot login page.
- Working ang user authentication.
- May internet access pagkatapos mag-login.
- Tama ang bandwidth limits.
- Protected ang router management interface.
Conclusion
Ang MikroTik Hotspot ay isang useful solution para sa controlled internet access sa small businesses, computer shops, at guest WiFi networks.
Sa pamamagitan ng Hotspot Setup Wizard, user profiles, at basic monitoring tools, maaari kang gumawa ng simpleng captive portal system.
Tandaan na maaaring mag-iba ang configuration depende sa MikroTik model, RouterOS version, existing network topology, at ISP setup.
Need help with your MikroTik Hotspot?
Mag-comment sa KonekNoypi at ibahagi ang:
- MikroTik router model
- RouterOS version
- WAN connection type
- Hotspot interface
- Error message o description ng issue
Huwag mag-share ng passwords, private keys, o unredacted configuration backups.
KonekNoypi — Connect. Learn. Discuss.
