Mikrotik 5.18, RB 450G, Speed limit for facebook, youtube, and torrent traffic

Hello, how are you ? :slight_smile:

I have a few question about my topic, I got task to do. I must do limitation for facebook, torrent and youtube traffic, I try a few scripts from google, but I did not managed anyting :frowning:, Any help ? I understand what I must to do, but I do not have special experience with Mikrotik.

First you should mark all packets from those connections with Firewall Mangle:
http://wiki.mikrotik.com/wiki/Manual:IP/Firewall/Mangle

When packets are marked, you can apply queues tree on them:
http://wiki.mikrotik.com/wiki/Manual:Queue

Use PCQ to share bandwidth equally on every host:
http://wiki.mikrotik.com/wiki/Manual:Queues_-_PCQ_Examples

The hardest part here is to catch packets from those connections, because these sites use HTTPs, which is encrypted.

One way is to make /ip firewall address-list and put all IP addresses, that are
used by facebook/gmail.

I know that, but every script what I found, did not works. I will try with IP address, do you have any example ?