50% 할인 모든 플랜, 기간 한정. 시작 가격 $2.48/mo
읽는 데 8분
보안 및 네트워킹

2025년 VPS에 MikroTik을 설치하는 방법 - VPS에서 MikroTik CHR 설정 완벽 가이드

Alex Robbins By Alex Robbins 읽는 데 8분 2025년 9월 8일 업데이트
VPS에 MikroTik 설치하기

No need to install manually! We provide a pre-installed and ready-to-deploy, one-click MikroTik app.

Deploy MikroTik VPS

If you have ever wanted to look into running a router in the VPS without hardwares? then you are at the right spot. In this tutorial, I will take you through all there is to know about MikroTik CHR. I will tell you what it is, why it would be interesting to run on a VPS, how it works, what you can actually use it for, benefits of having a VPS defined over physical hardware, and what you should maybe gather before you start. After that, I will take you through the cool common steps of installing MikroTik on a VPS (Ubuntu version), and the performance tweaks I recommend.

Install MikroTik on a VPS

A Short Guide on Mikrotik CHR

MikroTik is an industry-favorite hardware company producing a range of modems, routers, and even a few server devices. Its routers were especially popular because of their unique operating system. After a while, MikroTik started releasing that operating system as an independent piece of software, calling it RouterOS. RouterOS basically allows you to turn any computer system into a MikroTik router device, providing practical but straightforward functionality. MikroTik CHR (Cloud-Hosted Router) is a version of RouterOS MikroTik released more recently. CHR is designed to function on clouds, Virtual Private Servers (VPS), and virtual machines.

Mikrotik CHR Use Cases

So, MikroTik CHR is your best bet for turning your remote server into a router, so you can easily create powerful VPN servers, load balancers, and more. Many admins love it for tasks like MikroTik VPN setup, where you can build secure tunnels for remote workers or branch offices. It’s up to you to make the most of your virtual, remote MikroTik router, but potentially, there are a lot of incredible use cases for a MikroTik CHR VPS. If you use a Windows PC or laptop, you can also use MikroTik’s Winbox to simplify using MikroTik’s CHR or RouterOS. Naturally, I’ll show you how to do that as well as how to install MikroTik on a VPS.

Other Use Cases:

  • VPN server
  • Load balancer
  • Firewall & security gateway
  • Bandwidth management (QoS, shaping)
  • Network monitoring (NetFlow, SNMP)
  • Hotspot gateway with captive portal
  • Remote access gateway
  • Multi-WAN router (failover/load balance)
  • IoT device hub
  • Virtual lab for testing

 

Mikrotik CHR and Use Cases

Running MikroTik on an Ubuntu VPS

MikroTik installed on an Ubuntu server is like making a high-tech control tower in the cloud. You will serve the role of the air traffic controller for your network. You will handle traffic and create routing in such a manner that the physical router may never need to be touched. Everything is virtual and changeable and can be controlled from anywhere in the world.

For example, you can customize a MikroTik DNS server setup to make sure your clients opt their queries in no time at all, no matter what location they come from. You can handle firewall rules without ever laying hands on on-premise equipment remotely.

Advantages of Installing MikroTik on a VPS

  • Anywhere-Anytime: set up a MikroTik router in a remote data center in just minutes.
  • Scale-On-Demand: Increase the VPS and say goodbye to adding more hardware.
  • Cost Effective: No more buying and maintaining routers and paying for the VPS instead.
  • Resilient: Use your provider’s uptime and backup and redundancy.
  • Safe Environment: Run performance tests for VPNs or firewall rules or routing setups.

 

install MikroTik CHR on VPS

Requirements to Install MikroTik on a VPS

Make sure you meet these conditions:

  • A VPS (best is KVM-based) with at least 1 CPU, 512MB of RAM, and 2GB of storage.
  • Your OS installed must be Ubuntu (no older than 22.04).
  • SSH access (on Windows use PuTTY, and on Linux/Mac just use ssh).
  • The MikroTik CHR image.

 

