2024-02-09 19:23:20
Mikrotik to Mikrotik IPSec Tunnel
In this tutorial I will be showing you how to connect two
Mikrotik routers which will be hosted using
QEMU. The configuration will allow both routers to communicate via an
IPSec tunnel. Each router will have one or more clients connected. Here is a diagram
of the network topology:
First we will need the
RouterOS, and
OpenBSD images so we can use
QEMU to run them.
Fetch the RouterOS image:
curl -O https://download.mikrotik.com/routeros/7.11.2/chr-7.11.2.img.zip
Fetch the OpenBSD install ISO:
curl -O https://cdn.openbsd.org/pub/OpenBSD/7.3/amd64/install73.iso