Integrations/VPN & Router/mikrotik-routeros
RouterOS · L2TP · RADIUS

MFA for MikroTik

MikroTik RouterOS shows up everywhere from branch offices to ISPs, handling VPN termination and router administration on a tight budget. RouterOS can authenticate users via RADIUS but has no MFA of its own, so a single credential guards the edge. Authnull becomes the RADIUS server RouterOS uses and enforces a factor on L2TP/IPSec and SSTP VPN logins as well as router login. You add Authnull under the RADIUS settings, enable it for the PPP and login services, and a factor is required before access.

At a glance
VendorMikroTik (RouterOS)
Connects viaRADIUS
ProtectsVPN & router admin
DeploymentAgentless
Setup time15 minutes
No rip-and-replace — sits in front of your existing setup
How Authnull connects

MikroTik forwards the login; Authnull adds the factor.

MikroTik
user connects
Authnull
RADIUS
Directory
AD / LDAP
User device
approve factor

RouterOS sends the login to Authnull over RADIUS; Authnull validates the credential, challenges for the factor, and returns Access-Accept. Increase the RADIUS timeout so push approval is not cut off.

Setup

Configure MFA for MikroTik

Real steps — the exact menus, fields, and values. Follow along in your console; the whole thing takes about 15 minutes.

1

Add the RADIUS server

In RouterOS, add Authnull as a RADIUS server and enable it for the ppp and login services.

RouterOS CLI
/radius add address=10.0.0.20 secret=<shared-secret> service=ppp,login timeout=60s
2

Enable RADIUS for PPP

Turn on RADIUS use for the PPP AAA so VPN logins authenticate through Authnull.

RouterOS CLI
/ppp aaa set use-radius=yes
3

Enable RADIUS for router login

Allow RADIUS for management login so admin access is challenged too.

RouterOS CLI
/user aaa set use-radius=yes
4

Test the VPN

Connect over L2TP/IPSec or SSTP with a test account and approve the factor; confirm the session in Authnull logs.

Reference — connection values
ProtocolRADIUS
serviceppp, login
timeout60s
auth port1812

Closes the MFA gap auditors look for

Enforcing MFA on MikroTik gives you evidence for the remote-access and privileged-access controls in SOC 2 and the access requirements under CCPA — with per-login logs you can hand straight to an assessor.

Add MFA to MikroTik — free to start.

Spin up Authnull, point MikroTik at it, and enforce a factor on a pilot group today. No card, no rip-and-replace.

Get in touch