An open API service indexing awesome lists of open source software.

https://github.com/ipmartnetwork/install-mikrotik-chr

Install-MikroTik-CHR
https://github.com/ipmartnetwork/install-mikrotik-chr

Last synced: about 2 months ago
JSON representation

Install-MikroTik-CHR

Awesome Lists containing this project

README

          

# Install-MikroTik-CHR-on-VPS
Easy way for install Mikrotik’s Cloud Hosted Router on any Cloud VM

## Prerequisites

```bash
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
```bash
lsblk | grep disk | cut -d ' ' -f 1 | head -n 1
```
Find ethernet name
```bash
ip route show default | sed -n 's/.* dev \([^\ ]*\) .*/\1/p'
```
find ip address name
```bash
ip addr show $ETH | grep global | cut -d' ' -f 6 | head -n 1
```
find gateway name
```bash
ip route list | grep default | cut -d' ' -f 3
```
## Installation

For MikroTik 7.10

```bash
bash -c "$(curl -L https://raw.githubusercontent.com/ipmartnetwork/Install-MikroTik-CHR/main/mik710.sh)"
```

For MikroTik 7.13.2

```bash
bash -c "$(curl -L https://raw.githubusercontent.com/ipmartnetwork/Install-MikroTik-CHR/main/mik7132.sh)"
```

For MikroTik 7.14

```bash
bash -c "$(curl -L https://raw.githubusercontent.com/ipmartnetwork/Install-MikroTik-CHR/main/mik714.sh)"
```

For MikroTik 7.14.2

```bash
bash -c "$(curl -L https://raw.githubusercontent.com/ipmartnetwork/Install-MikroTik-CHR/main/mik7142.sh)"
```

For MikroTik 7.14.3

```bash
bash -c "$(curl -L https://raw.githubusercontent.com/ipmartnetwork/Install-MikroTik-CHR/main/mik7143.sh)"
```

For MikroTik 7.14.3 ARM64

```bash
bash -c "$(curl -L https://raw.githubusercontent.com/ipmartnetwork/Install-MikroTik-CHR/main/ARM64.sh)"
```

For MikroTik 7.16.2

```bash
bash -c "$(curl -L https://raw.githubusercontent.com/ipmartnetwork/Install-MikroTik-CHR/main/mik7162.sh)"
```

For MikroTik 7.18.1

```bash
bash -c "$(curl -L https://raw.githubusercontent.com/ipmartnetwork/Install-MikroTik-CHR/main/chr7181.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.