Cloud VPS from $1.98/mo · pay with Bitcoin, Ethereum, Monero, USDT or Solana · paid in crypto
Networking

MikroTik CHR on a VPS: five checks before you deploy

Before you run MikroTik CHR on a VPS, check the virtual hardware, how the image reaches the disk, the license level, IPv6 and the CPU your tunnels need.

CloudSat teamNovember 18, 20267 min read
Abstract illustration of a small glowing router cube floating above a grid of virtual machines, with light paths fanning out to distant points
On this pageCheck 1: the VPS is a full virtual machine

MikroTik's Cloud Hosted Router (CHR) is RouterOS built to run as a virtual machine. On a VPS it makes a WireGuard or IPsec hub for branch offices, a BGP lab, or a place to rehearse configuration before it touches a production router. It is also pickier than a Linux image: it needs a full virtual machine, arrives as a disk image rather than an installer, and stays speed-capped until it is licensed. Run these five checks before you pay for the server.

Check 1: the VPS is a full virtual machine

CHR brings its own kernel, so container-based VPS products (OpenVZ, LXC) cannot run it, and MikroTik lists paravirtualized hypervisors as unsupported. On a KVM virtual machine, CHR works with virtio, E1000 or vmxnet3 network adapters and IDE, SATA or virtio disks. Prefer virtio-net: RouterOS 7 offers Fast Path only on virtio-net and vmxnet3 adapters. Interfaces show up as ether1, ether2 and so on.

If the provider offers a Linux image, a one-hour test server answers the question in seconds:

systemd-detect-virt              # prints "kvm" on a KVM guest, "openvz" or "lxc" on containers
lspci | grep -i -E 'ethernet|virtio'

Memory is the other hard floor. MikroTik's minimum for RouterOS 7 is 256 MB + 8 MB × CPU count × (interface count - 1), it recommends 1 GB, and the disk needs at least 128 MB. A two-vCPU server with one interface needs the base 256 MB, while four vCPUs and three interfaces need 320 MB.

Check 2: a way to put the image on the disk

CHR ships as disk images (raw .img, VMDK, VHDX and VDI), not as an installer ISO, so the question is how that image ends up on the server's disk.

Route What the provider must offer Effort
Ready CHR image or one-click app a CHR entry in the image list lowest
Raw image written from rescue mode a rescue system or bootable live Linux moderate
Upload your own disk image image import varies by provider

The rescue route works almost anywhere. Boot the rescue system, download the raw image from mikrotik.com/download, check which disk is the server's, and overwrite it:

lsblk -d -o NAME,SIZE,TYPE                        # confirm the target disk, often vda on KVM
unzip chr-7.x.y.img.zip                           # replace 7.x.y with the current stable release
dd if=chr-7.x.y.img of=/dev/vda bs=4M oflag=sync status=progress
reboot

Only do this from a rescue system, never from the operating system installed on that same disk. After the reboot, finish the network setup from the provider's VNC console if the router does not come up on its public address by itself.

CloudSat lists CHR as a one-click app, which skips the dd step, and its High Frequency VPS plans run AMD Ryzen cores at 4.2 GHz or more for routers that spend their day encrypting tunnels.

Check 3: the license level matches your traffic

Every CHR has every feature. The license only sets a speed limit on traffic leaving each interface:

Level Upload limit per interface Fits
Free 1 Mbps labs, config tests, management-only routers
P1 1 Gbps VPN hubs and small office gateways
P10 10 Gbps busy tunnels and traffic aggregation
P-Unlimited none routers where the server's port is the limit

Licenses are perpetual, bought from MikroTik or a reseller, and bound to the router's system ID and to your MikroTik.com account. A license can be transferred to another CHR in the same account, but not to a different account, and P1 or P10 can be upgraded to a higher level later.

The 60-day trial is the right tool for measuring real throughput before you buy. Request it from the router with /system license renew and your MikroTik.com login. When it ends, the router keeps running but can no longer upgrade RouterOS or change packages, and if nothing is bought within two months after that, the device drops out of your account and needs a fresh install to be licensed.

