Skip to content

Easy way for install Mikrotik’s Cloud Hosted Router on any Cloud VM

License

Notifications You must be signed in to change notification settings

gunk1n/Install-MikroTik-CHR-on-VPS

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Install-MikroTik-CHR-on-VPS

Easy way for install Mikrotik’s Cloud Hosted Router on any Cloud VM

Prerequisites

  1:
  VPS with VNC access (Preferably Ubuntu > 20.04)
  2:
  This network information is required:
  IP Address - Net Mask - IP Gateway
  3:
  In some cases you need to disable the Virtio driver!

Find information manually

Find storage name

lsblk | grep disk | cut -d ' ' -f 1 | head -n 1

Find ethernet name

ip route show default | sed -n 's/.* dev \([^\ ]*\) .*/\1/p'

find ip address name

ip addr show $ETH | grep global | cut -d' ' -f 6 | head -n 1

find gateway name

ip route list | grep default | cut -d' ' -f 3

Installation

For MikroTik 6.48.6

  bash -c "$(curl -L https://raw.githubusercontent.com/azadrahorg/Install-MikroTik-CHR-on-VPS/main/mik-6486.sh)"

For MikroTik 7.10.2

  bash -c "$(curl -L https://raw.githubusercontent.com/azadrahorg/Install-MikroTik-CHR-on-VPS/main/mik78.sh)"

After install be sure to turn off the server and turn on again

Post installation settings

In some cases it is possible that the network settings inside the MikroTik may not be done correctly that you must manually and through the VNC console.

About

Easy way for install Mikrotik’s Cloud Hosted Router on any Cloud VM

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%