Skip to content
Dojo

Dojo

Practical howtos on MikroTik and RouterOS 7: tested configurations, ready-to-copy commands.

Illustrazione per Container su MikroTik: cosa sono e cosa vedono del kernel
Dojo

Containers on MikroTik: what they are and what they see of the kernel

RouterOS 7 can run containers: small Linux systems inside the router. But a container is not a virtual machine: it shares the router's kernel. In the lab we open one up and look at what it really sees of the system (kernel, memory, processes, disk), what changes with privileged=yes, and how to use them without handing the router to an image pulled off the Internet.

12 min read
Illustrazione per Far suonare il MikroTik: scripting, :beep e la Toccata di HalloweenDojo

Make your MikroTik play: scripting, :beep and the Halloween Toccata

A note is a frequency, a melody is a loop: we learn a piece of RouterOS scripting by making the router play the opening of Bach's Toccata and Fugue for Halloween. How to tell if yours has a buzzer, the note map, a melody player with a note-name resolver and musical alarms with Netwatch. Ready-to-paste script at the end.

Illustrazione per RPKI su RouterOS 7: validare le rotte BGP e fermare i dirottamenti d'origineDojo

RPKI on RouterOS 7: validate BGP routes and stop origin hijacks

What is it for? Somewhere in the world, a router announces that your network goes through it. It isn't a rare typo: it has happened to Google, to Cloudflare, to whole chunks…

Illustrazione per Alternative a IP Cloud: un DDNS sul tuo dominio (DuckDNS o Cloudflare)Dojo

Alternatives to IP Cloud: dynamic DNS on your own domain (DuckDNS or Cloudflare)

IP Cloud gives you a handy name, but it's your serial number inside a MikroTik domain: it reveals you're a MikroTik and which model. Here's how to have a dynamic name of your own, with DuckDNS in five minutes or on your own domain with Cloudflare. Ready, lab-tested RouterOS scripts.

Illustrazione per Captive portal e iPhone sotto lo sniffer: la DHCP option 114 che risolve iPhone e AndroidDojo

Captive portal, iPhone and Android under the sniffer: DHCP option 114 works, the certificate decides

The captive portal on iPhone and Android seen under the sniffer. MikroTik hands out DHCP option 114 (RFC 8910/8908) and the login page always opens: the one thing missing is iOS's auto-login, and whether the portal starts at all is decided by the certificate. With the .pcap captures to download.

Illustrazione per Amplificazione DNS: come un router aperto diventa un megafono (e come chiuderlo)Dojo

DNS amplification: how an open resolver becomes a megaphone (and how to shut it)

DNS amplification turns an open resolver, your router included, into a megaphone to hit others: small query, huge reply, forged sender. We see it live in the lab (21 bytes becoming 1017), look at what really knocks on the Dojo's WAN, and close the hole rule by rule.

Illustrazione per Bloccare DNS over HTTPS e DNS over TLS con MikroTikDojo

Block DNS over HTTPS and DNS over TLS with MikroTik

Encrypted DNS bypasses the router's filter: how to close DoT and DoH on RouterOS 7 with port 853, an address list of names, the tls-host matcher and Firefox's canary domain, all tested in the lab.

Illustrazione per MikroTik in Wi-Fi station e bridge: perché dietro non passa niente (e come si risolve)Dojo

MikroTik Wi-Fi station and bridge: why nothing gets through behind it (and how to fix it)

A MikroTik connected as a client to another access point's Wi-Fi, with a camera behind it: why it doesn't work in station mode, how to fix it with station-pseudobridge and why the old bridge NAT trick breaks.

Illustrazione per DNS trasparente con il bridge NAT: il MikroTik invisibile che risponde a tuttiDojo

Transparent DNS with the bridge NAT: the invisible MikroTik that answers everyone

A MikroTik in bridge, invisible to the network, that intercepts every DNS request toward any server: bridge NAT and IP NAT running a relay on RouterOS 7, with the example of blocking a site.

Illustrazione per Tre server con lo stesso IP: raggiungerli tutti con MikroTikDojo

Three servers with the same IP on the same LAN: reaching them all with MikroTik

Three devices with the same factory address on the same LAN and a PC that has to talk to all of them: with the bridge NAT answering ARP and the IP NAT inside the bridge, on RouterOS 7 you see them as three different addresses, without touching them.

Illustrazione per VPN WireGuard dal telefono al MikroTik in 5 minuti, con il QR codeDojo

WireGuard VPN from your phone to the MikroTik in 5 minutes, with a QR code

Your phone gets into your home or office network from any Wi-Fi, encrypted. With RouterOS 7 the router generates the phone's keys and configuration by itself and shows a QR code to scan with the WireGuard app: interface, firewall, peer, split tunnel and the precautions to know.

Illustrazione per IP Cloud MikroTik: un nome fisso per il router con l'IP dinamicoDojo

MikroTik IP Cloud: a fixed name for the router with a dynamic IP

IP Cloud is MikroTik's free dynamic DNS: it gives the router a fixed name that follows the public address even when it changes. How to turn it on, how to check it, what happens behind the ISP modem and why the name alone doesn't open the router to the internet.

Illustrazione per Port knocking su MikroTik: WinBox si apre solo a chi bussaDojo

Port knocking on MikroTik: WinBox opens only to those who knock

The router's management port stays closed to everyone and opens for one hour only to whoever touches three ports in the right sequence. The RouterOS 7 firewall rules, three ways to knock from Linux (knock, nc and pure bash), and how much you can trust it.