MikroTik Management
Setup wizard, guest network, speed limits, VPN and advanced device settings
- MikroTik Management
- Overview
- My Devices and Logs
- Setup Wizard
- Guest Wi-Fi and Useroam Connection
- Speed Limits and IP Distribution
- Device (Advanced)
- VPN (WireGuard) Setup
MikroTik Management
What is it for?
MikroTik Management is the console that lets you see and manage a MikroTik device connected to Useroam from the panel, without opening Winbox or SSH. You set up the guest network, see who is online, block a device, set speed limits, give fixed IPs, add VPN users and watch the device's health.
How do I open this screen? With the MikroTik Management link in the panel's left menu, or the MikroTik Management button on Device Settings > Setup. The console is a separate full-screen page; press Back to device at the bottom left to return to the panel.
When do you use it?
- You connected your MikroTik device to Useroam for the first time and will set up the guest network.
- There is a problem on the guest network and you want to see who is online and whether logins reach Useroam.
- You want to block a disruptive device, give the till computer a fixed IP or limit the guest network's speed.
- You are opening a VPN account for staff who work remotely.
Before you start
- The device type in the panel must be MikroTik and the device must be connected to the panel. The console only opens for a device with connection details; otherwise the panel sends you back to Device Settings. The connection steps are in the MikroTik Integration Guide.
- The device must run RouterOS 7.1 or newer with the web service (www-ssl) enabled.
- The console shows the device currently selected in the panel. To switch to another device use Device Selection in the panel's top bar.
Step by step: opening the console and finding your way
Open the console. On Device Settings > Setup press MikroTik Management (or use the link in the left menu).
Get to know the left menu. On the left are your device's name and address, and below them the sections in three groups: STATUS (is everything fine), GUEST NETWORK (the guests' network) and DEVICE (ADVANCED) (settings you rarely touch). Pressing a section shows its title and a one-sentence description on the right. The language button at the top right switches the console between Turkish and English.
Read a list. Information is listed inside cards. Lists with five or more rows show a Search this list box and a record count (e.g. 6 records) on top; pressing a column title sorts the list by that column. The buttons at the end of a row are the pencil (Edit) and the bin (Delete). Records added by the Useroam setup carry a green Useroam badge. Records the device creates itself, or unused ones, are hidden, and a ... automatic or unused records hidden. Show link appears under the list.
Edit a record. Press the pencil; an edit form opens below the row. Change the value and press Save. To cancel, press the cross (Close).
Add a new record. Press Add new under the list; a form opens. Fill in the fields and press Add.
Undo the last change. After a change, a green Done. message and a Your last change: strip appear at the top. If you made a wrong change press Undo and confirm The last change will be undone. Continue?. When it works it reads The change has been undone. Undo only works for your last change, once, and for a short time (about 2 hours).
Menu sections
| Group | Section | What it shows | Can you make changes? | Described on |
|---|---|---|---|---|
| STATUS | Overview | Device health, device name, three quick actions, hardware | Yes | Overview |
| Logs | The device's event log | No | My Devices and Logs | |
| My Devices | Summary of all your MikroTik devices if you have more than one (not in the menu with a single device) | No | My Devices and Logs | |
| GUEST NETWORK | Setup | The wizard that sets up the guest network | Generates a code, does not write to the device | Setup Wizard |
| Guest Wi-Fi | Guests online, guest accounts, bindings, pre-login addresses | Yes | Guest Wi-Fi and Useroam Connection | |
| Useroam Connection | Whether logins reach Useroam (RADIUS) | Yes | ||
| Speed Limits | Speed limits per user or network | Yes | Speed Limits and IP Distribution | |
| IP Distribution | IP pools, DHCP servers, devices holding an IP | Yes | ||
| DEVICE (ADVANCED) | Ports | Ports and traffic, which port is the internet uplink and which is the guest network | Yes (enable/disable, note) | Device (Advanced) |
| IP and Routing | IP addresses, routing table, DNS | Yes | ||
| Firewall | Rules, forwarding (NAT), address lists | Yes | ||
| VPN | WireGuard setup, VPN users, PPP and IPsec | Yes | ||
| Device Accounts | The device's management accounts | No | ||
| Backup | Configuration backup | No (panel download unavailable) |
The VPN setup is described step by step on its own page: VPN (WireGuard) Setup.
Items you may see in every section
| Item | Meaning |
|---|---|
| Yellow strip: Changes made on this screen are applied to the device immediately and cannot be undone. If you are unsure, do not change anything. | Always shown in sections where changes are possible. Save, Add and Delete write to the device immediately. |
| Badge: field names being verified | Shown next to the title (Logs, Backup). Information in this section is shown as it comes from the device, with English column names. |
| Lock box: Editing is not enabled yet in this section... | If editing is not enabled in a section, its forms are faded and cannot be pressed. Information is read-only. |
| Useroam badge | Hovering shows This record belongs to the Useroam setup. Think twice before deleting it. The record belongs to the Useroam setup (5651 logging, management port block, pre-login access and so on). It can be deleted, but you are asked first: WARNING: This record was created by Useroam. Deleting it may break guest Wi-Fi login, 5651 logging or your security settings. Delete anyway? |
| automatic badge (locked) | The device creates and manages this record itself; it cannot be edited manually. No Edit or Delete buttons. |
| Delete confirmation: Are you sure you want to delete this record? This cannot be undone. | Shown when deleting a normal record. |
| Status badges | running / down (is the port or service running), enabled / disabled (is the record in use), yes / no. |
| Durations | Written as d, h, min (e.g. 12d 4h). |
| Empty list | No records., No data. or a sentence specific to the section. If a search finds nothing: No records match your search. |
| Applying... | After you press a button, a spinning icon with this text appears on it, a thin moving line appears at the top of the screen and the other buttons cannot be pressed for a moment. Wait until the device answers. |
Error messages
| Message | Meaning | What to do |
|---|---|---|
| Cannot reach the device. It must run RouterOS 7.1 or newer and have the web service (www-ssl) enabled. | The panel cannot connect to the device. It may be off, offline or its connection settings may be broken. | Check the device is on and online. If it continues, generate a new connection code on Device Settings > Setup. |
| The username or password was rejected. Please update the connection settings. | The useroam-api user on the device was deleted or its password changed. | Generate a new connection code and paste it into the device again. |
| No connection details have been entered for this device. Set up the connection from the device page first. | The connection was never set up. | Follow the MikroTik Integration Guide. |
| The security certificate of the device has changed. The connection was stopped for safety. | The device's HTTPS certificate changed (the device was reset or another device is in between). | If you changed the device, generate a new connection code. If not, contact support. |
| You are not authorised for this device. | Your user has no access to this device. | Ask your account administrator for access. |
| This action is not supported on this device. | The action is not available on this device or in this section. | Do it from the device's own interface. |
| The device returned an unexpected response. / The operation could not be completed. | The device did not accept the request (for example a wrong value). | Check the values and try again. |
| Editing is not enabled yet in this section (waiting for lab verification). | Editing has not been enabled in that section. | Make the change from the device's own interface. |
| Session verification failed. Please refresh the page and try again. | The page was open for too long. | Reload the page. |
| Unknown operation. | An unrecognised request was sent. | Reload the page. |
Frequently asked questions
MikroTik Management does not appear in the menu.
The selected device is not a MikroTik or it is not connected to the panel. Choose your MikroTik device in Device Selection; if it is not connected, follow the integration guide.
I made a change by mistake.
Press Undo in the strip at the top right away. Undo only works for the last change.
Is the information in the console old?
No; each section reads the device at the moment it opens. Reload the page to refresh.
Does the console work on a phone?
Yes. On narrow screens the left menu is hidden and opens with the menu icon at the top. The same bar holds the language, device selection, profile and log out icons.
Related pages
Overview
What is it for?
Overview is the console's start screen. Below the title it reads Device health: model, software version, how long it has been running and its current load. It tells you at a glance whether the device is working well, and lets you do the three most common jobs (blocking a guest, giving a fixed IP, setting a speed limit) with a single form, without opening a list.
How do I open this screen? In the MikroTik Management console, from the left menu: STATUS > Overview. The console always opens on this screen.
When do you use it?
- Guests say "the internet is slow" and you want to see the device's load.
- You want to block a disruptive device on the guest network immediately.
- You want a device such as the till computer, cash register or a camera to keep the same address.
- You want to limit the total speed of the guest network or the speed of one device.
Before you start
- The device must be connected to the panel (see the MikroTik Integration Guide).
- You can take the MAC address of a device to block from the Guests Online Now list in Guest Wi-Fi, and the MAC address of a device that needs a fixed IP from IP Distribution > Connected Devices.
Step by step
Check the health. The Status Summary card at the top reads Everything looks fine. in green if there is no problem. The Device Health card below shows Model, RouterOS version, Architecture, Uptime, CPU load, CPU cores, Free memory, Total memory, Free disk and Total disk.
Read any warnings. If a problem is found, the Status Summary card shows yellow warnings instead of the green line (table below). Each warning says what is happening and when it is normal.
Rename the device (optional). In the Device Name card type the new name in Device name and press Save. This is the device's own name (as shown in Winbox); the device name in the panel is changed in Device Settings.
Block a guest. In the Block a guest card enter the device's MAC address in MAC address (e.g. 88:DC:96:50:49:81). Type is fixed to blocked. Write why you block it in Note and press Add. The device can no longer join the guest network. To lift the block, delete the entry from Guest Wi-Fi > IP and MAC Bindings.
The card says: Remove a disruptive device from the network. You can copy the MAC address from the connected-guest list in the Guest Wi-Fi section.
Give a device a fixed IP. In the Give a device a fixed IP card enter the address in IP address (e.g. 192.168.88.20), the device's MAC in MAC address and its name in Note, then press Add. The device gets this address the next time it connects.
The card says: Use this for devices that must always keep the same address, such as a POS computer, cash register or camera.
Set a speed limit. In the Set a speed limit card enter a name in Name, a single device's address or the whole guest network (e.g. 10.99.1.0/24) in Target (IP or network), the limit in Speed limit (download/upload) (e.g. 10M/2M: 10 Mbit download, 2 Mbit upload) and press Add. If the target is the guest network, the limit applies to all guests together. The limits you add are listed in Speed Limits.
The card says: Limit the speed of a single device or of the whole guest network. If you enter the guest network as the target, the limit applies to everyone.
Check the hardware. The Hardware and Firmware card at the bottom shows Hardware model, Serial number, Installed firmware and Upgrade available. If installed and available versions differ, the firmware can be updated. On a virtual device it reads This is not a RouterBOARD device (it may be virtual).
Status Summary warnings
| Warning | When it appears | What to do |
|---|---|---|
| The device disk is nearly full (... free). Unless old backup and log files are removed, a software upgrade may fail. | Free disk drops below 15 percent. | Delete old backup and log files from the device's Files section. |
| CPU load is high (...). The device may be slowing down. | CPU load is 80 percent or more. | Wait if it is short. If it lasts, consider speed limits or contact support. |
| Free memory is low (...). | Free memory drops below 15 percent. | Restart the device at a suitable time; contact support if it continues. |
| The device restarted recently (... ago). This is normal after a power cut. | The device started within the last 30 minutes. | If there was no power cut or planned restart, check the device's power supply. |
Fields and buttons
| Card / field | What it does | Example |
|---|---|---|
| Device name + Save | Changes the device's own name. | Kafe-Merkez |
| MAC address (Block a guest) | The device to block. | 88:DC:96:50:49:81 |
| Type | Always blocked for a block. | blocked |
| Note | Why the entry was added; shown in the list. | Disruptive device |
| IP address (Give a device a fixed IP) | The address the device will always get. Must be from the network the device is on. | 192.168.88.20 |
| Name (Set a speed limit) | The limit's name. | Guests-Total |
| Target (IP or network) | The device or network the limit applies to. | 10.99.1.0/24 |
| Speed limit (download/upload) | Download and upload limit; M = Mbit, k = kbit. | 10M/2M |
| Add | Writes the entry to the device immediately. |
Frequently asked questions
I pressed Add and nothing changed.
Read the message at the top of the screen. If it says Done., the entry was written to the device; you can check it in the related list (IP and MAC Bindings, Connected Devices, Simple Queues). If it shows an error, check the values.
The device I blocked still appears connected.
The block was written to the device; whether the guest's already open session closes immediately has not been verified by Useroam. The list is read from the device again on every reload. If the guest is still shown, close the session from the device's own interface (Winbox, IP > Hotspot > Active).
Why does the CPU load keep changing?
It is the current load; every reload reads the value at that moment.
Related pages
- MikroTik Management (common buttons and error messages)
- Guest Wi-Fi and Useroam Connection
- Speed Limits and IP Distribution
My Devices and Logs
What is it for?
This page describes the two screens in the console's STATUS group:
- My Devices: a single overview of every MikroTik device assigned to you (A single overview of every MikroTik device assigned to you.). You see at a glance which device is online, which cannot be reached and which was never connected.
- Logs: the device's own event log (The event log of the device. This is where you look when investigating a problem.).
When do you use it?
- You have several branches and want to see which device is not working (My Devices).
- A guest says "I cannot log in" and you want to see what happened on the device (Logs).
- Support asked you for the device's recent events (Logs).
Before you start
- My Devices only appears in the menu when your account has more than one MikroTik device. With a single device this section is not in the menu.
- Both screens only show information; nothing on the device is changed here.
Step by step
Open My Devices. In the left menu press STATUS > My Devices. In the Your MikroTik Devices card (every MikroTik device assigned to you) each device is one row. Columns: Device, Address, Status, RouterOS, Uptime and CPU. The row of the device open in the console has a grey background and you are on this device next to it.
The three devices in the image are samples; the screen only appears for accounts with several devices, so it was prepared with sample data.
Read the Status column. online (green): the panel reaches the device. unreachable (red): the connection is set up but the device is not answering right now. not connected (grey): no connection details have been entered for this device yet. Below the list it reads Devices marked not connected have no connection details yet; you can set them up from the device page. To open another device's console, choose it on the panel's Device Selection screen; this screen has no switch link.
Open Logs. In the left menu press STATUS > Logs. The Recent Events card lists the device's events as they come from the device: time (time), topic (topics, e.g. hotspot,account,info) and message (message). The field names being verified badge next to the title means the columns are shown with the device's own English names. In a long list use the Search this list box (e.g. the last digits of a phone number, or logged in).
The log lines in the image are samples.
Items on the screen
| Item | Meaning |
|---|---|
| Device | The device's name in the panel. |
| Address | The device's public address saved in the panel. |
| Status | online, unreachable or not connected. |
| RouterOS | The device's software version (online devices only). |
| Uptime | How long the device has been running. |
| CPU | Current CPU load (e.g. %7). |
| No MikroTik devices found. | No MikroTik device is assigned to you. |
| No records. (Logs) | The device returned no log entries. |
Frequently asked questions
My Devices is not in the menu.
Your account has one MikroTik device; this screen only appears with several devices.
A device shows "unreachable".
Check the device's power and internet. If it continues, select it in Device Selection and generate a new connection code on Device Settings > Setup.
Do these logs replace the 5651 logs?
No. This list is the recent events held in the device's memory. Legal 5651 records are signed and stored, and shown on the 5651 Logs screen.
Related pages
Setup Wizard
What is it for?
The Setup section (Setup Wizard) generates the configuration that sets up the guest network, guest login (hotspot), the Useroam connection (RADIUS) and 5651 logging on your MikroTik device, made for your device. It does not use a fixed template: it reads your device first, asks which port should carry the guest network, shows you the full script it generated and only after you approve it gives you the single line to paste into the device.
How do I open this screen? With the Open the setup screen button on Device Settings > Setup, or in the MikroTik Management console from the left menu: GUEST NETWORK > Setup.
When do you use it?
- You connected the device to the panel (Connected.) and are setting up guest Wi-Fi for the first time.
- You want to move the guest network to another port or bridge.
- You stopped halfway or the code expired and you want to generate it again.
Before you start
- The device must be connected to the panel. If it is not, first do steps 1-6 of the MikroTik Integration Guide. Without a connection the lists on this screen are empty and Cannot reach the device... warnings appear. If the panel cannot reach the router, or you do not want to expose it to the internet, use the offline setup instead of this wizard.
- Decide which port the guest network will use. You will pick the port your guest access point (AP) is plugged into, or the bridge that port belongs to.
- On RouterOS 7.23.3 and above you must have enabled device mode beforehand (the yellow box in step 3). Otherwise the device rejects the hotspot setup.
- You need to be able to connect to the device with Winbox or SSH and open a terminal.
Wizard steps
Three steps are shown at the top of the screen: 1. Choose, 2. Review script, 3. Code. The current step has a blue badge, finished steps green and upcoming steps grey. The wizard itself writes nothing to the device; the settings are only applied when you paste the line from step 3 into the device terminal.
Step by step
Open the Setup section. In the console's left menu press Setup under GUEST NETWORK. Below the title it reads Builds the guest network, hotspot, RADIUS and 5651 logging setup from the configuration read off the device. Your existing settings are preserved.
Right below the step badges there is a Device closed to the internet? Offline setup button. If your router cannot be reached from outside, or you do not want to expose it, press this button: the panel does not read the router and asks you for the names of the guest interface and the internet uplink. Details: Setting up MikroTik without exposing it to the internet (offline).
Check the device state. The Current State of the Device card shows five things read from the device: Internet uplink (WAN) (the port the device uses to reach the internet, e.g. ether1; ? if it cannot be read), Hotspot server, DHCP server, RADIUS entry and NAT for internet access. Each line reads Present or Missing. On a first setup most are Missing; after setup you can come back to this card and check they are all Present.
Choose the guest network port. In the Setup Wizard card open the Which interface will carry the guest network list. The list is read from the device; each line shows the port name, type and address if any (e.g. bridge-misafir (bridge · 10.99.1.1/24)). Ports that belong to a bridge are grey and cannot be selected, with member of: ... next to them; pick the bridge itself instead. Ports without a cable show down.
The Guest gateway address field fills in automatically with the selected port's address if it has one (otherwise 10.99.1.1/24 is suggested). If you change it, the address on the device is updated. The IP range handed out to guests is derived from this network (.10 to .254 on a /24 network). Portal domain name is the name guests see in the browser address bar; the default is hotspot.useroam.local. Do not register it in public DNS.
The hints under the fields read: These interfaces were read from the device. Ports that belong to a bridge cannot be selected; pick the bridge itself instead. · If the selected interface already has an address it appears here and is kept. If you change it, the address on the device is updated. The DHCP range is derived from this network. · The name guests will see in the browser address bar. Do not register it in public DNS.
Check the security steps and press Next. Security and compliance steps has four boxes (explained in the table below). The first is mandatory and cannot be unticked; the other three come ticked and we recommend leaving them ticked. Press Next. This button writes nothing to the device; it generates the script and prepares a setup code valid for 60 minutes. Any earlier unused setup codes for this device become invalid.
Read and approve the script. The Script That Will Run on the Device card opens. The yellow warning at the top reads This script changes the device configuration. Its first action is to back up the current settings; the backup file name is written inside the script. Read the script before applying it. What the script does is explained in plain words in the "What does the script do?" table below. After reading, tick I have read the script and approve running it on this device.; only then can you press I approve, show the code. Press Go back to cancel.
Copy the line. The Setup Code card reads Script approved. Paste the line below into the device terminal. Below it are the device mode warning (for 7.23.3 and above) and the Single line to paste into the device terminal box. Press Copy (the button briefly shows Copied). Apply it before the time shown in Code valid until. To generate it again, press Start over.
Paste the line into the device terminal. Connect to the device with Winbox or SSH, open a New Terminal, paste the line and press Enter. The script runs step by step and prints a line starting with Useroam: ... for each step. At the end it prints a result line from the panel and Test: connect a device to ... and open any web page - the Useroam portal should appear.
The image is a sample terminal output; the lines are the script's own messages (some are in Turkish without special characters).
Check the result. Open the Setup section in the console again: the lines in Current State of the Device should read Present. The Useroam Connection section should read The Useroam connection appears to be in place. Finally connect a phone to the guest network and open a web page; the Useroam welcome page should appear.
Fields and buttons on the screen
| Field / button | What it does | Example |
|---|---|---|
| Which interface will carry the guest network | The port or bridge for the guest network. Only interfaces read from the device can be chosen; bridge member ports cannot. | bridge-misafir |
| Guest gateway address | The guest network address on the device, with its size. A network (.0) or broadcast address is not accepted. | 10.99.1.1/24 |
| Portal domain name | The name guests see in the address bar. Letters, digits, dot, hyphen and underscore only; an invalid name falls back to hotspot.useroam.local. | hotspot.useroam.local |
| 5651 logging: forward records to the Useroam server (mandatory) | Sends hotspot, DHCP and connection records to Useroam for signing. Cannot be unticked. | ticked |
| Force DNS, block DoH, DoT and QUIC (prevents logging from being bypassed) | Forces guest DNS queries through the device; blocks encrypted DNS (DoT) and QUIC. | ticked |
| Block device management ports from the guest network | Stops guests reaching the device's SSH, Telnet, Winbox and API ports (80 and 443 stay open for the welcome page). | ticked |
| Isolate the guest network from internal networks | Stops guests reaching internal networks such as office, till or cameras. Guests cannot reach each other either. | ticked |
| Device closed to the internet? Offline setup | Opens the offline wizard, which works without connecting to the router: you type the two interface names, the following steps are the same as on this page. | |
| Next | Generates the script and moves to step 2. Writes nothing to the device. | |
| I approve, show the code | Shows the code when the approval box is ticked. | |
| Go back / Start over | Returns to step 1. | |
| Copy | Copies the line to the clipboard. |
What does the script do?
The script itself is written without special characters (the RouterOS terminal does not show them reliably). In order:
| Part | What it does | Your existing settings |
|---|---|---|
| Backup | Writes the current configuration to useroam-oncesi-<date-time>.rsc. | Unchanged. |
| 1. Guest network address | Adds the gateway address to the chosen port. | If the port already has an address it is changed. |
| 2. DHCP | Sets up the useroam-pool pool and useroam-dhcp server (1 hour lease). | An existing DHCP server on the port is kept. |
| 2b. Old entry cleanup | Removes DHCP option 114 (captive portal announcement) entries left from older Useroam setups. | Only Useroam's own entries are removed. |
| 3. DNS | Lets the device answer DNS for guests; adds 8.8.8.8 and 1.1.1.1 if no server is set; blocks DNS queries coming from the internet. | Your DNS servers are kept. |
| 4. Internet access (NAT) | Creates an interface list named WAN and adds a NAT rule for the guest network. Works with several internet lines. | An old Useroam NAT rule is replaced. |
| 5. RADIUS | Adds the Useroam RADIUS server (panel.useroam.com first, the IP if the name is not accepted). | An old Useroam RADIUS entry is removed and added again; other RADIUS entries are not touched. |
| 6. Hotspot | Sets up the useroam-profile profile and useroam-hotspot server (RADIUS on, 30 minute idle timeout). | An existing hotspot on the port is attached to the Useroam profile. |
| 7. Welcome pages | Downloads the Useroam welcome pages into the device's hotspot folder. | Files with the same names are overwritten. |
| 8. Pre-login access | Adds the addresses guests need before logging in (Useroam, WhatsApp, Facebook, Google and Apple sign-in). The phones' "is there internet" check addresses are deliberately left out; if allowed, the login screen does not open. | Old Useroam entries are renewed. |
| 9. 5651 logging | Sets up syslog forwarding to Useroam and a rule that logs every new guest connection (useroam-5651-log), moved to the top of the list. | Does not block traffic. |
| 10. DNS bypass block | (If ticked) redirects DNS to the device, blocks DoT and QUIC. | |
| 11. Management ports | (If ticked) blocks guest access to the device's management ports. | |
| 12. Isolation | (If ticked) blocks guest access to 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16. | |
| Done | Tells the panel the setup is complete and prints the test instruction. |
If a part fails, the script prints USEROAM WARNING: ... step failed, continuing. and carries on. If you see such a line, check that section in the console or contact support.
Warnings and error messages
| Message | When it appears | What to do |
|---|---|---|
| The selected interface was not found on the device. Refresh the page and try again. | The chosen port changed or was removed on the device meanwhile. | Reload the page and choose again. |
| The gateway address is invalid. Example: 10.99.1.1/24 | The address is incomplete, or a network or broadcast address. | Enter an address with its size as in the example. |
| The setup code could not be saved. | A temporary problem on the panel side. | Press Next again; contact support if it continues. |
| The setup code was not found or has expired. Please start over. | You waited more than 60 minutes at step 2, or generated a newer code meanwhile. | Generate a new code with Start over. |
| Session verification failed. Please refresh the page and try again. | The page was open for a long time or the session was renewed in another tab. | Reload the page. |
| Cannot reach the device. It must run RouterOS 7.1 or newer and have the web service (www-ssl) enabled. | The panel cannot read the device; the list is empty. | Check the connection status on Device Settings > Setup. |
What if I want to go back?
The comment at the top of the script contains a rollback command: /system reset-configuration run-after-reset=useroam-oncesi-<date-time>.rsc. This command resets the device and loads the backup file again; remote access to the device may be lost meanwhile. This rollback has not been tested by Useroam. Only use it when you are at the device and sure; otherwise contact support. To undo a single change, the Undo button in the console is a safer way (MikroTik Management).
Frequently asked questions
The list is empty, no ports are shown.
The panel cannot read the device. Check that the card on Device Settings > Setup reads Connected.
The port I want is grey and cannot be selected.
The port belongs to a bridge. Choose the bridge itself; the guest network then works on every port of the bridge.
After setup the login page does not open on the guest's phone.
First check the Useroam Connection section. If it looks fine, disconnect the phone from Wi-Fi, reconnect and open an address starting with http in the browser. On RouterOS 7.23.3 and above, if device mode was not enabled the hotspot may not have been set up at all.
What happens if I run the wizard a second time?
The script finds and updates Useroam's own entries; it does not add the same entries twice. A new backup is still taken on every run.
The code expired.
Press Start over and generate it again with the same choices.
Related pages
Guest Wi-Fi and Useroam Connection
What is it for?
This page describes the two screens in the console's GUEST NETWORK group:
- Guest Wi-Fi: The Wi-Fi network guests connect to: who is online, which accounts exist and which addresses are open.
- Useroam Connection: Check here whether guest Wi-Fi logins are reaching Useroam records. This is the most important Useroam check; if guest logins do not reach Useroam, 5651 records and guest lists stay incomplete.
When do you use it?
- You want to see how many guests are online right now and how much data they use.
- You want a device such as a menu tablet or payment terminal to reach the internet without logging in.
- You want to add a site guests can open before logging in (a payment page, your company site).
- Guests log in but do not appear in the panel; you will check the Useroam connection.
Before you start
- The device must be connected to the panel and the guest network set up. If it is not, the screen reads No guest Wi-Fi (hotspot) is configured on this device.; run the Setup Wizard first.
- Changes on these two screens are written to the device immediately.
Step by step: Guest Wi-Fi
Open the section and see who is online. In the left menu press GUEST NETWORK > Guest Wi-Fi. The Guest Wi-Fi Servers card shows which port the guest network runs on (Interface), with which IP pool and Profile, and its Status. The Guests Online Now card lists each guest's User (the phone number or username used to log in), IP address, MAC address, Connected for, Downloaded, Uploaded and Server. With nobody online it reads No guests are connected right now.
(Optional) Add a guest account. The Guest Accounts card lists accounts stored on the device itself (Username, Profile, Server, Downloaded, Status). Guests who log in through Useroam do not appear here; Useroam keeps them. To create a local account on the device enter Username (e.g. guest01), Password and optionally Profile (optional), then press Add. With no accounts it reads No guest accounts defined.
Let a device through without login, or block it. The IP and MAC Bindings card lists devices with special treatment (IP address, MAC address, Type, Note). The text below reads Type: bypassed = passes without login, blocked = denied, regular = normal login required. In the list the types appear as passes without login, blocked and normal login. For a new entry enter the IP address or MAC address, type bypassed, blocked or regular in Type, add a Note and press Add. To remove an entry press the bin on its row. With no entries it reads No bindings defined.
Add an address open before login. The Addresses Open Before Login card lists what guests can open before logging in (Address, Action: allowed or denied, Note, Status). The text reads Sites a guest can open before logging in (e.g. a payment page or your company site). Enter the domain in Address (e.g. payment.example-business.com), a description in Note and press Add. Do not delete the Useroam addresses added by the setup; otherwise the welcome page may not open. With no entries it reads No addresses defined.
Check the server profiles. The Server Profiles card shows each profile's Name, Hotspot address, DNS name, Login method and Use RADIUS. The profile used with Useroam must have Use RADIUS set to yes. If none are found it reads No profiles found.
Step by step: Useroam Connection
Open the section and read the result at the top. In the left menu press GUEST NETWORK > Useroam Connection. The top card checks two things on the device: is there an active RADIUS server for hotspot, and is Use RADIUS on in the guest Wi-Fi profile. On a correctly set up device it reads, in green, The Useroam connection appears to be in place with RADIUS is enabled on the guest Wi-Fi profile and a RADIUS server is defined for hotspot. below.
If the result is yellow or grey, see what to do. The five possible results and what to do are in the table below. The quickest fix is usually to run the Setup Wizard again.
(If needed) Add the RADIUS server by hand. The RADIUS Servers card lists the defined servers (Address, Used for, Auth port, Accounting port, Timeout, Status). Below it reads The shared secret is never displayed, for security reasons. To add one by hand, enter panel.useroam.com in Server address, the Device Password from the panel's Device Settings > General tab in Shared secret and hotspot in Service, then press Add server. We recommend using the Setup Wizard instead; it writes the correct settings itself. With no servers it reads No RADIUS servers defined.
Check the profiles. The Guest Wi-Fi Profiles card shows Profile, Hotspot address, Login method and Use RADIUS. The profile used by the guest network must have Use RADIUS set to yes.
Useroam Connection results
| Result | Explanation (on screen) | What to do |
|---|---|---|
| The Useroam connection appears to be in place (green) | RADIUS is enabled on the guest Wi-Fi profile and a RADIUS server is defined for hotspot. | Nothing. If logins still do not appear in the panel, contact support. |
| A RADIUS server exists but guest Wi-Fi is not using it (yellow) | Use RADIUS is turned off on the hotspot profiles. As it stands, guest logins will not reach Useroam records. | Run the Setup Wizard again. |
| Guest Wi-Fi expects RADIUS but no server is defined (yellow) | Use RADIUS is enabled on the profile, but no active RADIUS server was found for the hotspot service. | Run the Setup Wizard again or add the server by hand. |
| The Useroam connection is not set up (grey) | This device has no RADIUS definition for hotspot. Guest logins will not reach Useroam records. | Run the Setup Wizard. |
| Status could not be read (grey) | The Useroam connection could not be checked because the device is unreachable. | Check the device connection (error table on MikroTik Management). |
This check only looks at the device settings; it does not guarantee that the server address is right or the secret matches. For a definite answer, connect a phone to the guest network, log in and check that the guest appears in the panel.
Frequently asked questions
A guest logged in but is not in the Guests Online Now list.
Reload the page; the list is read when it opens. If still missing, check the Useroam Connection screen.
We do not want our menu tablet to log in every day.
Add the tablet's MAC address to IP and MAC Bindings with type bypassed. This device never logs in to Useroam, so it does not appear in guest lists.
The welcome page does not open; I deleted the Useroam addresses.
Run the Setup Wizard again; it adds the Useroam addresses back.
I cannot see the shared secret.
For security the console never shows it. The correct secret is on the panel's Device Settings > General tab.
Related pages
- Setup Wizard
- Overview (block a guest)
- Active Guests
Speed Limits and IP Distribution
What is it for?
This page describes two screens in the console's GUEST NETWORK group:
- Speed Limits: Download and upload limits per user or per network. You share your internet line fairly between guests and the business.
- IP Distribution: The device hands out IP addresses automatically to computers and phones on the network. See who received which address here.
When do you use it?
- Guests use the whole internet line and the till and office slow down.
- You want a separate speed limit for one device, such as a meeting room.
- The guest network is running out of IP addresses, or a device cannot get an IP.
- You want to find which IP a device received and give it a fixed IP.
Before you start
- The device must be connected to the panel.
- Speeds are entered as download/upload; M means Mbit and k kbit (e.g. 10M/2M). The list shows 10 Mbit / 2 Mbit.
- Changes are written to the device immediately. You can undo a wrong change with Undo in the strip at the top.
Step by step: Speed Limits
Open the section and check the list. In the left menu press GUEST NETWORK > Speed Limits. The Simple Queues card shows each limit's Name, Target, Speed limit, Status and Note; with none it reads No speed limits defined. Limits created by the device itself are hidden below the list; the ... automatic or unused records hidden. Show link opens them, and they are locked with the automatic badge. The Queue Trees card shows advanced queues as they come from the device; with none it reads No queue tree entries.
Add a new limit. Press Add new under the Simple Queues card. Enter Name (e.g. Meeting-Room), Target (IP or network) (e.g. 192.168.88.40/32 for one device, 10.99.1.0/24 for the whole guest network), Speed limit (download/upload) (e.g. 20M/5M) and optionally Note, then press Add. You can do the same with the Set a speed limit card on Overview.
Change or disable a limit. Press the pencil on the row and change the values in the form. To switch a limit off without deleting it, set Disabled to yes. Press Save. Press the bin to delete. In the edit form the speed appears in the device's own format, in bits (e.g. 50000000/10000000 = 50 Mbit / 10 Mbit); you can type the new value as 50M/10M.
Step by step: IP Distribution
Check the IP pools. In the left menu press GUEST NETWORK > IP Distribution. The IP Pools card shows the address ranges handed out (Name, IP range, Note). The guest pool created by the setup is useroam-pool. For a new pool enter Pool name, IP range (e.g. 10.99.1.10-10.99.1.200) and Note in Add new and press Add. With no pools it reads No IP pool defined.
Check the DHCP servers. The DHCP Servers card shows each server's Name, Interface, Pool, Lease time and Status. With the pencil you can change Name, Interface, Pool, Lease time (e.g. 1h) and Disabled. With no servers it reads No IP distribution is configured on this device.
See devices holding an IP. The Connected Devices card shows IP address, MAC address, Device name, Status (IP assigned, waiting, offered), Expires in and Note. Automatically assigned addresses are hidden and open with ... automatic or unused records hidden. Show. Manually added (fixed) addresses appear on top. To give a device a fixed IP enter IP address, MAC address and Note in Add new and press Add. If no device holds an IP it reads No device currently holds an IP address.
Fields
| Field | What it does | Example |
|---|---|---|
| Name | The record's name. | Guests-Total |
| Target (IP or network) / Target | The device or network the limit applies to. | 10.99.1.0/24 |
| Speed limit (download/upload) / Speed limit | Download and upload maximum. | 50M/10M |
| Pool name, IP range | Name and range of the addresses to hand out. | 10.99.1.10-10.99.1.200 |
| Interface | The port or bridge the DHCP server runs on. | bridge-misafir |
| Pool | The IP pool the server uses. | useroam-pool |
| Lease time | How long a handed-out address stays valid (h hour, d day). | 1h |
| Disabled | With yes the record is switched off without deleting it. | no |
| IP address, MAC address | The device's address and MAC for a fixed IP entry. | 192.168.88.20 |
| Note | Description. | Till |
Frequently asked questions
I want to give all guests 50 Mbit in total.
Enter the guest network as the target (e.g. 10.99.1.0/24) and 50M/10M as the speed limit.
There are limits with the automatic badge that I cannot change.
The device creates and manages these records itself; they cannot be edited manually. Manage guest group settings on the panel's Groups screen.
I gave a fixed IP but the device still uses its old address.
The device takes the address at its next renewal. Switch its Wi-Fi off and on, or unplug and replug its cable.
Can I delete the guest pool?
Do not; guests would get no IP. Use the pencil to change the range.
Related pages
- Overview (quick actions)
- MikroTik Management (common buttons)
- Device (Advanced)
Device (Advanced)
What is it for?
This page describes the six sections of the console's DEVICE (ADVANCED) group: Ports, IP and Routing, Firewall, VPN, Device Accounts and Backup. These sections touch the device's core network settings. They are not needed for daily operation; use them when troubleshooting, checking a setup or following instructions from technical support.
Careful: a change in these sections can cut the device's internet or the panel's access to the device. If you are unsure, do not change anything; the screen says the same: Changes made on this screen are applied to the device immediately and cannot be undone. If you are unsure, do not change anything.
When do you use it?
- You want to see which port goes to the internet and which to the guest network.
- You will check the device's IP addresses, its route to the internet or its DNS settings.
- You want to confirm the Useroam firewall rules are in place or add a rule.
- You will set up VPN for remote access (separate page: VPN (WireGuard) Setup).
Before you start
- The device must be connected to the panel.
- Note what you do before a change. You can undo the last change with Undo in the strip at the top (MikroTik Management).
- Do not delete records with the Useroam badge; guest login, 5651 logging or panel access will break.
Step by step
Ports. In the left menu press DEVICE (ADVANCED) > Ports (The ports and wireless interfaces of the device: which are up and how much data passed through.). The This Device's Connections card at the top answers two questions: which port is the Internet uplink and which is the Guest network; if not found it reads could not be determined. The Ports and Traffic card shows each port's Name, Type, Status (running / down), Admin state (enabled / disabled), Received, Sent, MAC address and Note. Ports without a cable are hidden. With the pencil only Disabled and Note can be changed. Do not disable the internet port; the device would lose the panel. With no ports it reads No interfaces found.
IP and Routing: IP addresses. Press IP and Routing (The IP addresses of the device, its route to the internet and DNS settings.). The IP Addresses card shows Address, Network, Interface, Status and Note. Adding and editing use the Address (e.g. 10.99.1.1/24), Interface, Disabled and Note fields. With no addresses it reads No IP addresses defined.
IP and Routing: routing table. The Routing Table card shows Destination network, Gateway, Priority, Status (yes = in use now) and Note. The row with destination 0.0.0.0/0 is the device's route to the internet. Routes the device creates itself are hidden and locked. A new route takes Destination network, Gateway and Note. With no routes it reads No routes.
IP and Routing: DNS. The DNS Settings card has DNS servers (comma separated, e.g. 1.1.1.1,8.8.8.8) and Allow remote requests (yes / no); Save writes them. For the guest network Allow remote requests must be yes; if you turn it off guests cannot open web pages.
Firewall: rules. Press Firewall (Which rules the device uses to pass or block traffic. Automatic rules cannot be edited; rules labelled Useroam are required for guest Wi-Fi and 5651 logging.). The Rules card shows Chain, Action, Source address, Destination address, Protocol, Destination port, Status and Note. The add form has Chain (forward, input, output), Action (accept, drop, reject, log), Source address, Destination address, Protocol (empty, tcp, udp, icmp), Destination port and Note; editing also has Disabled. New rules are added to the end of the list. With no rules it reads No rules.
Firewall: forwarding (NAT). The Forwarding (NAT) card shows the same columns. In the add form Chain is srcnat or dstnat, and Action is masquerade, src-nat, dst-nat, redirect or accept. Guests reach the internet through the useroam-masq rule; do not delete it. With no rules it reads No NAT rules.
Firewall: address lists. The Address Lists card shows List, Address, Timeout, Dynamic and Note. To add, enter List name, Address and Note. With no lists it reads No address lists.
VPN. Press VPN (Secure remote access settings (WireGuard, IPsec, PPP accounts).). The VPN Setup card at the top sets up WireGuard with one button and adds people. Below it are the WireGuard Interfaces, WireGuard Peers, PPP Accounts and IPsec Peers lists. Step by step: VPN (WireGuard) Setup.
Device Accounts. Press Device Accounts (The management accounts of the device itself. For guest Wi-Fi users see the Guest Wi-Fi section.). At the top it reads Device users cannot be changed here: Useroam's API account on the device does not hold user-management rights. This is a deliberate security boundary. The Management Accounts card shows Username, Permission group, Status and Note; the Permission Groups card shows the groups' rights as they come from the device. You will see the useroam-api account in the list; the panel uses it to connect, do not delete it. If they cannot be read it shows Accounts could not be read. or No groups.
Backup. Press Backup (A backup of the device configuration. Taking one before a change lets you roll back.). The Configuration Backup card reads Downloading the configuration backup from the panel is not possible right now: the Useroam API account on the device does not hold file-creation rights (restricted for security). You can take the backup from the device's own Files section. The Panel download unavailable button cannot be pressed. Take the backup in Winbox under Files, or with
/export file=backupin the terminal. The Setup Wizard also takes its own useroam-oncesi-...rsc backup before every setup.
What are the Useroam-badged records for?
| Note (comment) | Where | Purpose |
|---|---|---|
| useroam-api-allow | Firewall, Rules | Lets the panel connect to the device. If deleted the console stops working. |
| useroam-5651-log | Firewall, Rules | Logs every new guest connection for 5651. |
| useroam-mgmt-drop | Firewall, Rules | Blocks guest access to the device's management ports. |
| useroam-izole | Firewall, Rules | Separates guests from internal networks. |
| useroam-dns-wan-drop, useroam-dot-tcp, useroam-dot-udp, useroam-quic | Firewall, Rules | Stops outside use of the DNS service and blocks encrypted DNS and QUIC that bypass logging. |
| useroam-masq, useroam-dns-udp, useroam-dns-tcp | Firewall, Forwarding (NAT) | Guest internet access and redirecting DNS queries to the device. |
| useroam-gw | IP and Routing, IP Addresses | The guest network's gateway address. |
| useroam-vpn, useroam-vpn-port, useroam-vpn:<name> | VPN, IP Addresses, Rules | Interface, address, port permission and users added by VPN Setup. |
Frequently asked questions
I deleted a rule and guests cannot log in.
Press Undo at the top right away. If the undo time has passed, run the Setup Wizard again; it adds the Useroam records back.
My new rule does not work.
New rules are added to the end of the list; a rule above it may catch the traffic first. Rule order cannot be changed on this screen; use the device's own interface.
I want to add a device user.
Not possible here. Use System > Users in Winbox.
Related pages
VPN (WireGuard) Setup
What is it for?
VPN Setup lets you set up WireGuard VPN on your MikroTik device with one button and add people. Your manager or accountant can then connect securely to the business's internal network from outside (home, phone). The card reads: WireGuard already ships built into your device; it only needs to be defined. The button below creates the interface, the address and the required firewall permission in one go.
How do I open this screen? In the MikroTik Management console, from the left menu: DEVICE (ADVANCED) > VPN. The wizard is the VPN Setup card at the top of the section.
When do you use it?
- A manager needs to reach the till computer or cameras from outside the business.
- You are opening secure remote access for a staff laptop.
- You want to remove someone's VPN access.
Before you start
- The device must be connected to the panel and run RouterOS 7 (WireGuard comes with RouterOS 7).
- For outside connections, UDP port 13231 must reach the device. If the device sits behind another modem, forward this UDP port to the MikroTik there. The card says so too: To connect from outside, this UDP port must be forwarded to the device on your modem or firewall. Ask us if you are unsure.
- The computer or phone that will connect needs the WireGuard app (free in the app stores).
- Open a separate VPN user for each person or device; when someone leaves you delete only theirs.
Step by step
Set up the VPN. In the left menu press VPN. In the VPN Setup card press Set up VPN. The panel creates the useroam-wg WireGuard interface (port 13231), the 10.100.0.1/24 address and a firewall permission for connections arriving on that port. When it works, VPN is set up. You can now add users. appears at the top. You do this once; if the VPN is already set up, the button is not shown.
Note the connection address and add a person. After setup the card reads, in green, VPN is ready. Connection address: ... (the device's public address and port, e.g. 203.0.113.10:13231). Enter who it is for in Person or device name (e.g. accounting-laptop; only letters, digits, dot, hyphen and underscore are kept, spaces and special characters are dropped) and press Add VPN user.
Save the settings right away. Together with VPN user added. Take the settings below. the person's WireGuard settings (as text) and a QR code appear. Mind the yellow warning: These settings are shown only once. The private key is not stored on our servers. Save it now or scan the QR code. If you leave the page, these settings are never shown again; you would have to add a new user.
The settings and keys in the image are samples and are not used on any device.
Transfer them to the person's device. On a phone, in the WireGuard app press Add, then import from QR code and scan the code on the screen (the card also says In the WireGuard app choose Add, then import from QR code.). On a computer save the text as a .conf file and open it in the WireGuard app with Import tunnel(s) from file. The settings give the person an address from the VPN network (e.g. 10.100.0.2) and access to the device's internal networks (not the internet uplink).
See the users in the list. In the same section, each person you add is a row in the WireGuard Peers card (the interface in the Name column, Public key, Allowed addresses, and useroam-vpn:<name> in Note). To remove someone's access, press the bin on their row. The WireGuard Interfaces card shows the VPN interface's Name, Listen port, Public key, Status and Note.
Fields, buttons and lists on the screen
| Item | What it does | Example |
|---|---|---|
| Set up VPN | Creates the WireGuard interface, its address and the port permission. Once. | |
| Person or device name | The VPN user's name; recognisable in the list note. | accounting-laptop |
| Add VPN user | Creates a new key for the person, adds it to the device and shows the settings once. | |
| WireGuard Interfaces | Name, Listen port, Public key, Status, Note. Editing: Name, Listen port, Disabled, Note. | useroam-wg, 13231 |
| WireGuard Peers | The VPN users. Manual add: Name (interface name), Public key, Allowed addresses, Note. | 10.100.0.2/32 |
| PPP Accounts | Older VPN accounts: Username, Service, Profile, Status, Note. Add: Username, Password, Service (any, pppoe, l2tp, pptp, sstp, ovpn), Note. | |
| IPsec Peers | Defined IPsec connections as they come from the device. View only. |
Warnings and error messages
| Message | Meaning | What to do |
|---|---|---|
| Please enter a name. | The name is empty or consists only of characters that are not allowed. | Enter a name with letters and digits. |
| Set up the VPN first. | A user was added before the VPN was set up. | Press Set up VPN. |
| The VPN address pool is full. | The limit of 253 users was reached. | Delete unused peers. |
| No WireGuard interface has been defined yet. The setup button above does this for you. | The VPN is not set up. | Press Set up VPN. |
| No VPN user yet. You can add one using the form above. | No users added. | Add a person. |
| No PPP accounts. / No IPsec peers. | No such connections are defined. | Normal. |
Frequently asked questions
I closed the page without saving the settings.
The private key is not stored, so the settings cannot be recovered. Delete the old row in WireGuard Peers and add a new user for the same person.
I cannot connect to the VPN.
If the device is behind a modem, check that UDP 13231 is forwarded to the MikroTik. The IP in the connection address is the device's public address; if it changed, the Endpoint line in the settings must change too.
Does the person lose their own internet while connected?
No. The settings only send the VPN network and the device's internal networks over the VPN; internet traffic leaves through the person's own connection.
An employee left.
In WireGuard Peers delete the row whose note contains that person's name.