Firewall and QoS Case Studies
This page presents practical case studies for configuring firewall and QoS rules in MikroTik RouterOS, covering brute-force prevention, DDoS protection, connection rate limiting, port knocking, and advanced firewall designs.
Firewall and Quality of Service
This section provides an overview of RouterOS firewall capabilities including NAT, connection tracking, and QoS features for securing traffic, classifying packets, and managing bandwidth.
Nv2
Nv2, the MikroTik TDMA wireless protocol of the wireless package: how the access point schedules the medium, how it compares with 802.11 and Nstreme, the wireless-protocol values, the settings of an Nv2 access point, migration of a network to Nv2, access point synchronization, QoS queues and Nv2 security.
NVIDIA DGX Spark clusters
Plan an NVIDIA DGX Spark cluster with a MikroTik switch: choose the hardware, see what performance to expect, and follow example configurations to run a local coding assistant for a small team.
Quality of Service
This documentation introduces Quality of Service (QoS) features in MikroTik RouterOS for devices with Marvell Prestera switch chips, detailing QoS prioritization, traffic shaping, and congestion management. It covers RouterOS v7.23 enhancements like lossless traffic support, dynamic buffers, and QoS device compatibility tables for various switch models.
Queue Burst
Queue Burst feature allows temporary bandwidth bursts beyond configured limits when average traffic stays below a threshold, using burst-limit and burst-time parameters to control the burst duration and size.
Queue tree
A queue tree in RouterOS limits traffic in one direction, selected by packet mark, on an interface or globally. This page shows how to limit an Internet connection without mangle rules, give priority to voice traffic and limit marked traffic.
Queue types
Queue types in RouterOS are named sets of settings for a queuing algorithm: FIFO, RED, SFQ, PCQ, CoDel, FQ-CoDel or CAKE. Create a queue type in /queue/type and assign it to a simple queue, a queue tree or an interface queue.
Queues
Overview of queues in RouterOS: rate limiting principles, committed and maximum rates, interface queues, and links to the Simple queue, Queue tree, queue type, HTB, burst and queue size pages.
Simple queue
A simple queue in RouterOS limits the upload and download rate of a target: an address, a network or an interface. This page shows how to limit a device or a network, order queues, guarantee a rate, limit by time of day and by destination.
WMM and VLAN priority
This page explains how MikroTik RouterOS implements WMM (Wi-Fi MultiMedia) and VLAN priority for QoS, detailing how traffic is categorized into access categories (background, best effort, video, voice), VLAN priority handling, and methods to set packet priorities using IP firewall mangle rules or bridge filters.