basforge

Search titles, text and the “If it doesn’t work” cases.

    RU
    OverviewHomelabMikroTik

    MikroTik at home: what it is, why people like it, and who it suits

    MikroTik makes routers, access points and switches, and all of them run one system — RouterOS. A home router gives you everything a carrier router does: bridges, VLANs, routes, chain-based firewall, queues, scripts, containers. The price is time: it works out of the box, but every change after that is yours to make, and you need to know what it changes.

    What problem it solves

    A consumer router is a box of ready-made scenarios: a connection wizard, a guest network with one checkbox, an app. What a scenario doesn’t cover isn’t there. MikroTik exposes the whole networking side: interfaces, bridges, addresses, routes, firewall, queues. It has a wizard too (Quick Set), but that’s one page on top of the same settings.

    The company is Latvian, based in Riga, operating since 1996. The hardware is sold as RouterBOARD, and the system is the same everywhere — RouterOS, now version 7 on a Linux kernel. The same commands work on the entry-level hAP lite and the carrier-grade CCR2216: what you learn at home works at work.

    What that gives you in an apartment or a house:

    Who and what

    You see the whole network

    Who’s connected and from which address (/ip dhcp-server lease print), who’s downloading right now and from where (/tool torch), how many connections each device has. Consumer routers show a device list; MikroTik shows every flow.

    Guests, smart home

    Separate networks

    Guests, smart plugs and cameras on their own network: they get internet but can’t reach computers or the NAS (Guest network on MikroTik).

    Two ISPs

    The main one over cable, a backup — an LTE modem in USB or a second ISP. A route with check-gateway or a check through netwatch switches traffic when the main link goes down.

    Ads and DNS

    Since RouterOS 7.15 the router’s DNS has adlist: a list of ad domains the router won’t resolve for the whole network. DNS over HTTPS runs on the router too.

    Containers

    On ARM models with 1 GB of RAM, RouterOS runs Docker images: AdGuard Home, Pi-hole, small services. Storage is a USB stick: built-in storage is 128 MB (RouterOS).

    Several access points, one network

    The router hands settings to cAP access points through CAPsMAN, and a phone moves between them without dropping (Wi-Fi on MikroTik).

    A cabin on LTE

    Chateau is a router with a built-in LTE modem and Wi-Fi: at a cabin without cable, it’s the whole network in one box.

    How it fits together: hardware, RouterOS, config

    RouterBOARD          hardware: CPU, switch chip, radio, ports
      └─ RouterBOOT      the bootloader; updates separately from the system
          └─ RouterOS    the system on a Linux kernel; one for every model
              ├─ packages  wifi-qcom, container, iot … — installed one by one
              └─ config  a menu tree: /interface, /ip, /ip firewall …
                         all of it prints as text: /export

    The config isn’t a file you edit but state that commands change. In return, /export prints all of it as a set of commands: you can read that text, put it in git (Server configs in git) and paste it into another router’s terminal. There are four ways to configure it, and they all change the same thing: Winbox (an app for Windows, macOS and Linux), WebFig in the browser, the command line over SSH, and the REST API.

    The license is built into the router: level 4 on hAP, 5 on RB5009, 6 on hAP ax³ and up. The levels differ in limits like hundreds of hotspot users that a home never reaches. Updates are free: on its model pages MikroTik promises them for the device’s lifetime, but no less than 5 years.

    Why the examples use the hAP ax²

    The set’s commands are written for a hAP ax² with RouterOS 7.24: it’s nearly always enough for an apartment with gigabit (MikroTik hardware), and it has the new wifi package, like every ax and be model. On another model with RouterOS 7 the wired side is the same: bridge, VLAN, firewall, DNS, routes. Wi-Fi differs: ac models and older use the wireless package, the /interface wireless menu and the old CAPsMAN at /caps-man (Wi-Fi on MikroTik). MIPS models — hAP lite, the old hEX RB750Gr3 — have no containers. What couldn’t be checked without a hAP ax² at hand is marked with a footnote.

    Hardware: why people like it

    • What’s inside. The apartment-class hAP ax² has a quad-core Qualcomm IPQ-6010, 1 GB of RAM, five gigabit ports and Wi-Fi 6. In MikroTik’s test it routes 2.6 Gbit/s with large packets and barely drops with 25 firewall rules.
    • Models live long. The hEX RB750Gr3 has been on sale since the mid-2010s and gets RouterOS 7.24 alongside the newest models.
    • No fans, and PoE power. Home models are passively cooled; the hAP ax² outputs power on ether1 and can feed a cAP over the same cable, and the RB5009UPr does 802.3af/at on every port.
    • SFP and 2.5G. The hEX S, hAP ax S and L009 have a 2.5 Gbit/s SFP port, the RB5009 a 10 Gbit/s SFP+: fiber from the ISP or a fast link to the NAS without a separate switch.
    • Hard to brick. Netinstall reinstalls the system over the network from a computer, even when RouterOS won’t boot.

    The lines and which suits what — MikroTik hardware.

    RouterOS: why people like it

    • Everything in one place. Policy routing, VLANs, multiple ISPs, queues with cake and fq_codel against lag on a busy link, IPv6 with prefix delegation, its own DNS, an NTP server, scripts and a scheduler, notifications, SNMP.
    • Config as text. /export is the full config in a few dozen lines; you see it whole and can compare it with the previous version (MikroTik config backup).
    • Safe Mode. Changes that cut your connection to the router roll themselves back (Safe Mode).
    • Built-in diagnostics: torch, a sniffer with Wireshark export, traceroute, bandwidth-test, a graph for every interface.
    • Update channels. stable gets fresh features, long-term only fixes: put long-term on a router you’d rather not touch.

    How the system works and its pitfalls — RouterOS.

    Wired: why people like it

    Ports in one bridge are handled by the switch chip: traffic between a computer and the NAS runs at port speed and bypasses the CPU (the H flag in /interface bridge port print). Between the LAN and the internet, packets go through the CPU, and fasttrack helps there: already allowed connections bypass the firewall, and load drops several times. The network splits into VLANs, and ports can go to different networks. Details with numbers — Wired on MikroTik.

    Wi-Fi: where it’s good and where it falls short

    Since RouterOS 7.13, Wi-Fi 6 models and some Wi-Fi 5 models have the new wifi driver: WPA3, fast roaming with 802.11r/k/v, MU-MIMO, central management of access points through CAPsMAN. Several cAP ax on one router work as one network: a phone moves between them on the go.

    On radio, MikroTik is weaker than consumer flagships: the hAP ax² and ax³ have two streams per band and no 160 MHz, and Wi-Fi 7 only arrived in the lineup in 2026 (hAP be lite, hAP be³ Media). There’s no one-tap mesh from an app like Deco or Keenetic: access points are connected by cable, and a wireless link is set up by hand. Details — Wi-Fi on MikroTik.

    For beginners and people far from networking

    Out of the box a hAP works like an ordinary router: the ISP’s cable into the first port, the phone onto the network from the sticker, and you have internet if the ISP hands out an address by itself. For PPPoE, the Quick Set page or the MikroTik app is enough. Then the road forks: if nobody will ever open the settings, a consumer router with auto-updates serves a home with less risk. If you want to understand how a network works, MikroTik is a cheap training ground built on the same concepts as a big network. An honest breakdown — MikroTik for beginners.

    Other options

    The alternatives are described from their documentation and reviews as of October 2026; they weren’t compared on the same network as MikroTik. Prices are a rough guide: manufacturers’ list prices, which differ by country.

    What it is Stronger than MikroTik Weaker than MikroTik
    Keenetic Consumer routers with KeeneticOS ISP and IPTV connection wizard, an app, mesh from several routers, USB modems, a torrent client and shared disk out of the box Firewall and routes — only what the UI offers; anything else goes through Entware packages
    ASUS (Asuswrt, Asuswrt-Merlin) Consumer routers, strong on Wi-Fi Radio: 4×4, 160 MHz and Wi-Fi 7 in flagships, AiMesh, gaming settings Fine-grained firewall, VLANs, multiple ISPs — limited; a shorter update window
    TP-Link Deco / Omada Deco — app-driven mesh for an apartment; Omada — a controller for access points and gateways Deco sets up in 10 minutes from a phone; Omada access points are cheap, roaming and VLANs live in the controller Deco is barely configurable without the app and cloud; Omada needs a controller
    UniFi (Ubiquiti) Gateways (Express 7, Dream Router 7, Cloud Gateway Ultra), access points, cameras under one controller The controller UI, per-client stats, access points and roaming, cameras in the same system More expensive per port; routes and firewall — only what the controller offers
    OpenWrt (GL.iNet Flint 3, OpenWrt One) Open Linux firmware for hundreds of models Real Linux with packages, SQM against lag in two clicks, source code Support depends on the model and Wi-Fi driver; on vendor firmware (GL.iNet) you get the vendor’s timeline
    OPNsense / pfSense on a mini PC A FreeBSD firewall on an x86 box, access points and switch separate An x86 CPU: an N100 has 4 cores up to 3.4 GHz versus 4 cores up to 1.8 GHz on the hAP ax³; Suricata IDS, a web UI, packages Three or four devices instead of one, 10–20 W idle instead of 5–12: the N100 mini PC alone is 6–14 W
    If… Use
    you want to understand the network and shape it yourself: guests, smart home, two ISPs, containers MikroTik: hAP ax² or ax³ (MikroTik hardware)
    nobody will open the settings; you need internet and an app Keenetic or Deco
    what matters is Wi-Fi in a big apartment with dozens of devices, the rest on defaults ASUS with AiMesh, or UniFi
    you already have UniFi cameras or want everything in one controller UniFi
    you want Linux with any packages on the router OpenWrt
    you take networking seriously and have room for a mini PC OPNsense on a mini PC + MikroTik cAP or UniFi access points

    What you get and what it costs

    What you get

    • The whole network is configurable. No UI ceiling: whatever RouterOS can do, you can do, by command or in Winbox.
    • Config as text. /export is a 3 KB copy you can read and restore on another router.
    • One system everywhere. Router, access points and a CRS switch take the same commands; access points are managed from the router through CAPsMAN.
    • Years of updates. RouterOS 7 still ships for models from the 2010s; the long-term channel gets only fixes.

    What it costs

    • You’ll have to learn. Bridges, interface lists, firewall chains are all exposed as they are. One rule in the wrong place and the network is open or cut off.
    • Modest Wi-Fi. Two streams per band on mainstream models, Wi-Fi 7 only since 2026, no mesh from an app.
    • Updating is on you. There are no automatic updates by default: run check-for-updates by hand or from your own script. Vulnerabilities get loud (see below), and only an update closes them.
    • Documentation: help.mikrotik.com and the forum. Many guides online still describe RouterOS 6.

    Security: what happened and what follows from it

    MikroTik has a loud vulnerability history. The common cause is nearly always the same: router management exposed to the internet and a system left un-updated for years.

    When What Fixed by
    2018 CVE-2018-14847: the user database could be read through the Winbox port without a password. Compromised routers injected a miner into web pages — in summer 2018 Trustwave found 72 thousand such routers in Brazil alone, and later estimates put it at 170–200 thousand worldwide RouterOS 6.42.1, April 2018
    2021 The Meris botnet — about 250 thousand MikroTik routers, mostly compromised back in 2018: they were updated, but the passwords and planted scripts remained. 250 thousand is Qrator’s estimate; 30–56 thousand addresses were seen in the attacks themselves changing passwords and auditing the config
    2023 CVE-2023-30799: a user with the admin password gets full system access 6.49.7 (October 2022), in long-term 6.49.8 (July 2023); branch 7 isn’t listed in the advisory
    September 2026 A chain in SSH (CVE-2026-67279, -86060, -67276), file reads through WebFig (CVE-2026-67281), attacks under way 7.24.3, 7.23.6, 6.49.21

    Three rules follow, and the set’s pages are built on them: management only from inside (Management from inside only), don’t break the default firewall (MikroTik firewall), update when fixes come out (RouterBOOT update). Since RouterOS 7.17 the system looks for traces of compromise in the config at boot and, if it finds them, disables what looks suspicious and sets flagged=yes — you’ll see it in the log.

    Where to start

    1. Overviewthis pageMikroTik at home: what it is, why people like it, and who it suits
    2. OverviewMikroTik with no networking experience: what works right away and what you’ll have to learnWhat works out of the box, what you’ll have to learn, and when another router is the honest choice.
    3. OverviewMikroTik hardware for home: product lines, internals and which model to buy in 2026The hAP, hEX, RB5009, cAP and Chateau lines: what’s inside, how much they handle, which model for an apartment, a house, a cabin.
    4. OverviewRouterOS 7: how the MikroTik router system worksHow the system works: packages, update channels, device-mode, licenses, Winbox and the command line, config as text.
    5. OverviewWired networking on MikroTik: bridge, switch chip, fasttrack and VLANsBridge, switch chip and fasttrack: where traffic bypasses the CPU and why one rule cuts speed threefold.
    6. OverviewWi-Fi on MikroTik: the wifi package, CAPsMAN and roaming — where it’s good and where it falls shortThe wifi and wireless packages, CAPsMAN, roaming between access points, DFS — and where MikroTik lags behind consumer routers.
    7. ManualFirst MikroTik setup: internet, your own user, updates, Wi-Fi and a backupFrom the box to a working router: login, internet, your own user, update, Wi-Fi, unneeded services, backup.
    8. ConfigThe MikroTik default firewall line by line: what each rule doesThe default firewall line by line: what each rule does and which ones not to touch.
    9. ManualA guest Wi-Fi network on MikroTik: a separate bridge, its own DHCP and three firewall rulesA separate Wi-Fi network for guests and smart plugs: a bridge, DHCP and three firewall rules.
    10. Cheat sheetEveryday RouterOS: who’s on the network, who’s downloading, updates, backupsEveryday RouterOS commands: who’s connected, who’s downloading, updates, backups, reset.

    If it doesn’t work

    PPPoE is up, the router itself pings 1.1.1.1, but the computers have no internet

    Cause
    Masquerade in the default config works for interfaces in the WAN list, which holds only ether1. The new pppoe-out1 isn’t in it: packets go to the ISP with 192.168.88.x addresses, and replies never come back.
    Fix
    Add PPPoE to the list: /interface list member add list=WAN interface=pppoe-out1. Details — First MikroTik setup.

    A 1 Gbit/s plan, but through MikroTik only 300–400 Mbit/s with the CPU at 100%

    Cause
    Traffic goes through the full firewall: fasttrack is off or bypassed by a queue, a rule has log=yes, /tool torch is running. On the dual-core hEX and hAP ax lite, 25 firewall rules without fasttrack give about 1 Gbit/s with large packets and much less with small ones.
    Fix
    /ip firewall filter print stats where action=fasttrack-connection — the counter should grow. Details — Wired on MikroTik, Fasttrack and queues.

    The 5 GHz network shows up a minute, or even 10 minutes, after a reboot

    Cause
    The router picked a DFS channel (52–144). Before using it, an access point must listen for radar: a minute, and 10 minutes on channels 120–128.
    Fix
    Pick a non-DFS channel (36–48) or keep skip-dfs-channels=10min-cac from the default config (Wi-Fi on MikroTik).

    The router is sluggish, the CPU busy, and /tool torch on ether1 shows incoming UDP to port 53

    Cause
    The router’s DNS answers queries from the internet: allow-remote-requests=yes is on, and the firewall rule that blocks input from WAN was deleted or sits below an allow rule.
    Fix
    Put “drop all not coming from LAN” back at the end of the input chain (Router DNS from outside, MikroTik firewall).

    Changed one bridge or firewall setting — and lost access to the router

    Cause
    The change cut off the interface you were connected through: a port removed from the bridge, vlan-filtering turned on, a deny placed above an allow.
    Fix
    Turn on Safe Mode before such changes (Safe Mode). Already cut off — connect by MAC through Winbox (it bypasses IP); as a last resort, the reset button.

    Updated RouterOS, but /system routerboard print shows different versions

    Cause
    RouterOS and the RouterBOOT bootloader update separately: the package changed, the bootloader stayed old.
    Fix
    /system routerboard upgrade and one more reboot (RouterBOOT update).