basforge

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

    RU

    First MikroTik setup: internet, your own user, updates, Wi-Fi and a backup

    Nine steps from the box to a router you can trust with your home: log in, connect the ISP, create your own user, update RouterOS and the bootloader, set the country and Wi-Fi password, close unneeded services, save a copy. Leave the default firewall alone — it already protects the network.

    What you end up with

    ether1             the ISP: DHCP or PPPoE
    ether2…5, Wi-Fi    home: 192.168.88.0/24, the router is 192.168.88.1
    user               your own, in the full group; admin disabled
    RouterOS           the latest in the long-term channel, RouterBOOT at the same version
    Wi-Fi              your country, your network name, WPA2 + WPA3
    management         Winbox, WebFig and SSH — only from the home network
    copy               a text /export and a .backup — on your computer

    The commands are for the terminal: in Winbox it’s the New Terminal button, in WebFig Terminal at the top right, or ssh [email protected]. All of it can be done with the mouse in Winbox — the menus match the commands.

    Steps

    1. Connect and log in

      The ISP’s cable goes into ether1, the computer into ether2 by cable or onto the Wi-Fi network from the sticker. In the browser open http://192.168.88.1, or start Winbox and pick the router in the Neighbors tab. Login admin, password from the sticker underneath.

      On the first login RouterOS offers to change the admin password — do it: the sticker password is visible to anyone who turns the router over.

    2. Save the factory config and check the version

      /system resource print
      #        version: 7.20.8 (long-term)
      #     board-name: hAP ax^2
      /export file=factory

      factory.rsc appears in Files: it’s the factory config as text, something to return to or compare your changes against (MikroTik config backup).

    3. Connect the ISP

      If the ISP hands out addresses by itself, everything already works — the factory config has a DHCP client on ether1:

      /ip dhcp-client print
      # Columns: INTERFACE, USE-PEER-DNS, ADD-DEFAULT-ROUTE, STATUS, ADDRESS
      # #  INTERFACE  USE-PEER-DNS  ADD-DEFAULT-ROUTE  STATUS  ADDRESS
      # 0  ether1     yes           yes                bound   198.51.100.27/24

      For PPPoE, create a client and add it to the WAN list. Without the second line the router has internet but the network doesn’t: masquerade and firewall protection only work for interfaces in that list.

      /interface pppoe-client add name=pppoe-out1 interface=ether1 user="username from the contract" \
          password="password from the contract" add-default-route=yes use-peer-dns=yes disabled=no
      /interface list member add list=WAN interface=pppoe-out1
      /interface pppoe-client print
      # Flags: R - RUNNING
      #  0  R name="pppoe-out1" max-mtu=auto interface=ether1 user="…"

      If the internet arrives in a VLAN, the ISP gives the number: first /interface vlan add name=vlan-isp vlan-id=… interface=ether1, then the PPPoE or DHCP client on vlan-isp, and that goes into WAN as well.

    4. Create your own user

      /user add name=netadmin group=full password="a long password from your password manager"

      Log in as netadmin in a new Winbox window or with ssh [email protected] — and only then disable admin. Every bot knows the name admin: password guessing starts with it.

      /user disable admin

      For SSH with a key: /user ssh-keys import public-key-file=id_ed25519.pub user=netadmin, after putting the file in Files (SSH keys).

    5. Update RouterOS

      For a home router, use the long-term channel: fixes only, no new features.

      /system package update set channel=long-term
      /system package update check-for-updates
      #            channel: long-term
      #  installed-version: 7.20.8
      #     latest-version: 7.23.8
      #             status: New version is available
      /system package update install

      The router downloads the packages, reboots and comes back in 2–3 minutes. New features and stable — when you need them (RouterOS).

    6. Update the RouterBOOT bootloader

      /system routerboard print
      #   current-firmware: 7.20.8
      #   upgrade-firmware: 7.23.8
      /system routerboard upgrade
      /system reboot

      The bootloader updates separately from the system, and the new one runs only after a reboot (RouterBOOT update). To have it happen automatically next time: /system routerboard settings set auto-upgrade=yes.

    7. Set the country, Wi-Fi name and password

      # your own country: press Tab after configuration.country= for the options
      /interface wifi set wifi1,wifi2 configuration.country=Latvia configuration.ssid=home \
          security.authentication-types=wpa2-psk,wpa3-psk \
          security.passphrase="a password of 12+ characters"
      /interface wifi print
      # Flags: M - MASTER; B - BOUND; R - RUNNING
      # #     NAME   MAC-ADDRESS        CHANNEL                SSID
      # 0 MBR wifi1  …                  5180/ax/eeCe           home
      # 1 MBR wifi2  …                  2412/ax                home

      The country sets which channels and power the router may use; with the wrong country it can pick a channel that’s forbidden where you are, or transmit too weakly. One network name for both bands — the phone picks 5 GHz near the router and 2.4 GHz behind walls on its own.

    8. Close unneeded services

      /ip service print
      # Flags: D - DYNAMIC; X - DISABLED
      #  #     NAME           PORT
      #  0     ftp              21
      #  1     ssh              22
      #  2 D c ssh              22
      #  3     telnet           23
      #  4 D   dhcp             67
      #  5 D   dhcpclient       68
      #  6     www              80
      #  7  X  www-ssl         443
      #  8     reverse-proxy   443
      #  9 D   btest          2000
      # 10 D   discover       5678
      # 11     winbox         8291
      # 12     api            8728
      # 13     api-ssl        8729
      /ip service disable telnet,ftp,api,api-ssl
      /ip service set www,ssh,winbox address=192.168.88.0/24
      /tool bandwidth-server set enabled=no

      Which services are on from the factory depends on the version; above is 7.24, where only www-ssl is off. RouterOS adds the D rows itself — DHCP, btest, neighbor discovery and the current SSH session; btest goes away after bandwidth-server set enabled=no. reverse-proxy is on, but without a certificate port 443 stays closed. In 7.24 the address column is called AVAILABLE-FROM, and address= still works. Telnet and FTP send passwords in clear text, and the API is only for your own programs. The remaining three answer only home-network addresses, even if the firewall ever breaks. bandwidth-test is a service for measuring speed between MikroTik routers; a vulnerability was found in it in September 2026 (CVE-2026-67277), and a home doesn’t need it (Management from inside only).

    9. Set the time and save a copy

      /system clock set time-zone-name=Europe/Berlin    # your own zone: Tab for the options
      /system ntp client set enabled=yes
      /system ntp client servers add address=pool.ntp.org
      /export file=hap-2026-10-19
      /system backup save name=hap-2026-10-19 password="backup password"

      Without NTP the router has no accurate time: the log shows the wrong clock, and certificates and schedules misbehave. Take both files to your computer (Files in Winbox, drag and drop): if the router breaks, a copy on it won’t help. .rsc is text you can read and paste into another router; .backup is only for this same router (MikroTik config backup).

    If it doesn’t work

    http://192.168.88.1 won’t open

    Cause
    The computer didn’t get its address from the MikroTik: it’s connected to the old router or another Wi-Fi network, or the network card has a static address.
    Fix
    ipconfig (Windows) or ip addr (Linux) — the address should be 192.168.88.x. If not, plug a cable into ether2 and set the card to obtain an address automatically. Or use Winbox by MAC: it finds the router in the Neighbors tab without IP.

    PPPoE won’t come up; the log says authentication failed

    Cause
    A typo in the username or password, or the ISP binds the connection to the old router’s MAC.
    Fix
    Check the details from the contract; /log print where topics~"pppoe" shows the ISP’s reply. For a MAC binding, call the ISP or set the old router’s MAC on ether1: /interface ethernet set ether1 mac-address=….

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

    Cause
    pppoe-out1 isn’t in the WAN list: the default config’s masquerade only works for interfaces in that list.
    Fix
    /interface list member add list=WAN interface=pppoe-out1 — step 3.

    After install the router hasn’t answered for several minutes

    Cause
    It’s installing packages and rebooting; on NAND models that takes 2–3 minutes, sometimes more.
    Fix
    Don’t cut the power. If after 10 minutes it still doesn’t answer — Netinstall: it reinstalls RouterOS over the network from a computer, and the config is lost, so you need the copy from step 9.

    After /user disable admin nobody can log in

    Cause
    The new user wasn’t created in the full group, or the password was mistyped.
    Fix
    Reset to the factory config with the reset button (hold it while powering on until the LED flashes) and redo the steps. That’s why step 4 tests the new user’s login before disabling admin.

    How to check

    From outside — another server, or a phone on mobile data with any online port scanner. The router’s address is from step 3 (198.51.100.27 in the example):

    nmap -Pn -p 21,22,23,80,443,2000,8291,8728,8729 198.51.100.27
    # PORT     STATE    SERVICE
    # 21/tcp   filtered ftp
    # 22/tcp   filtered ssh
    # …
    # 8291/tcp filtered unknown
    sudo nmap -Pn -sU -p 53 198.51.100.27
    # 53/udp   open|filtered domain    — no reply, DNS doesn't answer from outside

    Every port is filtered: the firewall drops the packets, and the router is invisible from outside. Even one open — look at the firewall (MikroTik firewall).

    From inside — check that fasttrack works and your plan’s speed reaches the computer:

    /ip firewall filter print stats where action=fasttrack-connection
    # 0  forward  fasttrack-connection  2 113 773 041  1 950 112

    If the counter grows during a speed test, traffic bypasses the firewall and the CPU keeps up.