CHR: Hetzner Cloud Installation
To run CHR on Hetzner Cloud, start a cloud server in the rescue system and write the CHR raw disk image over its system disk.
Install CHR
-
Create a Hetzner Cloud server. Choose a server with an x86 CPU: the steps use the x86 CHR image.
-
Start the rescue system.
- In the Hetzner Cloud Console, open the server and select ENABLE RESCUE & POWER CYCLE.
- Choose
linux64as the rescue OS. - The console shows a user name and a password. Log in to the rescue system by SSH with them.
-
Write the CHR image to the disk. In the rescue system, download the CHR raw disk image and write it over the system disk of the server. Set
VERSIONto the RouterOS version you want (see the MikroTik download page):VERSION=7.x.ycurl -L https://download.mikrotik.com/routeros/$VERSION/chr-$VERSION.img.zip \| funzip | dd of=/dev/sda bs=1MnoteThe device name of the system disk (
/dev/sdain the command) can differ, depending on the cloud provider configuration. Check it in the rescue system before you write the image. -
Reboot the server with the
rebootcommand. The server starts CHR, and CHR uses the whole disk. -
Log in by SSH as
admin, with no password, to the public IP address of the server, or in the server console of the Hetzner Cloud Console.
After the installation
CHR starts with the user admin and no password, on a server with a public IP address. Set a
strong password at the first login and secure your router.
Keep RouterOS up to date (see Upgrade).