Some VPS providers will not allow custom OS boot. Be sure that your host supports ISO / disk mounting.

How to Install MikroTik on a VPS

Step 1: Buy a Mikrotik VPS

Head over to Cloudzy.com and buy a MikroTik VPS plan. Make sure to get a plan with decent resources, so your remote router can handle the tasks you have in mind for it. I would suggest the “Growing” plan, which is basically the most affordable plan with the necessary resources and performance. To manually install MikroTik Router (CHR) on your Cloudzy VPS, you need to select a Linux VPS and choose Ubuntu 16 or 18 as your VPS operating system.

Step 2: Update and Prepare Ubuntu VPS

Connect to your VPS:

ssh root@your-vps-ip

Update packages:

apt update && apt upgrade -y

Install tools you’ll need:

apt install wget unzip qemu-utils -y

Step 3: Download MikroTik CHR Image

Grab the latest stable CHR image from MikroTik:

wget https://download.mikrotik.com/routeros/7.15/chr-7.15.img.zip
unzip chr-7.15.img.zip

Step 4: Convert Image for VPS

Convert the raw image into a bootable format:

qemu-img convert -f raw -O qcow2 chr-7.15.img mikrotik-chr.qcow2

Write it to your VPS boot disk (replace vda with your disk):

dd if=chr-7.15.img of=/dev/vda bs=4M

Finish with:

sync

Step 5: Reboot Into MikroTik CHR

Restart the VPS:

reboot

When it comes back online, it will be running RouterOS CHR.

Step 6: First Login to MikroTik

By default, MikroTik CHR allows SSH on port 22. Connect with:

ssh admin@your-vps-ip

The default user is admin with no password.

First thing you should do is to set a password

password

Step 7: Access via Winbox or WebFig

If you are not a fan CLI, then you can handle CHR with GUI tools:

  • WebFig: Open http://your-vps-ip in your browser.
  • Winbox: Connect using the VPS IP.

Step 8: Basic Configuration

Enable a DHCP client on the main interface:

/ip dhcp-client add interface=ether1

Add NAT masquerade for internet access:

/ip firewall nat add chain=srcnat action=masquerade out-interface=ether1

 

As well as the traffic filtering layer, if you’re thinking about exposing some services, you will most likely want to configure MikroTik port forwarding rules so your VPS can safely direct external traffic to internal apps or devices.

How to install MikroTik on Ubuntu

Security Best Practices

  • Change the default credentials immediately.
  • Restrict SSH to your own IP:
/ip firewall filter add chain=input protocol=tcp dst-port=22 src-address=<your-ip> action=accept
/ip firewall filter add chain=input protocol=tcp dst-port=22 action=drop
  • Use HTTPS for WebFig, disable plain HTTP.

Security Best Practices of MikroTik CHR install

Optimizing MikroTik CHR on Your VPS

Installing MikroTik on a VPS offers you the option of cloud-based routing at the price of a physical hardware if you set it up correctly. Typically, the performance is determined more by the CPU than by the RAM of the VPS provider, so minor tweaks in the CHR configuration and virtualization can impact performance totally. This section will detail the important considerations for running your VPS based CHR quickly, stably and adequately.

  • VPS: Fast single-core CPU, 512 MB–2 GB RAM, SSD, 1 Gbps+ network.
  • CHR Version: Use VPS/Cloud 64-bit, keep updated.
  • Virtualization: Dedicated vCPU, virtio NIC, avoid bridges/nested virtualization.
  • CHR Tweaks: Enable FastPath, lean firewall/NAT, minimal logging, disable unused services/IPv6.

CHR Tweaks Quick Settings

  • FastPath / CFastPath: Enable for faster packet forwarding.
  • Firewall / NAT: Keep rules minimal; use raw rules where possible.
  • Logging: Limit or rotate logs to reduce disk and CPU load.
  • Services: Disable anything you don’t use (IPv6, DHCP, etc.).
  • Queues: Use simple queues only; avoid per-IP queues on high traffic.
  • Interfaces: Use virtio/paravirtualized NICs; avoid unnecessary bridges.
  • Monitoring: tool profile for CPU, SNMP or interface stats for traffic.

 

