RouterOS Site-To-Site OpenVPN Server And Client Tutorial

OpenVPN offers flexible VPN products to that help make network connections secure for nternet privacy, remote access, site-to-site or for networking in private / public cloud services. Mikrotik Router have built in support for the OpenVPN protocol and can deploy secure VPN connections out of the box or after OVPN package installation. This tutorial aims to provide a guide on how to setup a OpenVPN site-to-site VPN


In order to complte this tutorial successfully the following items are required. Please ensure to have these items available before taking implimentation action on this tutorial :
1) 2 x Mikrotik Routers
2) 1 x Public IP Adress ( Configured on the OpenVPN Server Router)
3) Ethernet cables
4) Desktop or Laptop Computer With Winbox Utility installed

Step One : Network Diagram

Below is an illustration of the network diagram used in this tutorial. The topology of the network shown below may vary from your actual network topology but the concept shown here works in almost all topologies.

In this network topology, SiteA Router is connected to internet through its ETHER1 interface and is configured with the IP address ETHER2 interface is the LAN interface and has the IP address SiteA is configured as the OpenVPN server and will create an OpenVPN tunnel with the IP addres
SiteB router is configured to dial into the SiteA router through the OpenVPN tunnel to enable LAN devices on both sides to communicate. The ETHER1 interface on SiteB router is connected to internet and has the IP address The ETHER2 interface acts as the LAN interface and has the IP address The OpenVPN interface on the SiteB router has the IP address

Step Two : Configure SiteA Mikrotik OpenVPN Server