MikroTik MTCSE lab 1 of 10
Securing the router: users, services, MAC server and neighbour discovery
Fernvale's new Harbourside edge router went live with RouterOS defaults, and a quick audit found it offering Telnet, FTP and the web interface to everyone and announcing its model and version to the ISP. Lock it down: named accounts with least privilege, only the services the NOC needs, on a non-default port and only from the management network, and no MAC access or neighbour discovery outside it.
Run this lab
It needs Lite: its 4 nodes are set to 4 vCPU and 1,280 MB in total. That fits the free demo too.
In your workspace: Shared, then MikroTik MTCSE RouterOS v7 guided labs, then 01 - Securing the router - users services MAC server and neighbour discovery
- Level
- Intermediate
- Time
- About 60 minutes
- Nodes need
- 4 vCPU, 1,280 MB
- Smallest plan
- Lite
The scenario
Fernvale's new Harbourside office router, EDGE, went live yesterday with RouterOS defaults plus addressing and NAT. A quick audit found that it answers Telnet, FTP and the web interface on every interface, the Internet side included, that its DNS cache answers anyone, and that the ISP's router can read EDGE's name, model and exact RouterOS version from neighbour discovery. Everyone logs in as admin.
Harden EDGE so that only the NOC's management network (10.10.10.0/24, ether3) can manage it, with named accounts, encrypted services only, and nothing on the WAN or staff LAN that an attacker can use.
| Device | Interface | Address |
|---|---|---|
| EDGE | ether1 (WAN) · ether2 (staff LAN) · ether3 (management) | 203.0.113.2/29 · 192.168.40.1/24 · 10.10.10.1/24 |
| WESTLINK (the ISP) | ether1 | 203.0.113.1/29 |
| STAFF (a RouterOS router playing a staff PC) | ether1 | 192.168.40.20/24 |
| NOC (Linux) | eth0 | 10.10.10.10/24 |
EDGE already has interface lists WAN, LAN and MGMT with one interface each.
What you’ll practise
- Name the common threats to a router and the layers of RouterOS hardening
- Create least-privilege groups and users and restrict where they may log in from
- Disable unused services, restrict the rest by address and move SSH off its default port
- Limit MAC-Telnet, MAC-WinBox, MAC ping and neighbour discovery to the management interface
- Verify the result from inside and outside
The tasks
- Address the NOC PC
- Audit what EDGE exposes
- Named accounts with least privilege
- Only the services you need, only from the NOC
- Switch off what nobody uses
- MAC access and neighbour discovery only on the management network
The Lab Tasks pane has the scenario, these tasks, the checks to run, hints and the full solution.
Topology and devices
The network as it opens in EVE-NG, drawn from the lab’s own canvas, and the image each node runs.
Every link, as text
- EDGE
ether1to WESTLINKether1 - EDGE
ether2to STAFFether1 - EDGE
ether3to NOCeth0
| Node | Device | Image in Add Node | Set to |
|---|---|---|---|
| EDGE | MikroTik RouterOS | mikrotik-7.14.2 | 1 vCPU, 256 MB |
| WESTLINK | MikroTik RouterOS | mikrotik-7.14.2 | 1 vCPU, 256 MB |
| STAFF | MikroTik RouterOS | mikrotik-7.14.2 | 1 vCPU, 256 MB |
| NOC | Alpine Linux | clbalpinebase-alpine-base-3-20-3 | 1 vCPU, 512 MB |
How to open this lab
Sign in to your workspace at
lab.cloudlabbox.com.In File Manager, open Shared, then the folder
MikroTik MTCSE RouterOS v7 guided labs.Open
01 - Securing the router - users services MAC server and neighbour discoveryand start its nodes, then open Lab Tasks for the scenario and the steps.
The lab is read-only. You can start the nodes and configure the devices, but changes to the topology can’t be saved. To change it, rebuild it in your own folder.
More MikroTik MTCSE labs
Related labs in other courses
CloudLabBox is independent of MikroTik. The lab follows exam topics and isn’t vendor training material; vendor names identify the exams and the images in the workspace.