Prepare your MikroTik
Set up your MikroTik before adding it to RADTik: hotspot, API service, a login for the panel and the firewall.
RADTik talks to your router with the RouterOS API. Do these steps once on each router, in WinBox or the terminal.
1. Set up the hotspot
If the router has no hotspot yet, run the hotspot setup wizard (IP > Hotspot > Hotspot Setup in WinBox) on the interface or bridge your customers connect to. Note the DNS name you choose (for example hotspot.local): you will enter it as the router's Login Address in RADTik.
2. Enable the API service
/ip service enable api
For an encrypted connection use API-SSL (port 8729) instead. It needs a certificate on the router:
/certificate add name=api common-name=router
/certificate sign api
/ip service set api-ssl certificate=api disabled=no
3. Create a login for the panel
Create a separate user for RADTik with a strong password, so you can change or remove it at any time:
/user add name=radtik group=full password=A-LONG-RANDOM-PASSWORD
4. Let the panel reach the router
The panel must reach the router's API port (8728, or 8729) from the internet. If the router is behind NAT, forward that port to it. Allow only what you need in the firewall, and keep the API closed to everybody else.
Important: Never open WinBox or the API to the whole internet with the default
adminuser and no password. Use the separate user from step 3.
5. Allow QR code login (optional)
If you print vouchers with a QR code, allow HTTP PAP login on the hotspot server profile:
/ip hotspot profile set [find] login-by=http-chap,http-pap
That is all. You do not have to set up RADIUS on the router by hand: RADTik does it when you press Apply RADIUS Config (see Add a router).