---
title: RADIUS login for routers
description: Let administrators log in to MikroTik routers with their own MikroWizard account.
url: "https://mikrowizard.com/docs/radius-login-routers/"
updated: "2026-11-25"
category: "Users & Access Control"
---

# RADIUS login for routers

Free MikroTik only

## What it is

With RADIUS, administrators log in to MikroTik routers with their own MikroWizard account instead of shared router passwords, and every login is logged with their name.

**Example uses**

- Remove a leaver's access to all routers by deactivating one account.
- See exactly who logged in to a router and when.

MikroWizard has a built-in RADIUS server for administrator logins to MikroTik routers (WinBox, SSH, WebFig, API). Each person uses their own MikroWizard user, and every login is logged with their name.

Without it, a team shares one `admin` password per router: nobody knows who changed what, and an engineer who leaves still knows the passwords. With RADIUS, you disable a user once in MikroWizard and they can no longer log in to any router.

## Before you start

- Routers must reach the MikroWizard server on **UDP 1812** (login) and **1813** (accounting).
- MikroWizard finds a router by the address the router reports in the request (NAS-IP-Address); it must match the device's IP in MikroWizard.

## Turn it on

1. Set the **RADIUS Secret** and **Default IP Address** in [System configuration](https://mikrowizard.com/docs/system-configuration/).
2. Turn on **Force RADIUS** in [Security and enforcement switches](https://mikrowizard.com/docs/security-enforcement-settings/).

During the regular device sync, MikroWizard sets on each router `/user aaa` with use-radius, accounting and interim-update 0s, and a `/radius` entry for the MikroWizard address with your secret (comment *mikrowizard*). Duplicate entries for that address are removed.

## How a login is checked

1. The user logs in with their MikroWizard username and password (or TOTP code, see [Two-factor](https://mikrowizard.com/docs/two-factor-totp/)).
2. With **Force Permissions** on, the user needs access to a group containing the router (or *Default*); otherwise the login is refused (*Unable to verify group*).
3. The router gets the user's [permission profile](https://mikrowizard.com/docs/manage-permissions-in-mikrowizard/) as the RouterOS group.
4. The login appears in the [Authentication log](https://mikrowizard.com/docs/authentication/), changes in the [Accounting log](https://mikrowizard.com/docs/accounting/).

Protect it with [RADIUS login protection](https://mikrowizard.com/docs/radius-login-protection/) and, with Pro, [IP restrictions](https://mikrowizard.com/docs/restrict-login-by-ip/).

 A local router user with the same name as a MikroWizard user is checked first by RouterOS. Remove or rename such local users.

## Keep a way in

Keep one local router user (for example a break-glass account with a long password, kept in the [Password Vault](https://mikrowizard.com/docs/password-vault/)) for when the MikroWizard server can't be reached. RouterOS checks local users before RADIUS, so this account works even when RADIUS doesn't answer. Use a name no MikroWizard user has.

## Check it

Log in to a router with WinBox using your MikroWizard username, then look at the [Authentication log](https://mikrowizard.com/docs/authentication/). If nothing is logged, see [RADIUS login not working](https://mikrowizard.com/docs/radius-login-troubleshooting/).
