The MikroTik RouterOS Hotspot server is the most powerful and flexible hotspot platform available at the price point of MikroTik hardware. Widely deployed by ISPs, hotel WiFi operators, campus network managers, and commercial hotspot businesses across Uganda and East Africa, it gives you granular per-subscriber control — login authentication, bandwidth limiting, session time quotas, data caps, voucher generation, and RADIUS integration — all built into RouterOS with no additional licensing fees.
This guide goes deeper than the basic setup covered in our MikroTik Hotspot Setup with Subscriber Billing guide — here we cover the advanced configuration that separates a professionally operated hotspot from a basic home network: captive portal customisation, structured voucher systems, per-tier bandwidth queue management, session control, and RADIUS billing integration. ISPs and hotspot operators managing 20+ subscribers should pair this configuration with our ISP Billing System to automate the subscriber and billing layer on top of this RouterOS foundation.
Recommended Hardware for RouterOS Hotspot in Uganda
All MikroTik RouterOS hotspot configurations in this guide apply to the following hardware available at NetEdge Supplies Uganda:
- Budget hotspot / small premises (up to 20 users): MikroTik hAP lite RB941-2nD — 32MB RAM, 4 ports, USB modem, RouterOS L4 at UGX 120,000. Sufficient for café, guesthouse, and small SOHO hotspot deployments.
- Mid-range hotspot / ISP CPE (20–50 users): MikroTik hAP RouterBOARD with PoE — 64MB RAM, 5 ports with PoE in/out at UGX 180,000. PoE out allows you to simultaneously power an outdoor AP from port 5.
- ISP CPE / distribution (50–200 subscribers): MikroTik RB951Ui-2HnD RouterBOARD — 128MB RAM, 5 ports, USB modem failover, PoE out at UGX 250,000. The most widely deployed ISP CPE router in Uganda.
- ISP edge/core router upstream of hotspot CPE: MikroTik hEX RB750Gr3 5-Port Gigabit Router — wired Gigabit routing, PPPoE termination, and upstream traffic management for multi-CPE ISP deployments.
- Wide-area hotspot sector coverage: MikroTik MANTBox 12s 2.4GHz Sector Integrated Antenna — outdoor sector AP for neighbourhood-scale or campus hotspot coverage, powered via the MikroTik RBGPOE Gigabit PoE Injector.
- Dual-band outdoor AP: MikroTik wAP ac RBwAPG-5HacT2HnD Dual-Band Outdoor AP — 2.4GHz + 5GHz outdoor access point for premium hotspot deployments requiring 5GHz capacity.
Understanding the RouterOS Hotspot Architecture
Before diving into configuration, it helps to understand how the RouterOS Hotspot server intercepts and manages traffic:
- Client connects to the hotspot WiFi or LAN port (open network — no WPA password)
- RouterOS DHCP server assigns an IP address from the hotspot pool
- Client opens a browser — RouterOS intercepts the HTTP request via a transparent proxy and redirects to the captive portal login page
- Client enters username and password (or voucher code)
- RouterOS authenticates against the local user database or RADIUS server
- On success, RouterOS adds the client’s IP to the hotspot IP binding and applies the User Profile (bandwidth limit, session timeout, data quota)
- Client gets internet access within the limits of their profile — fully tracked per-session
This architecture gives you complete visibility and control over every subscriber session — a fundamental requirement for any commercial hotspot or ISP CPE operation.
Part 1 — Captive Portal Login Page Customisation
The default RouterOS Hotspot login page is functional but generic. Customising it reinforces your brand and builds trust with subscribers. RouterOS stores the hotspot HTML/CSS files in the router’s file system, accessible via Winbox Files or FTP.
Accessing the Hotspot Login Files
- Open Winbox → connect to your MikroTik router
- Go to Files → look for the
hotspotfolder - The key files are:
login.html(main login page),alogin.html(after-login redirect),error.html(login error page),status.html(session status page), andlogout.html - Drag these files to your desktop to edit, then drag them back to upload your changes
Key Customisations for Uganda ISPs
-
Add your business logo: Upload your logo image to the hotspot folder and reference it in
login.htmlvia<img src="logo.png"> - Add your business name and contact: Display your ISP name, phone number, and payment instructions on the login page — essential for subscribers who need to pay for access
- Add package information: List your available bandwidth packages and prices directly on the login page so subscribers know what they’re getting before they log in
-
Mobile-optimise the layout: Most subscribers in Uganda connect via smartphone — ensure the login page is responsive and loads cleanly on small screens. Use simple CSS with
max-width: 400px; margin: auto;as a starting point. - Add a payment link: Include a link to your payment page or our ISP Billing System so subscribers can pay and renew their subscription directly from the login page
RouterOS Hotspot Login Page Variables
RouterOS provides built-in template variables you can use in your login page HTML to display dynamic subscriber information:
-
$(username)— the logged-in subscriber’s username -
$(ip)— the subscriber’s current IP address -
$(session-time-left)— remaining session time based on the User Profile timeout -
$(bytes-in)/$(bytes-out)— data usage for the current session -
$(uptime)— how long the current session has been active
Use these variables on the status.html page to give subscribers real-time visibility of their session — reducing support calls about “how long do I have left?”
Part 2 — Structured Voucher System
Vouchers are the commercial currency of hotspot businesses in Uganda — pre-generated username/password pairs sold to subscribers for timed or data-limited internet access. A well-structured voucher system is the difference between a scalable hotspot business and a chaotic manual operation.
Designing Your Voucher Tiers
Before generating vouchers, design your tier structure in RouterOS User Profiles (IP > Hotspot > User Profiles). Each tier should have a clear name, bandwidth limit, session time, and data quota. A practical tier structure for Uganda hotspot businesses:
| Tier | Profile Name | Speed | Duration | Data Cap | Suggested Price |
|---|---|---|---|---|---|
| Hourly | 1hr-2Mbps |
2 Mbps/2 Mbps | 1 hour | None | UGX 500 |
| Daily | 1day-3Mbps |
3 Mbps/3 Mbps | 24 hours | None | UGX 2,000 |
| Weekly | 7day-5Mbps |
5 Mbps/5 Mbps | 7 days | None | UGX 10,000 |
| Monthly | 30day-10Mbps |
10 Mbps/10 Mbps | 30 days | None | UGX 35,000 |
Creating User Profiles in RouterOS
- Go to IP > Hotspot > User Profiles → click Add (+)
-
Name: e.g.
1day-3Mbps -
Rate Limit:
3M/3M(download/upload in Mbps) -
Session Timeout:
1d(1 day = 24:00:00) -
Shared Users:
1(prevents credential sharing between devices) -
Keepalive Timeout:
00:02:00(disconnects idle sessions after 2 minutes to free up the hotspot user slot) - Click OK → repeat for each tier
Generating Vouchers in Bulk via User Generator
- Go to Tools > User Manager in Winbox (or navigate to
/tool user-manager) - Select Users → click Generate
- Set Count: how many vouchers to generate (e.g. 50)
- Set Profile: select your tier (e.g.
1day-3Mbps) - Set Username format: e.g.
random(6–8 character alphanumeric codes) - Set Password: same as username, or a separate random value
- Click Generate → export to CSV for printing and distribution
Print vouchers on small cards or slips with your business name, the username/password, and the package details. Sell directly or distribute through agents. For automated digital voucher delivery and subscriber self-service renewal, integrate with our ISP Billing System.
Part 3 — Per-User Bandwidth Limiting with Queue Trees
The Rate Limit field in User Profiles is the simplest way to apply per-user speed limits in RouterOS. However, for ISPs managing multiple subscriber tiers with shared uplink bandwidth, Queue Trees with PCQ (Per-Connection Queuing) provide far more sophisticated and fair bandwidth management.
Simple Rate Limiting vs PCQ — When to Use Each
- Simple Rate Limit (User Profile Rate Limit field): Best for straightforward hotspot voucher businesses where each user gets a fixed individual speed cap. Easy to configure, works out of the box with no additional setup. Use this for the majority of hotspot deployments in Uganda.
- PCQ (Per-Connection Queue): Best for ISPs managing a shared uplink where the total bandwidth must be divided fairly across all active subscribers. PCQ ensures that when 50 subscribers are active on a 50 Mbps uplink, each gets approximately 1 Mbps — rather than the first subscribers taking all the bandwidth until the link is saturated.
Implementing PCQ for Fair Bandwidth Sharing
- Go to Queues > Queue Types → click Add (+)
- Name:
PCQ-Download→ Kind: pcq → Classifier: dst-address → click OK - Add another: Name:
PCQ-Upload→ Kind: pcq → Classifier: src-address → click OK - Go to Queues > Simple Queues → click Add (+)
- Name:
Hotspot-Bandwidth→ Target:192.168.88.0/24(your hotspot subnet) - Max Limit: set your total uplink bandwidth (e.g.
50M/50M) - Queue Type: Download →
PCQ-Download, Upload →PCQ-Upload - Click OK
This configuration ensures fair bandwidth distribution across all active hotspot clients — preventing any single subscriber from monopolising the uplink during peak hours.
Part 4 — Session Management & Subscriber Control
IP Bindings — Bypassing and Blocking Subscribers
RouterOS Hotspot IP Bindings (IP > Hotspot > IP Bindings) allow you to:
- Bypass specific devices from authentication — useful for printers, smart TVs, and IOT devices that cannot display a login page
- Block specific MAC addresses — permanently prevent a device from connecting to your hotspot
- Assign fixed IPs to specific devices via MAC address binding — essential for servers and management devices that need stable IP addresses
Walled Garden — Free Access Before Login
The RouterOS Walled Garden (IP > Hotspot > Walled Garden) allows specific websites or IP ranges to be accessible before a subscriber logs in — without requiring a voucher. Use this to allow access to:
- Your business website or subscriber portal (so subscribers can purchase a voucher before logging in)
- Your ISP Billing System payment page — so subscribers can self-renew without needing to contact you
- A local payment gateway (MTN Mobile Money, Airtel Money API endpoints)
Active Sessions Monitoring
Go to IP > Hotspot > Active to see all currently authenticated subscribers in real time. Columns show username, IP address, MAC address, uptime, bytes in/out, and rate limit applied. You can disconnect any active session by right-clicking and selecting Remove — useful for immediately suspending a subscriber whose payment has lapsed.
Part 5 — RADIUS Integration for Centralised Billing
For ISPs managing multiple MikroTik routers across multiple hotspot sites, local user databases on each router do not scale. RADIUS (Remote Authentication Dial-In User Service) centralises authentication and accounting across all your routers into a single subscriber database.
How RADIUS Works with RouterOS Hotspot
- A subscriber enters their credentials at any of your hotspot locations
- The local MikroTik router sends an Access-Request to your central RADIUS server
- The RADIUS server checks the credentials and subscriber status against the central database
- If valid and active, the RADIUS server sends an Access-Accept with the subscriber’s bandwidth profile attributes
- RouterOS applies the profile and the subscriber gets access — the session is logged in the RADIUS Accounting database
- When the session ends (logout, timeout, or billing suspension), an Accounting-Stop record is sent to RADIUS for usage tracking
Configuring RADIUS on RouterOS
- Go to RADIUS in Winbox → click Add (+)
- Tick Hotspot service
- Address: your RADIUS server IP
- Secret: your shared RADIUS secret
- Authentication Port:
1812→ Accounting Port:1813→ click OK - Go to IP > Hotspot > Server Profiles → double-click your hotspot profile → tick Use RADIUS → click OK
Our ISP Billing System includes a built-in RADIUS server — simply point your MikroTik routers at the billing system’s RADIUS endpoint and your entire subscriber database, bandwidth profiles, and session accounting are managed centrally across all your hotspot sites in Uganda.
Frequently Asked Questions (FAQ)
How do I customise the MikroTik hotspot login page in Uganda?
The MikroTik RouterOS hotspot login page files (login.html, status.html, error.html, and others) are stored directly on the router’s file system and can be edited with any text editor. Access them via Winbox Files or FTP, download them to your PC, edit the HTML/CSS to add your business logo, brand colours, contact details, and package information, then upload the edited files back to the router. RouterOS provides template variables such as $(username), $(session-time-left), and $(bytes-in) that display dynamic subscriber session data on the status page. For most hotspot operators in Uganda, the key customisations are adding a logo, business name, MTN/Airtel Mobile Money payment instructions, and a link to the ISP Billing System for subscriber self-service renewal.
How many vouchers can I generate on a MikroTik hotspot at once?
RouterOS User Manager can generate hundreds of vouchers in a single batch. The practical limit depends on your router’s RAM — the hAP lite RB941-2nD (32MB RAM) handles hundreds of pre-generated vouchers without issue for a small hotspot. The RB951Ui-2HnD (128MB RAM) can manage thousands of user entries — suitable for a medium-scale ISP CPE deployment. For large-scale voucher operations across multiple sites, use RADIUS integration with our ISP Billing System to manage the user database centrally rather than on individual routers.
How do I set different bandwidth speeds for different subscriber packages on MikroTik?
Create separate User Profiles in RouterOS (IP > Hotspot > User Profiles) for each bandwidth package. Set the Rate Limit field to the download/upload speed for that profile — for example 2M/2M for a budget package, 5M/5M for a standard package, and 10M/10M for a premium package. Each subscriber’s account is then assigned to the appropriate profile, and RouterOS automatically enforces the bandwidth limit for that subscriber’s session. When you upgrade or downgrade a subscriber’s plan, simply change their assigned User Profile — the new limit applies at their next login. For automated plan changes based on billing status, integrate with our ISP Billing System via RADIUS.
What is the Walled Garden in MikroTik RouterOS and how do I use it?
The RouterOS Walled Garden (IP > Hotspot > Walled Garden) allows you to define websites or IP addresses that are accessible to unauthenticated subscribers — before they log in or buy a voucher. This is essential for commercial hotspot operations in Uganda because it allows you to make your payment page, subscriber portal, or mobile money payment gateway accessible to subscribers who have run out of credit and need to renew. Add your ISP Billing System URL, your business website, and any Mobile Money API endpoints to the Walled Garden so subscribers can always reach the payment page and self-renew without needing to contact you for assistance.
What is the difference between local hotspot users and RADIUS authentication on MikroTik?
Local hotspot users are stored directly in the router’s own user database and work without any external server. This is simple and reliable for single-location hotspots with a small number of subscribers. RADIUS authentication stores all subscriber credentials and session data on a central server, with multiple MikroTik routers authenticating against it. RADIUS is essential for ISPs operating multiple hotspot sites across Uganda — a subscriber’s credentials work at any of your locations, billing is centralised, and plan changes apply across all sites simultaneously. Our ISP Billing System includes a built-in RADIUS server for exactly this purpose.
Which MikroTik router is best for a large hotspot with 100+ concurrent users in Uganda?
For 100+ concurrent hotspot users, the MikroTik RB951Ui-2HnD RouterBOARD (128MB RAM) is the recommended CPE-level router. However, at 100+ users the router’s CPU becomes the limiting factor for hotspot packet processing — at this scale, consider moving to a higher-CPU MikroTik model such as the RB2011 or CCR series for the hotspot gateway role, and using the RB951Ui-2HnD units purely as subscriber-premises CPE. For sector-level WiFi coverage serving 100+ users wirelessly, pair with the MikroTik MANTBox 12s 2.4GHz Sector Antenna for wide-area coverage, or the MikroTik wAP ac Dual-Band Outdoor AP for high-density 5GHz deployments. All are available at NetEdge Supplies Uganda.