Set up your first hotspot (end to end)
Set up your first hotspot step by step, from connecting the router to testing as a guest, with a checkpoint for each step.
This guide takes you from an empty panel to a working guest login on one page. Each step links to its detailed guide; here you get the order and what to check along the way.
What you end up with
- A MikroTik router connected to Hotspotly through a VPN tunnel.
- A hotspot in the panel, attached to that router.
- A published login page with the login methods you chose.
- Login files, hotspot profile and RADIUS settings applied to the router automatically.
Before you start
- A MikroTik running RouterOS 6.49 or later. RouterOS 7 uses WireGuard; 6.49 uses L2TP/IPsec.
- Outbound internet from the router: UDP 51820 for WireGuard; UDP 500, 4500 and 1701 for L2TP/IPsec.
- A correct router clock. The router downloads the login files with certificate verification.
- A separate interface or bridge for guests (for example
bridge-guest) and Terminal or Winbox access to the router. - An active Hotspotly subscription. If your package's hotspot limit is reached, you cannot create a new hotspot.
Setup steps
- Connect the router to Hotspotly. My Devices → Add Device → MikroTik RouterOS. The wizard gives you a setup script; paste it into the router's Terminal as one piece. Details: RouterOS 7 (WireGuard) or RouterOS 6.49 (L2TP/IPsec).
- Make sure the guest interface has a hotspot server on the router. Hotspotly does not create the hotspot server; it finds the existing one and writes its settings. Without a server, setup stops with "No hotspot server on the router for the hotspot interface". Details: Guest network and hotspot server on MikroTik.
- Create the hotspot in the panel. Hotspots → Add Hotspot. Fill in the form using the table below and click Create.
- Design and publish the login page. On the hotspot row, Design → choose methods on the Methods tab → Publish. Details: Login page design.
- Check that it reached the router. On the hotspot detail page, the Router portal setup card's Setup status should be Applied. If not, click Apply to router.
- Test with a phone. See Verification below.
Hotspot form fields
| Field | What to enter | Example |
|---|---|---|
| Select Device | The router you connected in step 1 | Lobby Router |
| Hotspot Name | The name you will see in the panel | Hotel Guest |
| Network Address | The guest network address (CIDR) | 10.5.50.0/24 |
| Gateway | The router's address on the guest network | 10.5.50.1 |
| DNS Servers | DNS servers used on the guest network, comma-separated | 1.1.1.1,9.9.9.9 |
| Interface | The interface of the router's hotspot server, exactly the same | bridge-guest |
The Interface field must match the router exactly
Hotspotly looks for the hotspot server running on this interface. If the server runs on a bridge,
enter the bridge name (for example bridge-guest), not one of its ports. The field comes
prefilled with ether2; if you clear it, Hotspotly uses the router's only hotspot server, and stops
with hotspot_server_not_found when there are several. Details:
The hotspot record in the panel.
Network Address, Gateway and DNS Servers are kept as a record in the panel. Hotspotly does not create an IP pool, DHCP server or address on the router; enter the same values as the guest network on your router.
You can see the hotspot server's interface in the router Terminal:
What happens after you create it
When you click Create, Hotspotly starts the router portal setup in the background (trigger: "Hotspot created"). If the device is connected through the VPN tunnel, setup usually finishes within a few seconds. Setup runs again when you change and publish the login methods.
Setup covers the whole device: other active hotspots on the same router are updated in the same run.
Setup changes these settings on your router
- The hotspot server's profile is set to log in with
http-chaponly;cookie,macandtriallogins are turned off. use-radius=accountingis turned on for the DHCP server on the hotspot interface.- The NTP client and time zone are set to Hotspotly's values.
Your untagged walled garden rules, other RADIUS entries and unused profiles are kept. Details: Apply to router and compliance check.
Verification
- On the Router portal setup card the badge should be Applied. Check compliance reads the router without changing it; you should see "Compliant".
- Connect a phone to the guest WiFi. Most phones open the login page by themselves. If yours does
not, open an address that starts with http in the browser (for example
http://neverssl.com); https addresses are not redirected to the login page. - The login page should open from the portal address shown in the panel (for example
https://portal.hotspotly.net). You can see your own address on the Link tab of the design screen. - Log in with a method you enabled, then open any website.
- In the panel, find the phone on the hotspot detail page's Active Hosts tab and the guest record on the Guest users page.
You can also check on the router. These commands only read:
What to expect: login files under hotspotly/<hotspotId>/; on the profile
html-directory=hotspotly/<hotspotId>, login-by=http-chap, use-radius=yes; in the walled
garden, your portal address and the addresses your enabled methods need; use-radius=accounting
on the guest DHCP server; your phone in the active list after login.
Troubleshooting
| Symptom | Likely cause | Fix |
|---|---|---|
| Card shows "No hotspot server on the router for the hotspot interface" | No hotspot server on this interface, or the Interface field differs | Find the interface with /ip hotspot print; set up the server or correct the hotspot field, then Apply to router |
| "Hotspot profile is used by more than one server" | Two hotspot servers use the same profile | Give each hotspot server its own profile |
| "Device is not connected through the VPN tunnel" or "VPN setup is not finished" | The device was added with Direct Connection, or the VPN script did not finish | Connect the device with the VPN wizard; VPN connection test |
| "Router could not download the login files" | The router could not verify the certificate, or its clock is wrong | Certificate problems; /system clock print |
| "Router is unreachable" | VPN tunnel down or router off | Check the router's internet and the tunnel, then Apply to router |
| Badge shows Update needed | The portal address or login files changed | Apply to router |
| Guests see RouterOS's own login page | Setup not applied yet, or files not downloaded | Check the card status and last run; Check compliance |
| Login page does not load, stays blank | The portal address is missing from the walled garden | Check compliance; if there are differences, Apply to router |
| Hotspot cannot be created: "Hotspot limitine ulaştınız" (hotspot limit reached; the server sends this message in Turkish) | Your package's hotspot limit is reached | Move to a package with a higher hotspot limit or contact support |
For an error code not listed here, see Troubleshooting and FAQ.
Security and privacy notes
- The passwords, keys and signed addresses in the setup script are yours alone. Do not share the script, and hide these values in screenshots.
- The guest login page runs on a domain separate from the panel, so the guest page cannot reach your panel session.
- Guests confirm the privacy notice and terms of use at login. Before going live, read Legal texts and guest consent.