Limiting Netflix Traffic using MikroTik RouterOS Queue Tree

MA ICT October 20, 2021
Video Thumbnail
MA ICT Logo

MA ICT

@maict

About

Welcome to MA ICT official Youtube channel. MA ICT is a trade name of MA ICT B.V. MA ICT B.V. is a Netherlands-based IT company specializing in network consulting, training, and online courses for technologies such as MikroTik, OPNsense, Cisco, and other vendors. It serves clients worldwide, offering classroom and remote training, technical support, and tailored solutions for ISPs, enterprises, and IT professionals seeking advanced networking expertise.

Video Description

https://mynetworktraining.com - In this video I will show you how you can limit Netflix traffic using MikroTik RouterOS QOS Queue Tree. Here is the export of the configuration: /ip pool add name=dhcp_pool0 ranges=172.20.20.2-172.20.20.254 /ip dhcp-server add address-pool=dhcp_pool0 disabled=no interface=ether2 name=dhcp1 /queue tree add max-limit=2M name=Netflix-Total-Bandwidth parent=global add max-limit=512k name=Upload packet-mark=Up-Netflix-Packets parent=Netflix-Total-Bandwidth add max-limit=1536k name=Download packet-mark=Down-Netflix-Packets parent=Netflix-Total-Bandwidth /ip address add address=172.20.20.1/24 interface=ether2 network=172.20.20.0 /ip dhcp-client add disabled=no interface=ether1 /ip dhcp-server network add address=172.20.20.0/24 gateway=172.20.20.1 /ip firewall mangle add action=add-dst-to-address-list address-list=Netflix address-list-timeout=4w2d chain=prerouting content=nflxvideo.net add action=mark-connection chain=prerouting comment="Netflix Upload" dst-address-list=Netflix new-connection-mark=Up-Netflix-Conn passthrough=yes \ src-address=172.20.20.0/24 add action=mark-packet chain=prerouting connection-mark=Up-Netflix-Conn new-packet-mark=Up-Netflix-Packets passthrough=no add action=mark-connection chain=postrouting comment=Download dst-address=172.20.20.0/24 new-connection-mark=Down-Netflix-Conn passthrough=yes \ src-address-list=Netflix add action=mark-packet chain=postrouting connection-mark=Down-Netflix-Conn new-packet-mark=Down-Netflix-Packets passthrough=no /ip firewall nat add action=masquerade chain=srcnat out-interface=ether1 #Netflix #MikroTik #RouterOS