Increasing the Use of MikroTik CHR on Ubuntu

Wrapping Up

And well, with all being said, you have just learned the full process of Install MikroTik on a VPS. I have shown you what CHR is, the best use cases for CHR, and why it is better to set up CHR on a VPS than on actual hardware. I have also guided you through what you must have before you start.

자주 묻는 질문

Can I install MikroTik CHR without buying MikroTik hardware?

Definitely. In fact, the MikroTik CHR is an operating system designed to turn standard servers into routers with the same capabilities as a hardware MikroTik router.

Can I use shared hosting to set up a MikroTik CHR?

No, unfortunately not. You can only set up a MikroTik Cloud Hosted Router on a VPS, like Cloudzy’s MikroTik VPS. But with our prices being so affordable, you’ll hardly feel any difference in costs.

Does Cloudzy support full root and SSH access?

Of course! We provide full root access on all our VPS plans, and that means you can easily connect to your MikroTik CHR VPS using SSH.

Will MikroTik CHR work on my VPS provider or OS?

Runs on most virtual environments (KVM, VMware, Hyper-V, VirtualBox). Check if your VPS allows booting from ISO or raw images.

How do I mount and boot the CHR image?

Download the CHR image from MikroTik, mount it as a bootable disk/ISO in your VPS or hypervisor, then start the VM. Format conversion may be needed for some platforms.

Can I use MikroTik with my existing Ubuntu server setup?

CHR runs as a standalone virtual router. You can host it alongside Ubuntu and route traffic between them.

Is PuTTY mandatory for installing MikroTik on VPS?

No. Any SSH/telnet client works: OpenSSH, MobaXterm, Windows Terminal, etc.

Is MikroTik VPS secure for remote access?

Yes, if you: change default passwords, use secure protocols (SSH), firewall management ports, and keep CHR updated.

공유

블로그 더 보기

계속 읽기.

노트북이 빛나는 파란색과 금색 디지털 터널과 방패 아이콘을 통해 서버 랙에 연결되는 모습을 보여주는 MikroTik L2TP VPN 가이드의 Cloudzy 타이틀 이미지.
보안 및 네트워킹

MikroTik L2TP VPN 설정 (IPsec 포함): RouterOS 가이드 (2026)

이 MikroTik L2TP VPN 설정에서 L2TP는 터널링을 담당하고 IPsec은 암호화와 무결성을 담당합니다. 두 가지를 함께 사용하면 서드파티 없이도 네이티브 클라이언트 호환성을 확보할 수 있습니다.

Rexa CyrusRexa Cyrus 9분 분량
어두운 청록색 배경에 원격 호스트 식별 변경 경고 메시지와 수정 가이드 제목, Cloudzy 브랜딩이 표시된 SSH 터미널 화면.
보안 및 네트워킹

경고: 원격 호스트 식별이 변경되었습니다 - 수정 방법

SSH는 시스템 간에 암호화된 터널을 생성하는 보안 네트워크 프로토콜입니다. GUI 없이도 컴퓨터에 원격으로 접속해야 하는 개발자들 사이에서 꾸준히 사용되고 있습니다.

Rexa CyrusRexa Cyrus 읽는 데 10분
어두운 배경에 경고 기호와 파란색 서버가 있는 Linux 이름 확인 오류 관련 DNS 서버 문제 해결 가이드 일러스트
보안 및 네트워킹

이름 확인 임시 실패: 원인과 해결 방법

Linux를 사용하다 보면 웹사이트 접속, 패키지 업데이트, 인터넷 연결이 필요한 작업 실행 시 이름 확인 임시 실패 오류가 발생할 수 있습니다.

Rexa CyrusRexa Cyrus 읽는 데 12분

배포할 준비가 됐나요? 월 $2.48부터.

2008년부터 운영해온 독립 클라우드. AMD EPYC, NVMe, 40 Gbps. 14일 환불 보장.