One trap is specific to cloud images. Instances cloned from the same image can share a system ID, and MikroTik's advice is to generate a new one after first boot and before requesting a trial or paid license, never after:

/system license print
/system license generate-new-id
/system license renew

Check 4: IPv6 arrives the way RouterOS expects

Ask two questions before you design addressing. Does the provider give you a single /64 on the link, or route a larger prefix to your server? And is the address configured statically or by router advertisements?

Routers normally ignore router advertisements once they forward traffic, so configure IPv6 statically with the values from the provider's panel:

/ipv6 address add address=2001:db8:10::2/64 interface=ether1 advertise=no
/ipv6 route add dst-address=::/0 gateway=2001:db8:10::1
/ping 2001:db8:10::1 count=3

If the gateway is a link-local address, write it with the interface, as in gateway=fe80::1%ether1.

The prefix type decides what you can hand to tunnel clients. With an on-link /64, the upstream router expects every address in it to answer neighbor discovery on that link, so giving addresses to WireGuard peers behind the CHR takes workarounds. A prefix routed to your server's address can be split freely. Also keep in mind that IPv6 has its own firewall under /ipv6 firewall filter; your IPv4 rules do not protect it.

Check 5: CPU, memory and transfer for the tunnels

Encryption is CPU work. Faster cores move more traffic through a single tunnel, and more cores help when many tunnels run at once, so a WireGuard or IPsec hub is sized by CPU before memory. Memory grows with interfaces, peers and routing tables: a full BGP table needs far more than the minimum above.

Transfer is the quiet cost. A full-tunnel VPN hub carries every byte its clients send and receive, so compare the plan's monthly allowance and overage price with what your sites actually move. Measure on a trial license with /tool bandwidth-test between two routers, or iperf3 from a client, since the free level caps any test at 1 Mbps upload.

Lock it down in the first ten minutes

MikroTik's documentation says a fresh CHR starts with the admin user and no password, and a public VPS address is scanned constantly. Create your own full-rights user, log in with it, disable admin, and close what you do not use:

/user add name=netops group=full password="use-a-long-unique-passphrase"
/user disable admin
/ip service disable telnet,ftp,www,api,api-ssl
/ip service set ssh address=198.51.100.0/24
/ip service set winbox address=198.51.100.0/24
/tool mac-server set allowed-interface-list=none
/tool mac-server mac-winbox set allowed-interface-list=none
/ip neighbor discovery-settings set discover-interface-list=none

Then add an input filter that accepts established traffic, ICMP, your tunnel ports and your management range, and drops the rest. Press Ctrl+X first to enter Safe Mode: if a rule cuts off your session, RouterOS rolls the changes back. Repeat the rules under /ipv6 firewall filter, and allow ICMPv6 there, because neighbor discovery depends on it.

FAQ

Can CHR run on the smallest VPS plan?

It boots: RouterOS 7 needs 256 MB at minimum, so even a 512 MB server starts. MikroTik recommends 1 GB, though, and full BGP tables or dozens of tunnels need more. For a small WireGuard hub, start on 1 GB and watch /system resource print.

Is the free license enough?

For labs, configuration rehearsal and a router that carries only management traffic, yes. At 1 Mbps upload per interface it is far too slow for user traffic, so run the trial, measure, and buy the level your peak needs.

Can I move the configuration from a hardware MikroTik?

Run /export file=office on the old router, copy the .rsc file across and paste in the sections you need, adjusting interface names. Binary backups are meant for the same device: they carry interface names and MAC addresses that do not exist on a CHR.

Can I announce my own IP addresses over BGP?

BGP itself runs fine on RouterOS 7, for labs and for private routing over tunnels. Announcing your own address space to the internet also needs the provider to run a BGP session with your server, which is not a standard VPS feature, so ask before you plan around it.

Run it on CloudSat. Cloud VPS on AMD EPYC and NVMe from $1.98/mo in 13 regions, delivered in under 5 minutes and paid in crypto. See plans or deploy a server.