A Complete Guide to Configuring MikroTik for Office and Home
Published on 2025-12-24
Mikrotik routers are rightly valued by system administrators for their incredible flexibility.
A unique feature of this hardware is that a budget home hAP lite and a powerful enterprise router costing thousands of dollars run the same operating system — RouterOS.
That means once you learn to configure one device, you can manage any equipment from the brand.
In this article we’ll go over the fundamental steps to set up a Mikrotik from scratch to a fully working state.
1. Connecting and updating the system
The first step is to access the device and bring its software up to date.
Management tool
For configuration it is highly recommended to use the Winbox utility.
Download it from the official site mikrotik.com.
First connection
- Connect your computer via cable to any router port (except the first, if this is the default configuration).
- Run Winbox and go to the Neighbors tab.
- Click on the device MAC address (this is important because the IP may be
0.0.0.0). - Login:
admin
Password: (empty) or from the sticker on the device.
Update (two-step process)
In Mikrotik it’s important to update not only the system but also the bootloader.
Updating RouterOS
- Go to System → Packages.
- Click Check for Updates.
- It is recommended to choose a branch:
- Long-term — for stability
- Stable — for new features
- Download and install the update.
Updating the bootloader (Routerboard)
- After reboot go to System → Routerboard.
- Compare the Current Firmware and Upgrade Firmware versions.
- If they differ — press the Upgrade button and reboot the router again.
💡 Notes and clarifications
Most new MikroTik devices (hAP lite, hAP ac, RB, etc.) come with a preinstalled default configuration (defconf):
- ether1 — WAN with DHCP-client
- other ports + Wi-Fi — in a bridge
- IP
192.168.88.1/24 - DHCP server
- NAT (masquerade)
- basic firewall
If the device is new, many of the steps below are already done — check with the command:
/system default-configuration print
The current stable version as of December 2025 is 7.20.x.
Always update to the latest version in the chosen branch for security fixes.
2. Internet setup (WAN)
Assume you are configuring a static IP (if the provider issues settings automatically via DHCP, this step is done by a DHCP Client on the first port).
We need to perform three actions in the IP menu.
IP address
- Go to IP → Addresses.
- Click + and enter the address provided by the provider.
- Be sure to specify the subnet mask (for example,
/24), otherwise the router will treat this address as a single host. - Specify the interface (usually
ether1).
Default route (gateway)
Go to IP → Routes.
Create a route:
Dst. Address:0.0.0.0/0Gateway: the provider’s gateway IP address
DNS servers
- Go to IP → DNS.
- In the Servers field specify public DNS (for example,
8.8.8.8,1.1.1.1). - The Allow Remote Requests checkbox turns the router into a caching DNS server.
Enable it only if the firewall is configured, otherwise the router may be used in DDoS attacks.
3. Local network (LAN) and DHCP
Now let’s configure the internal network by combining ports and assigning addresses to devices.
Bridge setup
A bridge lets you combine physical ports into a single logical network (like a regular switch).
- Open the Bridge menu and create a new interface (usually
bridge1). - Go to the Ports tab and add the required interfaces there (for example,
ether2,ether3,wlan1).
DHCP server setup
The simplest way is to use the setup wizard.
- Go to IP → DHCP Server.
- Click DHCP Setup.
- Select the bridge interface (not an individual port).
- Click Next until the end, agreeing with the suggested settings.
💡 Notes and clarifications
In the default configuration the bridge, IP on the bridge and DHCP are already configured.
If you reset while keeping defconf:
/system reset-configuration keep-users=yes no-defaults=no
— everything will be restored automatically.
4. NAT and Firewall (security)
Without these settings the internet in the local network won’t work, and the router will be vulnerable.
NAT (Masquerade)
So that devices from the local network can access the internet via a single external IP:
IP → Firewall → NAT
rule:
Chain:srcnatOut. Interface:ether1Action:masquerade
Firewall Filter (protection)
The Mikrotik protection logic is built on chains (Chains).
We need Input (traffic to the router) and Forward (traffic through the router).
Basic “gentleman’s set”:
- FastTrack —
connection-state=established,related - Drop invalid
- Drop Input from WAN —
in-interface=ether1
💡 Notes and clarifications
The default firewall already includes FastTrack, accept established/related/untracked and blocking input from WAN.
Recommended basic set:
- interface-list: LAN, WAN
- Input: accept established → accept ICMP → accept LAN → drop everything else
- Forward: FastTrack → accept established → drop invalid → drop WAN
Always change the admin password:
/user set admin password=strongpassword
And disable unnecessary services.
5. Wireless network (Wi-Fi)
Go to Wireless.
In the Security Profiles tab create a profile:
- Mode:
dynamic keys - WPA2-PSK
- a strong password
- Mode:
Open
wlan1:- Mode:
ap bridge - SSID
- Security Profile
- Enable
- Mode:
💡 Notes and clarifications
In RouterOS v7+ WPA3-PSK is recommended (if clients support it).
Wi-Fi should be added to the bridge.
6. Bandwidth management (QoS)
If one user saturates the channel:
- Queues → Simple Queues
- Target: IP or subnet
- Max Limit: for example
10M/10M - Place VIP users higher in the list
💡 Notes and clarifications
For complex scenarios use Queue Tree, PCQ or CAKE.
7. Backups
Mikrotik has two types of saving configurations (Files):
| Backup type | Command / action | Description |
|---|---|---|
| Backup | Backup button | Binary file, contains passwords and MAC addresses. Only for this device |
| Export | /export file=name | Text file, without passwords. Suitable for migration |
💡 LEGO philosophy
Configuring Mikrotik is like a LEGO set.
IP + Route + DNS + NAT — if one element is missing, the system doesn’t work.
Understanding this logic is the key to confident work with Mikrotik.
💡 Final note: security
After the basic setup be sure to:
- change the admin password
- create a separate user
- regularly update RouterOS
- monitor logs and traffic (Tools → Torch, Netwatch)
Related reviews
Huge thanks to Mikhail for the work — I'm very pleased with the result. Special thanks for his recommendations during setup: from my rather muddled brief (I know little about servers), Mikhail, through clarifying questions and suggestions, formed a clear understanding of what the final build would accomplish and how best to organize everything. I recommend him!
ladohinpy · MikroTik hAP router setup. I'll set up a MikroTik Wi‑Fi router for you.
2025-07-21 · ⭐ 5/5
Many thanks to Mikhail for the work, I am very pleased with the result. I especially thank him for the recommendations during the setup process — from my rather muddled brief (and I know little about servers) Mikhail, with clarifying questions and suggestions of his own, formulated a clear understanding of what tasks the final build will solve and how to organize everything in the best way. I recommend!
An excellent specialist, a savvy expert, and a wonderful person. In an hour he fixed what we'd been racking our brains over for days! I'm sure this won't be the last time we rely on his boundless professionalism.
Ravenor · MikroTik hAP router setup. I'll configure a MikroTik Wi-Fi router for you.
2025-05-28 · ⭐ 5/5
An excellent specialist, a savvy expert, and a wonderful person. In an hour he fixed for us what we had been scratching our heads over for days! I'm sure this won't be the first time we make use of his boundless professionalism.
A professional approach to the job!
ErlikZ · MikroTik hAP router setup. I'll set up a MikroTik Wi-Fi router for you.
2025-03-31 · ⭐ 5/5
Professional approach to the job!
Knows their stuff, gets things done. Everything was prompt and to the point; I was satisfied with the collaboration.
Soveni4 · MikroTik hAP router setup. I'll set up a MikroTik Wi‑Fi router for you.
A customer who has settled in2025-03-14 · ⭐ 5/5
Knows, can, does. Everything was prompt and to the point; I was satisfied with the collaboration.
Thanks! We set up the router according to my technical specification, with a full explanation of what we're doing.
GFSoft · MikroTik hAP router setup. I'll configure a MikroTik Wi‑Fi router for you.
Savvy shopper2025-03-09 · ⭐ 5/5
Thank you! The router was configured according to my technical specification, with a full explanation of what we are doing
Everything's great! Thanks! I recommend it.
NekMiha · Help with a MikroTik router
Powerful buyer2024-11-16 · ⭐ 5/5
Everything's great! Thank you! I recommend it