Skip to main content
Version: 7.26

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​

  1. Create a Hetzner Cloud server. Choose a server with an x86 CPU: the steps use the x86 CHR image.

  2. Start the rescue system.

    • In the Hetzner Cloud Console, open the server and select ENABLE RESCUE & POWER CYCLE.
    • Choose linux64 as the rescue OS.
    • The console shows a user name and a password. Log in to the rescue system by SSH with them.
  3. 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 VERSION to the RouterOS version you want (see the MikroTik download page):

    VERSION=7.x.y
    curl -L https://download.mikrotik.com/routeros/$VERSION/chr-$VERSION.img.zip \
    | funzip | dd of=/dev/sda bs=1M
    note

    The device name of the system disk (/dev/sda in the command) can differ, depending on the cloud provider configuration. Check it in the rescue system before you write the image.

  4. Reboot the server with the reboot command. The server starts CHR, and CHR uses the whole disk.

  5. 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​

warning

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).