Prioritize Whatsapp, Facebook and Instagram traffics using MikroTik RouterOS

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello everyone this is smart haddad here again in this lecture i have to show you how you can make priority for the whatsapp for the facebook and for the instagram on microtech routers so the idea is that actually i had a customer who requested from me that he want to give priority for his customers so what's up is being the highest priority so that means all traffic of whatsapp will pass first then the ones for facebook and then the ones for the instagram so i have configured that for my customer and it's working fine and this is the configuration that i have done i'm going to leave this for you on this video on the description so you can copy and paste it on your router microtech router and it works perfectly but i don't want to make the copy paste i just want to show you how this can be configured and what i'm doing over here so what we are going to do is that i'm going to collect the content and you can see these are the contents so for example.facebook.com.fbcdn.net so those are the facebook servers i collect them and i put them inside an address list and then i will apply something on that addresses and then i will give it a priority same i would do for instagram same i do for whatsapp so let's start directly to show you how this can be done so i'll copy first this one and we go to the microtech router and over here i have to go to ip firewall and i have to say on filter rules on the chain which is forward so anything which is passing through the router going to facebook.com and it is having content which is dot facebook.com then the action is to add it on a address list and now i will name it facebook and i will say that it's gonna be for four days four days that's 72 hours so two zero zero zero zero so all those ips would be actually is more 30 72 that's uh three days then it should be 96 actually but i'll make it for four days again myself so this is what it says over here then i will make copy for that one and all i need to do is just to change the content and i will copy this one this is the content for facebook as well and then i will go here and i will change that on the content then apply i make a copy also this one i will change it to dot facebook.net thus i have tested them and they are working perfectly dot facebook.net so now i do have an address list over here it's called facebook anytime someone tried to go to facebook it would collect all the ip addresses of those servers and we will keep it for four days so this is done for facebook let's do now for instagram so instagram i will let me also do something good here i will just make a comment here just to remember that so this is facebook facebook all right now i will do one for instagram so i'll copy the last one and forward now the content it is dot instagram.com and now we will make addresses here and start ground and also i would like to make a comment so i can separate them so this is done you can see that this one is instagram now i will also go here and copy that one i will take the second content which is cdn instagram.com again everything was tested and it works perfectly so this one very good instagram for four days all right now of course i need to remove here the comment all right so very good so now i have facebook i have instagram the last thing that i want to do is for whatsapp so i will copy that one and again i hear forward and then the content should be whatsapp so watch out we have watch.com this is the content and i will go back to the router and here i will say this to go to the others list what's up copy that one and make your comment watch up copy the second content should be if we look here it's whatsapp.net so we go here content whatsapp.net action is to go to whatsapp let's remove the comment okay now i will make copy for that one also the third one should be dot m e w a dot m e also apply copy what's up only so copy what's up actually this is wrong this should be here what's up and over here this should be here so that was wrong let's check i made one which was wrong this is good this is good this one this one is wrong so this is i remove it now everything is fine then i will make copy so the last one was w-a-m-e now what's up apply copy and the last one is dot w a dot m here and that's it all right so now what i've done is that you can see here on the address list in a moment that you will see that in case you pass traffic then it will capture all the ip addresses of those servers whatsapp instagram whatever and you will see them over here very good so so far so good now what i need to do after i have done this you see there is no traffic because i'm not connecting my computer to the internet yet so once you do that now the next step is that you have to create the mango rule and you have to say that for any connection which is coming from the others this which is facebook then you have to mark it as connection which is facebook and then that connection will be part marked as a packet which is fake spook packet and then you give it a priority which is in this case it's gonna be priority two because we need to make whatsapp priority one facebook priority two and instagram priorities 3. so that means this has higher priority than this one and this one has a higher priority than that one all right so how to do that let me show you so let's go to the microtech router so now let's say that the traffic is passing people are going to facebook instagram and whatsapp then here you will see the servers of facebook and software whatsapp and of instagram now you need to go to the mango rule and then from here you have to say pre-routing all right on the pre-routing you have to say anything which is coming and this is what it's showing for you here anything which is pre-routing has changed and it is destination addresses facebook then give it a new connection mark which is facebook connection all right let me show you how this to be done so from here we have to go for to advance and then destination address is facebook then action is to make it here mark connection and we mark this connection to be facebook and then i will leave the password so it goes to the next rule all right so once i do that let's also put here a comment facebook facebook all right so once i do that then i will follow it with another one which is also pre-routing so pre-routing anything which has the connection mark facebook connection then the action is to mark the packet because you know once you open a connection there will be many packets passing through that connection so i will mine those packets and i will call them facebook packet or package and then i will take out the password because then it doesn't have to go down all right so that's what i need to do over here for facebook and then those packets which are facebook packets now what i can do i can go to the queue open the simple queue and i will say q1 and let's call it for example queue facebook so anything which is going to do anywhere which is also facebook is there but it has the packet which is facebook packets then give it a priority on the upload to and on the download 2 because we said that facebook should have priority of two that's correct so now facebook has priority of two let's do now for the second one is let's do whatsapp right that's uh or instagram let's do instagram so i will make another one copy and i will make the comment this time insta gram pre-routing anything pre-routing which is in the others list destination address list instagram then mark their connection and name them insta background connection all right so that's instagram connection let's put this up and now i'll make copy of the packet and now i will say pre-routing anything which is marking as instagram connection then mark their packet and give it a mark which is instagram package and then we take out the bathroom so let's check this one is instagram package so i will remove very very careful you have to put them in the nice order otherwise this future will not work because it works sequentially to check first the second the third and the fourth and so forth all right so i have made also for instagram now we go for the queue instagram should be on cue number three so we go from here we create for example queue instagram and then here mark package instagram and we give it a priority of three all right that's what we have to do now the last one if you want also you can put a comment here so you can know so this is facebook this is instagram all right the third thing that we need to do is for whatsapp so again we create one and we say pre-routing anything which is inside the destination address whatsapp then mark their connection and call them what's up connection and we leave the pass through and then i will make here comment what's up now i will create another one anything which is pre-routing which is here marked having the connection mark as whatsapp connection then the action is to mark them their packet and call them whatsapp package [Music] and that's it so package and then i will say here okay let's see if this one we made it correctly yes very good now we go to the queue we create another queue and we name it cue a whatsapp and whatsapp we shared we want to give it so this is the package we give it one as priority all right and now we can also give it a comment what's up also on this uh simple queue then you put them in order because it's much better so this is if the match first then this is the first one that is the second the discern and that's how we do it now of course at the end you also need to make one queue for the rest if you want and then you can say that for everyone else the priority is eight eight is the least priority so with while doing that you see that we have already configured everything what you see over here now if you want to make a test we can run the test we can see if this is going to work but i need to check first if my router is configured to have internet let's have a look so i have to go to ip address all right i see that w learn that's possible that i have internet on the wireless let's check yes i have wlan 3 all right so now i can i can enable the internet on my computer to check if it's gonna work or not let me enable it i will have to um over here go to the network and sharing center and then i have to make change adapter and i have to open the wireless enable so now i'm connected to the wireless i have internet on my computer and this internet is connected from this router if you want to see you can see this is the registration so this is my computer over here very good so now let me show you something if i go to for example facebook i will open here on that browser i will just open for example facebook.com facebook.com so once i go to facebook.com if i go to the router over here look it just directly captures some servers so what he has done he captured those servers and we have what we said here to capture those servers or and put them inside the address list once he has done that that the micro rule is saying to him that all those connections which are inside the others list that where you have capture captured them then mark them and then mark their packets and then what you do just give them a priority over here which is priority number two you understand so that's what's happening if i go now on the browser and i open twitter.com so let's go now and check address list not yet but in a moment it should have some address list for twitter let's do for example sign up or whatever it should capture something so not yet let's try instagram this diagram go here here we go instagram showed up so this is what this you can see it stays for four days so by doing that you are allowing for your customers you give them some priority and this is really very very nice way to make it and i have made it for my customer and he is very happy now i'm not sure why the twitter didn't work um i'm not sure if they have changed some servers but this should not be the case if i go to twitter and twitter let's check now it didn't capture so we didn't oh we didn't capture twitter we just captured whatsapp instagram and facebook so we didn't capture twitter yeah sorry guys so we didn't go for twitter it was what's up if we go to whatsapp we click on whatsapp and now here we go whatsapp has showed up so yeah so uh yeah this is working perfectly you see facebook it showed up this is here our delete is not needed so those are dynamic you watch the facebook the instagram and whatsapp and this gives priority so this is all what i wanted to show you in this video i hope it was informative for you and i hope that you can use it for your customers and see you in some other videos
Info
Channel: MAICT Consult
Views: 121,722
Rating: undefined out of 5
Keywords: Whatsapp priority MikroTik, Facebook priority MikroTik, Instagram priority MikroTik, MikroTik QOS, MikroTik Simple Queue, Maher Haddad, MikroTik Traffic Engineering, My Network Training
Id: P4IWdn_2K-E
Channel Id: undefined
Length: 19min 12sec (1152 seconds)
Published: Mon Aug 16 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.