Skip to content
Knowledge base

Knowledge base

RouterOS fundamentals explained one by one: what IP Cloud, DNS, NAT, bridges, VLANs, and diagnostic tools are and how they work. Short reference cards to consult before a how-to.

Image generated locally with ComfyUI from randomly selected elements. How the images are created

Illustrazione per Base64: cos'è, come si calcola e a cosa serve
Knowledge base

Base64: what it is, how it’s computed and what it’s for

What Base64 is, how 3 bytes become 4 characters, what it's actually for (and what it isn't), the two variants, and RouterOS 7's built-in converter.

3 min read
Illustrazione per Il dark web non è uno solo: Tor, le altre reti, e come funziona l'onionKnowledge base
Knowledge base · Dark web

The dark web isn’t one place: Tor, the other networks, and how onion works

«Dark web» isn't one place: there are at least four separate anonymity networks — Tor, I2P, Lokinet, Freenet — and Tor is the vast majority. This sheet lines up how it really works: three-hop onion routing, .onion addresses that are public keys, the stealth layer (the «deep dark web» you can't browse without an invite) and an honest threat model. It closes with onionwatch, the tool to observe it, defensively.

Illustrazione per Container su RouterOS: cosa sono, su quali apparati girano e perché sono immagini DockerKnowledge base
Knowledge base · Containers

Containers on RouterOS: what they are, which devices run them, and why they’re Docker images

A container on RouterOS runs a packaged Linux program inside the router, isolated from the rest. It's not a virtual machine and not a system container like Proxmox LXC: RouterOS runs Docker (OCI) images, sharing its own kernel. They run only on ARM, ARM64 and x86 CPUs (not MIPS), need space and memory, and stay off until you unlock them with a physical confirmation via device-mode.

Illustrazione per Certificati, CA e la catena di fiduciaKnowledge base
Knowledge base · Certificates

Certificates, CAs and the chain of trust

What a CA is, why certificates chain together (root, intermediate, leaf) and how a brand-new root is trusted from day one, DV vs OV/EV and why one is free and another costs hundreds, OCSP/CRL, Certificate Transparency, CAA, RSA vs ECDSA and who's behind Let's Encrypt — the certificate vocabulary put in order, verified in the lab.

Illustrazione per Device-mode su RouterOS: il lucchetto fisico sulle funzioni pericoloseKnowledge base
Knowledge base · Device-mode

Device-mode on RouterOS: the physical lock on dangerous features

Device-mode is a lock RouterOS puts on some powerful features (containers, bandwidth test, sniffer, proxy…): they stay off until you turn them on with a physical confirmation on the router, a button press or a power cycle. It exists to stop anyone who gets in remotely, even with the administrator password, from using those features to attack others.

Illustrazione per Scripting su MikroTik: cos'è e i comandi baseKnowledge base
Knowledge base · Scripting

Scripting on MikroTik: What It Is and Basic Commands

RouterOS scripting is the automated console: the same commands, queued up. The basics — commands and menus, variables, :if, :for and :foreach, and object selection with [find] — with minimal examples, and a reference to the howto section for practical uses.

Illustrazione per JA3: l'impronta TLS che smaschera scanner e botnetKnowledge base
Knowledge base · Security

JA3 and JA4: TLS fingerprints that expose scanners and botnets

JA3 is a fingerprint of the TLS handshake (the ClientHello) that identifies the tool opening the encrypted connection, not the user. Same tool, same fingerprint: this is how you recognize that many different IPs knocking on your WAN are actually a single scanner or a single botnet rotating addresses to avoid being blocked.

Illustrazione per CNA (Captive Network Assistant): come i telefoni trovano la pagina di loginKnowledge base
Knowledge base · Captive portal

CNA (Captive Network Assistant): how phones find the login page

The CNA (Captive Network Assistant) is how iPhone, Android and Windows tell whether you're behind a captive portal and open the login page in a dedicated mini-browser. It was born because the mass move to HTTPS broke the old hotspots that hijacked the browser.

Illustrazione per Safe Mode di MikroTik: come funziona la rete di sicurezza di RouterOSKnowledge base
Knowledge base · Safe Mode

MikroTik Safe Mode: how RouterOS’s safety net works

Safe Mode is RouterOS's safety net: while it's on, the router notes down every change and, if the session that took it drops, it undoes them on its own. You turn it on with Ctrl+X (or F4) in the terminal and with the Safe Mode button in WinBox. It holds at most 100 actions and doesn't cover the commands that reboot the router.

Illustrazione per Il matcher psd di MikroTik: come RouterOS riconosce le scansioni di porteKnowledge base
Knowledge base · Port scan detection

MikroTik’s psd matcher: how RouterOS spots port scans

the RouterOS firewall's psd matcher recognizes port scans: it adds a weight for each different port the same address touches in quick succession, and when the total reaches the threshold the rule fires. Usually it puts the scanner in an address list, and another rule drops it. It goes below the rules that accept the good traffic, and it doesn't see slow scans.

Illustrazione per Firewall filter MikroTik: chain input, forward, output e ordine delle regoleKnowledge base
Knowledge base · Firewall filter

MikroTik firewall filter: input, forward, output chains and rule order

The RouterOS firewall filter sorts every packet into one of three chains: input (to the router), forward (through the router), output (from the router). In each chain the rules are read top to bottom and the first one that matches with an action like accept or drop ends the game; if none matches, the packet passes. That's why a new rule always goes above the final drop, never below.

Illustrazione per Address list del firewall MikroTik: come funzionano in RouterOS 7Knowledge base
Knowledge base · Address list

MikroTik firewall address lists: how they work in RouterOS

An address list is a list of addresses with a name, which firewall rules use in place of an address written by hand. You write the entries yourself (static) or the firewall adds them as traffic goes by (dynamic, usually with an expiry). On this mechanism you build blacklists, port knocking, management allowlists, and domain filters.

Illustrazione per Interface list MikroTik: come funzionano e perché il firewall le preferisceKnowledge base
Knowledge base · Interface list

MikroTik interface lists: how they work and why the firewall likes them

An interface list is a group of interfaces with a name, for example WAN or LAN. Firewall rules, neighbor discovery, and the MAC server look at the list instead of the single port: when you add a PPPoE line, an LTE one, or a second WAN, you put it in the list and the rules apply to it right away.