Get 50% Discount Offer 7 Days


Contact Info

Chicago 12, Melborne City, USA

+88 01682648101

[email protected]

Recommended Services
Supported Scripts
Install and Setup Mikrotik on Dedicated Server

MikroTik is a Linux-based operating system known as MikroTik RouterOS, and by installing it on the dedicated RouterBOARD hardware, it turns the hardware into a network router. Mikrotik works as a firewall, private network (VPN) server, and client, forming and enhancing the quality of broadband services, use as an access point, and other features in wireless networks. After reading this post you will learn How to Install and Setup Mikrotik on Dedicated Server. Therefore, we recommend you stay with us until the end of this post.

Tutorial Install and Setup Mikrotik on Dedicated Server

In this section, we will give you a complete guide to show how you can install Mikrotik on your dedicated server. So study carefully.

Mikrotik Features

  • Support Second Layer Forwarding
  • Support OSPF and BGP and VPLS/MPLS Routing Protocols
  • Powerful firewall up to the seventh layer
  • WEP, WPA, and WPA2 encryption
  • Multiple Tunneling Protocols such as OpenVPN, PPTP, PPPoE, and L2TP
  • IPv4 and IPv6 support
  • Email and SMS tools
  • Bandwidth Test
  • CALEA Data Mirroring
  • File Fetch tool
  • TFTP server
  • RADIUS and NTP client and server

Install Mikrotik on Dedicated Server

Before starting the Install Mikrotik on Dedicated Server training, we recommend you choose and buy the Cheap Dedicated Server plans provided on our website and enjoy its high quality. The first step should be to use SSH in order to connect to a server.

Then, refer to the software section on the official Mikrotik website. Note to download the stable distribution version or the long-term one.

As your next step, you should open cloud hosted router and copy the related link to download the raw disk image:

Install Mikrotik on Dedicated Server

As you entered the server console, run the command below to download the row image to your server:


Use the following command to install the unzip tool on the server:

yum install unzip

Now use the command below to unzip the installation image:


Note that the installation file name above which is unzip may be different, so check your file name using the below command:

ls - her 

As a result, you will see the list of necessary files:

list of necessary installation files on server

Apply the following command if you want to find out the name of the server disk that you should install routerOS:

fdisk -l

In order to write the previously unzipped installation image, to the /dev/vda disk, use the command below:

dd if=chr-7.5.img of=/dev/vda bs=4M oflag=sync

Here, we will use an unusual way to restart the server (for example, when the disk is not available). Run the necessary commands on the server console :

echo 1 > /proc/sys/kernel/sysrq
echo b > /proc/sysrq-trigger

As you finished this part, no longer you can access the server via SSH.

Setup Mikrotik on Dedicated Server

If you want to connect to the routerOS like using SSH, win box, or web access, you should setup the network interface on the server. For this reason, use VNC to connect to the server from your personal account.

As you encounter the login prompt enter admin.

VNC connection

Press Enter, as you asked to insert the password. Then, RouterOS will ask you to introduce yourself with the license and request to change your password. So enter your new password and confirm that:

change password on routerOS - Install and Setup Mikrotik on Dedicated Server

In the vmmanager server control panel you can find the IP address, mask, and gateway of the server. So, highlight the server and click on the IP Addresses button. Then, enter the command to configure the IP address in the RouterOS console:

IP address adds interface=ether1

Tip: is the IP address of your server.

Now, the following is the gateway configuration command:

ip route add gateway=yyy.yyy.yyy.yyy

Tip: yyy.yyy.yyy.yyy is your server gateway:

setup server gateway on routerOS - Install and Setup Mikrotik on Dedicated Server

In the end, in order to enter the RouterOS settings, use the link in your browser:


Note: The link is your IP address:


At the beginning of the article, Mikrotik was introduced and its features were mentioned. You can install Mikrotik on a dedicated server with the help of our step-by-step tutorial.


Is Mikrotik a Linux base operating system?

Yes, Mikrotik is a stand-alone operating system based on Linux.

Do we need to have a license for Mikrotik?

Mikrotik devices come preinstalled and they have a license. There is no need to pay any money.

Rate this post
Share this Post

Leave a Reply

Your email address will not be published. Required fields are marked *