Page 1 of 1

How to set facebook speed 5mbps to all clients through pcq simple queues

Posted: Wed Jul 05, 2017 12:55 pm
by soabbd
Hello all, i want to set Facebook speed 5mbps to all of my clients through pcq in simple queues, i have searched all over internet but couldn't find a way to make it since i am new to mikrotik so an elaborated way will help me a lot like how to do it through winbox.

Re: How to set facebook speed 5mbps to all clients through pcq simple queues

Posted: Wed Jul 05, 2017 1:06 pm
by vasilaos
only fcb?

Re: How to set facebook speed 5mbps to all clients through pcq simple queues

Posted: Wed Jul 05, 2017 1:12 pm
by soabbd
Different clients have already assigned diffrent speed like some assigned to 2mbps some are 5mbps to all websites. Now i want to pcq facebook so those 1mbs, 2mbps and all clients can browse facebook through pc and mobile at 5mbps speed

Re: How to set facebook speed 5mbps to all clients through pcq simple queues

Posted: Wed Jul 05, 2017 1:20 pm
by vasilaos
do you use simple queues or queue tree?

Re: How to set facebook speed 5mbps to all clients through pcq simple queues

Posted: Wed Jul 05, 2017 1:22 pm
by soabbd
I use simple queues

Re: How to set facebook speed 5mbps to all clients through pcq simple queues

Posted: Wed Jul 05, 2017 2:06 pm
by vasilaos
yes sorry you have specified in title now that i see. it isn't that easy task you have to be familiar with Layer7 Protocol, Filter rules, Mangle, Queue Types.

the right direction to this is to:

1. create a Layer 7 protocol to detect facebook.com traffic regexp:
^.+(facebook.com).*$
2. create a filter rule that will add dst address of detected traffic to an address list. use the Layer 7 entry created in step 1
3. create rules in mangle to mark connections and traffic to these dst address list
4. create a queue type pcq download of 5M rate
5. use the traffic mark and the queue type in a simple queue or queue tree

try following these steps yourself or tell here wich one you don't understand or if you want more detailed tutorial it needs a little more time to compile it

Re: How to set facebook speed 5mbps to all clients through pcq simple queues

Posted: Wed Jul 05, 2017 2:08 pm
by vasilaos
traffick mark i mean mark packet

Re: How to set facebook speed 5mbps to all clients through pcq simple queues

Posted: Wed Jul 05, 2017 2:15 pm
by soabbd
Thanks a lot vasilaos to response immediately but sorry to say that as i mentioned i am at very beginner stage of mikrotik so i need a detailed tutorial if it take some time it's totally acceptable and i am okay with it but i need it urgent so could you please describe me the whole process

Re: How to set facebook speed 5mbps to all clients through pcq simple queues

Posted: Wed Jul 05, 2017 2:29 pm
by vasilaos
i will do this later but i can not guarantee it will work 100% with simple queues since i use queue tree for marked packets and simple queues in a few cases

Re: How to set facebook speed 5mbps to all clients through pcq simple queues

Posted: Wed Jul 05, 2017 2:57 pm
by soabbd
Thanks a lot :) please do it when you are free

Re: How to set facebook speed 5mbps to all clients through pcq simple queues

Posted: Thu Jul 06, 2017 7:26 am
by soabbd
I need it urgent can anyone else help me with this