← Tagnect AI guide · Markdown version
Installing Tagnect on a MikroTik router
Last verified: 2026-11-18 · Source: https://tagnect.com/ai/ · Tagnect LLC
Result: the router gets isolated networks for customers and staff (rotating passwords), a network for the venue's own devices (fixed password, off until the console turns it on), and the Tagnect agent. The venue's existing Wi-Fi stays as the administration network, which Tagnect does not manage. No computer is needed on site afterwards.
Requirements
- RouterOS 7.17 or newer with the
wifipackage (for example the hAP ax family). - The standard MikroTik default configuration: an interface list named
WANand a masquerade rule on the source NAT (the installer warns if it is missing). - The router can reach the internet.
- The owner is signed in to https://console.tagnect.com as the master manager, with a subscription or trial.
Steps
- In the console open MikroTik router.
- Decide whether to hide the router's current network (the owner's admin Wi-Fi). Default: hidden. Note that hiding an SSID is not real protection — use a strong password; the safest is to administer the router only by cable.
- Press Generate install command. The console shows one line containing the router's private credential (shown once).
- Open a terminal on the router (WinBox → New Terminal, or SSH), paste the line and press Enter.
- Wait up to 1 minute. The console shows MikroTik router online, with the agent version and the networks created.
- In the console open Rotation and bind each group to a network (the Default group → customers').
- Write the first tag (see
nfc-tags.md) and test with the Tagnect Wi-Fi app.
The installer is idempotent: running it again only completes what is missing.
What the line looks like (template)
Always copy the line the console shows; its version changes. Shape only:
:global TagnectToken "<TOKEN FROM THE CONSOLE>"; /tool fetch url="https://api.usetagnect.com/agent/mikrotik/tagnect-install-<VERSION>.rsc" dst-path=tagnect-install.rsc; /import tagnect-install.rsc
Optional settings (RouterOS globals defined before the import, normally already handled by the console): TagnectGroups (rotating networks, default clients and staff), TagnectAdminHidden (hide the owner's current SSID: true by default).
What the installer does
- Gives each Tagnect network its own bridge, sub-network, DHCP and DNS.
- Firewall: the Tagnect networks reach only the internet — not the owner's LAN, not the router, not each other; the customers' network also isolates customers from each other.
- Wi-Fi: one virtual interface per radio for each network, attached to its bridge.
- Own devices network: created off; the console turns it on when the fixed password is generated.
- Admin network = the owner's current network, which Tagnect does not manage (SSID hidden by default).
- Installs the agent and a one-minute watchdog (scheduler).
What to ask the user to show (screenshots)
- the console MikroTik router screen (status and networks);
- the terminal after pasting the line (the lines starting
Tagnect:); - System → Resources (RouterOS version) and System → Packages (is
wifiinstalled?).
The user must hide the credential in the line (TagnectToken) and any passwords before sharing. If it was exposed, generate a new command in the console.
Common messages
| Message | Meaning / what to do |
|---|---|
RouterOS x.y - atualize para 7.17 ou mais novo | Update RouterOS to 7.17 or newer. |
falta a lista de interfaces WAN | The router does not have the standard default configuration. Contact support. |
AVISO - nenhum radio wifi (pacote wifi-qcom?) | No Wi-Fi radio or the wrong Wi-Fi package. Check the model and the wifi package. |
defina :global TagnectToken | The line was cut or edited. Generate again and paste it whole. |
AVISO - nenhum masquerade em srcnat | Tagnect networks may have no internet; the router needs a masquerade rule. |
If it fails otherwise or the console never shows the router online, send support@tagnect.com the model, RouterOS version and the last lines of the output.