The network operating system that powers MikroTik routers, switches, and wireless devices
commercial softwareself-hostablefree
RouterOS is MikroTik's network operating system, a stand-alone system based on the Linux kernel that runs on MikroTik's own routers, switches and wireless devices, on x86 PCs, and as Cloud Hosted Router (CHR), a virtual machine image for x86_64 hypervisors and clouds such as AWS, Azure, Google Cloud, Hetzner Cloud, Linode and Vultr. It covers routing (BGP, OSPF, IS-IS, RIP, MPLS, VRFs, EVPN), a stateful firewall and NAT, queues for bandwidth management, VPNs (WireGuard, IPsec, OpenVPN, L2TP, SSTP, PPPoE, ZeroTier), wireless access points with central management, a HotSpot captive portal, VRRP, scripting and Linux containers. It's configured with the WinBox desktop app, the WebFig web interface, the CLI, an API and, since RouterOS 7.1, a REST API. MikroTik hardware comes with a licence; on x86 the licence is a one-off purchase from $45 to $250 per installation with a free demo level, and CHR has a free level limited to 1 Mbps per interface and perpetual licences of $45 (1 Gbps), $95 (10 Gbps) and $250 (unlimited).
Problems it solves
- an affordable router OS for a small ISP with a PPPoE server, RADIUS and per-customer bandwidth limits
- run a virtual router in AWS, Azure or Hetzner to connect our cloud network to the office over VPN
- a virtual router for Proxmox or ESXi that speaks BGP and OSPF
- a captive portal hotspot with user logins for a café, hotel or campus WiFi network
- limit and prioritise bandwidth per customer on a wireless ISP network
- configure a router from a desktop GUI instead of memorising commands
- automate router configuration through a REST API instead of logging in to each device
- a free virtual router image for a network lab with every feature unlocked
- a BGP edge router for a small ISP without paying for Cisco or Juniper licences
- turn an old PC into a full-featured router with a one-off licence instead of a subscription
- WireGuard and IPsec VPNs between offices on the same router that does our firewall
- run a container such as a DNS ad blocker or Home Assistant on my router
- manage many WiFi access points from one controller on our main router
- MPLS, VRFs and EVPN on an affordable software router for a service provider network
- two routers with automatic failover using VRRP
- parental controls and time limits for kids' devices on a home router
- script and schedule router tasks on the device itself
- remote management of customer routers with TR-069
- a router licence that never expires and includes software upgrades
- learn the same router OS that runs on cheap MikroTik hardware in a virtual machine first
Features
- runs on MikroTik hardware, x86 PCs and as Cloud Hosted Router (CHR) on x86_64 virtual machines
- CHR images and guides for VMware ESXi and Fusion, Proxmox VE, Hyper-V (Generation 1), VirtualBox and Xen
- CHR installation guides for AWS, Google Cloud, Hetzner Cloud, Linode, Microsoft Azure and Vultr
- BGP, OSPF, IS-IS, RIP, BFD, RPKI, MPLS, VRFs, EVPN and policy routing
- stateful firewall, NAT, connection tracking, UPnP and NAT-PMP
- queues for bandwidth management and QoS
- WireGuard, IPsec, OpenVPN, L2TP, PPTP, SSTP, PPPoE, GRE, EoIP and ZeroTier
- HotSpot captive portal with customisation, and User Manager for RADIUS and HotSpot users
- wireless access point and backhaul links, with CAPsMAN for central access point management
- VRRP, bonding, load balancing and MLAG for high availability
View 8 more
- Linux containers on arm, arm64 and x86 (container package)
- management through WinBox, WebFig, the CLI, the MikroTik mobile app, the API and a REST API (from v7.1beta4)
- scripting language with scheduled scripts
- TR-069 client for remote management
- Kid Control parental controls
- packages for arm, arm64, mipsbe, mmips, smips, tile, ppc and x86
- stable, long-term and testing release channels
- perpetual licences with unlimited upgrades; Netinstall for reinstalling devices
Limitations
- Doesn't run on the bhyve hypervisor or paravirtualized platforms: Cloud Hosted Router needs a full x86_64 virtual machine1
- Doesn't allow third-party packages: every RouterOS package is made by MikroTik2
Ways to run it
RouterOS for x86
24-hour trial; Level 1 free demo (registration; one tunnel, VLAN and queue, no version upgrades from 7.8); Level 4 $45, Level 5 $95, Level 6 $250, one-off per installation34
Only in this edition
- runs on a physical x86 PC
- paid licences never expire and include unlimited upgrades
You arrange
- an x86-64 PC with at least 512 MB RAM and 128 MB of disk
- a mikrotik.com account to buy the licence key, which is bound to the disk it's installed on
Cloud Hosted Router (CHR)
Free (1 Mbps per interface); P1 $45 (1 Gbps), P10 $95 (10 Gbps), P-Unlimited $250, perpetual; 60-day free trial of paid levels15
Only in this edition
- every RouterOS feature at every licence level, limited only by speed
- perpetual licences transferable between CHR instances in the same MikroTik account
You arrange
- an x86_64 hypervisor with full virtualization (ESXi, Proxmox VE, Hyper-V Generation 1, VirtualBox, Xen) or a cloud instance
- at least 256 MB RAM (1024 MiB recommended) and 128 MB of disk
- a mikrotik.com account for trials and licences
Capabilities
| Has an API | plan not known |
|---|---|
| Has a command line tool | plan not known |
Alternatives
The same job
These do what MikroTik RouterOS does.
- pfSense Open source firewall, router and VPN software from Netgate
- VyOS Open-source router and firewall platform
- TNSR A terabit software router and VPN concentrator
- OPNsense Open source, feature-rich firewall and routing platform
- OpenWrt A Linux operating system targeting embedded devices
- UniFi Networking, physical security and door access hardware with license-free management software
