In Episode 2, we saw that RouterOS processes communicate via M2. But how does an external client — for example, the WinBox application on your laptop — authenticate? It cannot simply send an M2 message with the password in clear text. There must be a cryptographic protocol that protects the credentials.

For WebFig (port 80), MikroTik chose the standard path: ECDH (Elliptic Curve Diffie-Hellman) over Curve25519. The client and the server exchange public keys, derive a shared secret, and from then on everything is encrypted. The password travels encrypted inside the channel. Simple, standard, secure.

Reserved for members

This content is reserved for those in the dojo.

Entry is free: you subscribe to the newsletter with your email and then choose to join the dojo, without a password. How it works

Sign up for free I am already registered: log in