First-time MikroTik router configuration
Purpose: Safely initialize a MikroTik router via WinBox, replace default credentials, disable insecure management services, and set NTP/system identity before connecting to production.
Prerequisites
- MikroTik router and latest WinBox utility on a Windows/macOS/Linux laptop.
- Ethernet cable connected to ether2 (default LAN port; avoid ether1 which blocks WinBox on default firewall).
Step-by-Step Configuration
Open WinBox, go to the Neighbors tab, click the router MAC address, log in as admin (with factory sticker password or blank on older units), and review or remove default configuration as required.
Create a named full-privilege administrator user with a strong password, log out, log back in as the new user, and disable/remove the default admin user.
Under IP -> Services, disable telnet, ftp, www, and api if unused; restrict winbox and ssh to your trusted management subnet.
Configure System -> SNTP Client (pool.ntp.org) and set Time Zone to Africa/Nairobi so logs and RADIUS accounting timestamps are accurate.
CLI / Configuration Snippet
# RouterOS v7.x — Initial Hardening & Identity Commands # 1. Set router hostname for clear terminal/WinBox identification /system identity set name="DOS-CORE-RTR-01" # 2. Set Nairobi timezone & NTP client /system clock set time-zone-name=Africa/Nairobi /system ntp client set enabled=yes servers=pool.ntp.org # 3. Disable legacy cleartext services (keep WinBox & SSH restricted) /ip service disable telnet,ftp,www
Router identifies cleanly, synchronises Africa/Nairobi time, enforces a custom admin password, and closes insecure management ports.
Troubleshooting Matrix
Disable Neighbor Discovery (MNDP) and MAC Server on WAN interfaces so external ISP networks cannot see your router MAC.
Run /export file=baseline-init and download both the .rsc text script and binary .backup file off the router.
Leads physical wireless and optical deployments across Dagoretti South and greater Nairobi, specializing in interference mitigation and high-throughput point-to-point links.