Community discussions

MikroTik App
 
User avatar
soabbd
newbie
Topic Author
Posts: 38
Joined: Mon Dec 12, 2016 11:19 pm

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

Wed Jul 05, 2017 12:55 pm

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.
 
vasilaos
Member Candidate
Member Candidate
Posts: 120
Joined: Tue Aug 04, 2009 9:50 am

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

Wed Jul 05, 2017 1:06 pm

only fcb?
 
User avatar
soabbd
newbie
Topic Author
Posts: 38
Joined: Mon Dec 12, 2016 11:19 pm

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

Wed Jul 05, 2017 1:12 pm

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
 
vasilaos
Member Candidate
Member Candidate
Posts: 120
Joined: Tue Aug 04, 2009 9:50 am

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

Wed Jul 05, 2017 1:20 pm

do you use simple queues or queue tree?
 
User avatar
soabbd
newbie
Topic Author
Posts: 38
Joined: Mon Dec 12, 2016 11:19 pm

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

Wed Jul 05, 2017 1:22 pm

I use simple queues
 
vasilaos
Member Candidate
Member Candidate
Posts: 120
Joined: Tue Aug 04, 2009 9:50 am

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

Wed Jul 05, 2017 2:06 pm

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
 
vasilaos
Member Candidate
Member Candidate
Posts: 120
Joined: Tue Aug 04, 2009 9:50 am

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

Wed Jul 05, 2017 2:08 pm

traffick mark i mean mark packet
 
User avatar
soabbd
newbie
Topic Author
Posts: 38
Joined: Mon Dec 12, 2016 11:19 pm

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

Wed Jul 05, 2017 2:15 pm

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
 
vasilaos
Member Candidate
Member Candidate
Posts: 120
Joined: Tue Aug 04, 2009 9:50 am

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

Wed Jul 05, 2017 2:29 pm

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
 
User avatar
soabbd
newbie
Topic Author
Posts: 38
Joined: Mon Dec 12, 2016 11:19 pm

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

Wed Jul 05, 2017 2:57 pm

Thanks a lot :) please do it when you are free
 
User avatar
soabbd
newbie
Topic Author
Posts: 38
Joined: Mon Dec 12, 2016 11:19 pm

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

Thu Jul 06, 2017 7:26 am

I need it urgent can anyone else help me with this