MikroTik Tutorial 33 - How to block Youtube the most efficient way

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ส.ค. 2024
  • Learn MikroTik RouterOs Tutorial Series (english)
    In this tutorial, I will show you an efficient way to block you TH-cam.
    Website: www.tksja.com
    You will need any one of these Mikrotik routerboard router for this tutorial:
    RB951Ui-2nD hAP
    RB3011UIAS-RM
    RB2011UiAS-2HnD-IN
    RB750Gr2
    hEX RB750Gr3
    RB2011iLS-IN
    CRS109-8G-1S-2HnD-IN
    hAP lite
    hAP ac lite tower
    mAP lite
    wAP
    RB951Ui-2HnD
    RB951G-2HnD
    RB2011UiAS-2HnD-IN
    RB941-2nD-TC
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 101

  • @esperantngongo6894
    @esperantngongo6894 4 ปีที่แล้ว +1

    very usefull videos. Thank you so much. I'm new in Mikrotik routeur and got a lot skills with your videos

  • @8winterjulz8
    @8winterjulz8 3 ปีที่แล้ว

    Thanks for this big help

  • @popovichrush
    @popovichrush 7 ปีที่แล้ว +1

    Bro pls some of us don't know nothing about mikrotik so when you want to do any configuration try and start from scratch so that we don't get confused.......anyways you rock

    • @TKSJa
      @TKSJa  7 ปีที่แล้ว

      The only prerequisite for this tutorial is to have a working router, but if there is something that you think is missing please let me know.

  • @adamashivaballo298
    @adamashivaballo298 6 ปีที่แล้ว +1

    Hi TKSJA, I'm using Mikrotik RB2011 with this tutorial (also for another like block facebook with mangle rule) but he doesn't work. I don't know why. Your tutorial is also ok for RB2011 UiAS ?

  • @missybol23
    @missybol23 5 หลายเดือนก่อน

    This is great. thank you

  • @brunofunnie
    @brunofunnie ปีที่แล้ว

    This is helpful when you are "fist accessing" the domain, but if you're already with the page open it uses another "thing", I saw a lot of "googlevideo" domains in the XHR tab but even adding that string to the TLS or LAYER7 it doesn't match to mark or block it. What to do then when the youtube page is already opened?

  • @gpligor
    @gpligor 3 ปีที่แล้ว

    Why in the previous video (facebook blocking) regarding blocking youtube you used for the mangle rule for Chain the "prerouting" while for this video (youtube blocking) you are suggesting the "forward" ?

  • @eanreurzora413
    @eanreurzora413 6 ปีที่แล้ว

    good day sir can i ask how to limit youtube on your internet?? using mikrotik
    because i try this method but it wont work on me i am using hap lte
    and i am newbie on this!
    TY for answer

  • @TriTranTrong
    @TriTranTrong 4 ปีที่แล้ว

    I want to allow TH-cam and Facebook for a range of IPs or allow access to an IP, what should I do?
    Can you help me?

  • @jngweji8920
    @jngweji8920 2 ปีที่แล้ว

    Hello Sir Does the rule also block youtube when accessing it from TH-cam Application installed on Android or it only blocks users accessing it from the browser?

  • @canfz7286
    @canfz7286 6 ปีที่แล้ว

    at firewall rule if i pick connection mark not working but if ı pick layer7 then it works.. ı cant handle it from connection mark

  • @mshahid6306
    @mshahid6306 5 ปีที่แล้ว

    TKSJa please answer my question, i have a query regarding youtube blocking.. when i block the youtube on my network, Gmail and google also block with youtube.. would you help me how to block just youtube, only youtube, non of other site????

  • @OscarBarrios83
    @OscarBarrios83 2 ปีที่แล้ว

    this works for Roku, FireTv, etc? there is a way to block by schedule time?

  • @jawadimmentia528
    @jawadimmentia528 4 ปีที่แล้ว +10

    This method is not working on my router i do all these setting but youtube is working fine :(

    • @robertb2919
      @robertb2919 3 ปีที่แล้ว

      same here (hAP ac2) :(

  • @giatechindo
    @giatechindo ปีที่แล้ว

    how if for multi router? my case using routerboard mikrotik rb941 ethernet port for internet is using from routerboard ISP LAN. than i want blocking in my network of routerboard mikrotik than connected to switch to LAN network

  • @sarwoedy8304
    @sarwoedy8304 4 ปีที่แล้ว

    thanks for providing differents tutorials about blocking website with L7 regex. this is better. but how to get/make L7 regex of certain domain? because i need to reject connection except google web service such as google drive, gmail, contacts etc. thanks

  • @monaliza8443
    @monaliza8443 4 ปีที่แล้ว

    simply we can through L7 protocol ???

  • @ngunez
    @ngunez 6 ปีที่แล้ว +1

    Hi sir, I appreciate your tutorials. They are straight to the point and very precise. I have a request though. I have implemented your tutorial on the efficient way of blocking youtube and it works great but I have a netwok with queues. How can I block on a selected particular queue only? And leave the other?

    • @TKSJa
      @TKSJa  6 ปีที่แล้ว +1

      You could set the download speed to 1bits\s or use a firewall rule to block packets with that marking.

  • @richardrhule6774
    @richardrhule6774 5 ปีที่แล้ว

    WOW, VERY POWER FULL....but it's does not block those who use google chrome. other browsers cant access.

  • @mrmuhammad7458
    @mrmuhammad7458 4 ปีที่แล้ว +4

    Dear Tksja!
    There are couple of other efficient ways as well:
    1. Enable ip webproxy and in access option, block TH-cam URLs. Thats it. No need to redirect port 80 to 8080 because you just want to block TH-cam and not do HTTP webcaching.
    2. Make static DNS entries equal to any 127.0.0.x IP for youtube URL's and dsnat port 53 towards mikrotik's own DNS so that you've remains blocked even if someone uses another DNS server IP.
    Both the above mentioned ways are tested.
    What do you say?

  • @lasernetedfagponeponolt6831
    @lasernetedfagponeponolt6831 2 ปีที่แล้ว

    Hi , Dear Sir! I did the same but it doesn't work for me. I don't what's wrong with it. But I have fasttrack rule in firewall filter rule. Please can you help me for it?

  • @MrJadeZy
    @MrJadeZy 3 ปีที่แล้ว +1

    it's not working after update Router OS v6.43.8 * environment on browser chrome up to date

  • @eltonmponda7302
    @eltonmponda7302 4 ปีที่แล้ว

    Hie sorry am new to mikrotic and you will have to bare with me and my english. i would like to configure the above on several ip address namly 10 out of 15 ip addresses i have? how do i go about it thanks in advance

  • @stevecochrane6038
    @stevecochrane6038 4 ปีที่แล้ว

    Hi I have added the rules etc but it is not working, any ideas?

  • @sharifyousry
    @sharifyousry 4 ปีที่แล้ว +1

    In Mangle rule, why did you use forward rule to block TH-cam, wheres used pre-route to block FACEBOOK?

  • @sharifalizada
    @sharifalizada 3 ปีที่แล้ว

    I did same as you but it didn't work,
    What is your recommend for me?

  • @MhNetSecurity
    @MhNetSecurity 6 ปีที่แล้ว +1

    Hi , thanks for Video, I have a question , why in the previous video ( How to block facebook) you used prerouting mangle to identify traffic and in this video use used forward mangle ?? what is the different ?

    • @TKSJa
      @TKSJa  6 ปีที่แล้ว +1

      I didn't realize, but it works just the same. Forward is prefered though.

  • @Irfanali-go6qw
    @Irfanali-go6qw 2 ปีที่แล้ว

    Please make series on pFsense like mikrotik, thanks

  • @PacoArronaC
    @PacoArronaC 5 ปีที่แล้ว +2

    Thanks for sharing your knowlage, could you make a video to have White lists? I think is the best way to control the internet distraction , blocking sites drives to a lot of them, porn, TH-cam face,news etc...thanks in advance...

  • @bhartendulal8645
    @bhartendulal8645 3 ปีที่แล้ว

    Hi Sir, Thank you for video, I tried the same , but after rule applied, youtube is working on google chrome, but not working or mozilla , microsoft edge, or any browser ...any idea? please

  • @attahirujibrin5981
    @attahirujibrin5981 4 ปีที่แล้ว +4

    Thank you for your tutorials. They are helpful. I did everything you instructed in this tutorial but I can still access youtube. Can you please help me out with it?

    • @davescott7934
      @davescott7934 6 หลายเดือนก่อน

      Yes, i thought i was the only one....... i followed it step by step but i can still access it too

  • @Martin-ot7xj
    @Martin-ot7xj 4 ปีที่แล้ว

    Hi there, how we can block or stop youtube ads? Thnx

  • @Martin-ot7xj
    @Martin-ot7xj 4 ปีที่แล้ว

    Hi there, Please make a tutorial video about how we can make a rule on microtik firewall and Block all incoming traffic from outside or internet to our network for more security. Pleaseeee. Thnx

  • @subinmoyen2926
    @subinmoyen2926 7 ปีที่แล้ว

    hello there, can you please make a tutorial for complete hotspot configuration with MikroTik using Userman, voucher and so on.
    Thanks for the videos posted so far..

    • @TKSJa
      @TKSJa  7 ปีที่แล้ว

      bit.ly/2qHTz7u

  • @hikmatullah9556
    @hikmatullah9556 6 ปีที่แล้ว

    how do you put a range of the ips to be blocked and let others not, and how to add time range?

    • @TKSJa
      @TKSJa  6 ปีที่แล้ว

      You would have to add the source address of the users that you want to exempt and check the not box "!"

  • @muhammadkhurran4609
    @muhammadkhurran4609 4 ปีที่แล้ว +1

    i have tried this by following steps given in video...its not working for me

  • @syedammad1899
    @syedammad1899 3 ปีที่แล้ว +1

    THIS IS NOT WORKING ON MY ROUTER???
    I HAVE RB 750GR3 I HAVE DONE ALL THESE SETTINGS

  • @juninhodj77
    @juninhodj77 6 ปีที่แล้ว

    Thanks, TKSJa.
    I'm from Brazil, your videos have already helped me a lot. The problem of blocking on youtube. together it blocks the other google services. would you have some way around it?

    • @TKSJa
      @TKSJa  6 ปีที่แล้ว

      Take out the "akamaihd.net" out of the regex and see if that works.

  • @electronicandhardware8688
    @electronicandhardware8688 4 ปีที่แล้ว

    you used prerouting for facebook but forward for youtube why ? thanks in advance

  • @riaandekock5122
    @riaandekock5122 4 ปีที่แล้ว

    I need some help to block the game "Fortnite" on my Mikrotik router. Have you had a similar request in the past?

  • @sallekma
    @sallekma 4 ปีที่แล้ว

    Hi thanks for the tutorial.. its very helpful.. can you tell me how to make this TH-cam block rule effective from certain period the given days?

  • @ragesecinc8228
    @ragesecinc8228 6 ปีที่แล้ว

    Hi, it works fine on pc but some how android phones seems to get pass the firewall filter. It can't hold off the youtube app. I need a work around. Thanks

    • @TKSJa
      @TKSJa  6 ปีที่แล้ว

      Going to look into it

    • @coooper999
      @coooper999 4 ปีที่แล้ว

      @@TKSJa Did you find anything on this issue???

  • @zencoengineeringdept115
    @zencoengineeringdept115 8 หลายเดือนก่อน

    sir can you help me with tutorial with mikrotik hap AX2?

  • @jonneymendoza
    @jonneymendoza ปีที่แล้ว

    Are you able to block youtbe ads?

  • @uilwahak
    @uilwahak 4 ปีที่แล้ว

    what if i only want to block is only the ads

  • @chifundoganiza7744
    @chifundoganiza7744 5 ปีที่แล้ว

    Bro, I've tried this but it only block those connected through LAN. Mobile phones and laptops on WiFi still connect to TH-cam... How do I fix this?

    • @SomadinaOhaejesi
      @SomadinaOhaejesi 4 ปีที่แล้ว

      I have the same problem, please did you get a solution? ohaejesifelix@gmail.com

  • @noorullahmohammadi9645
    @noorullahmohammadi9645 2 ปีที่แล้ว

    please share the code of blocking youtube in mikrotik router i need it . thanks

  • @shahnewaj923
    @shahnewaj923 2 ปีที่แล้ว

    Its not working...what to do?

  • @hikmatullah9556
    @hikmatullah9556 6 ปีที่แล้ว

    I am using this method it blocks youtube and as well any web resource that mentions it in any way. This effects google , gmail and even somehow other websites. Any solution please.

    • @TKSJa
      @TKSJa  6 ปีที่แล้ว

      I am not sure why this is happening, check your rules again.

  • @Rameezation
    @Rameezation 7 ปีที่แล้ว

    TKSja Thankyou :
    Please make a video on how to allow specific websites only in entire network
    for example i just want to allow gmail, yahoo, and hotmail in my office and rest of the websites will be blocked

    • @TKSJa
      @TKSJa  7 ปีที่แล้ว +3

      I will add this to my list.

  • @nestorvillamorel7468
    @nestorvillamorel7468 6 ปีที่แล้ว

    How about blocking a certain client from accessing youtube.. not the whole network.

    • @TKSJa
      @TKSJa  6 ปีที่แล้ว

      Put the ip of the client in the dst address field of the firewall rule.

  • @jugubitrus7295
    @jugubitrus7295 5 ปีที่แล้ว

    Thank you for this video. How do i go about blocking all videos using Mikrotik router

    • @TKSJa
      @TKSJa  4 ปีที่แล้ว +1

      That is very tricky, streaming services don't always user the same methods to stream videos.

    • @jugubitrus7295
      @jugubitrus7295 4 ปีที่แล้ว

      @@TKSJa That is my position. I need to configure RB951-2n router

  • @kamrulhassansabuj
    @kamrulhassansabuj 6 ปีที่แล้ว +1

    it doesn't work in Google Chrome :(

    • @TKSJa
      @TKSJa  6 ปีที่แล้ว

      Apparently Chrome if using the IP instead of the URL.

  • @BryanDreamable
    @BryanDreamable ปีที่แล้ว

    Thank you Sir. But I have a question. Why The Chinese cannnot access the youtube website, but there are still people who want to stop youtube

  • @aungnaing6566
    @aungnaing6566 6 ปีที่แล้ว

    I blocking facebook by your Tutorial 32 it perfect but blocking youtube on Tutorial 33 it only effect on Edge Browser ??? In Google Chrome i still access to youtube>

  • @sufyankhanbest
    @sufyankhanbest 2 ปีที่แล้ว

    Our requirement is to block all websites including Google search except Google maps and few official website, so how do I allow Google maps and block Google search

  • @ittefaqwattoo
    @ittefaqwattoo 2 ปีที่แล้ว

    I do not want to block youtube. instead, want to filter youtube content based on search terms.. will you please guide me? how to achieve this?( the purpose is to keep children away from unwanted videoes )

  • @infinitytechnicals
    @infinitytechnicals 3 ปีที่แล้ว

    not working plz help me

  • @wasimijaz6233
    @wasimijaz6233 6 ปีที่แล้ว

    dear, i have blocked youtube & facebook through web proxy on network. now i want to provide access to some users. how i provide access them.

    • @TKSJa
      @TKSJa  6 ปีที่แล้ว

      Create a rule similar to other block and change action to accept instead of drop and place it above these rules.

  • @TheHossam2030
    @TheHossam2030 6 ปีที่แล้ว

    write what you past plese

  • @dheerajkumbhat4230
    @dheerajkumbhat4230 5 ปีที่แล้ว

    How come, for blocking facebook you used prerouting chain in mangle rule, but blocking youtube, you used the forward chain in mangle rule????

    • @dheerajkumbhat4230
      @dheerajkumbhat4230 5 ปีที่แล้ว

      Ok, I got the reply in comment, sorry for this question

    • @TKSJa
      @TKSJa  4 ปีที่แล้ว

      ok

  • @SAbikerboy
    @SAbikerboy 4 ปีที่แล้ว

    I need to block TH-cam APP on mobile devices

  • @bongpheakz1036
    @bongpheakz1036 2 ปีที่แล้ว

    hi sir , need to unlimited youtube facebook to pppoe client

  • @MoazzamSandhu1
    @MoazzamSandhu1 4 ปีที่แล้ว

    i have blocked facebook and youtube on my network using these settings on mikrotik. but problem is if someone connects to any vpn they can still access the websites how can i block them as well?

    • @RehanHanif
      @RehanHanif 4 ปีที่แล้ว

      Without VPS its working because i try its not working

  • @syed9640
    @syed9640 3 ปีที่แล้ว

    Its Block in Firefox but not in Google chrome check in many PC's

  • @homemade8246
    @homemade8246 5 ปีที่แล้ว

    It didn't work with me!!

  • @LearningMonitoringEvaluation
    @LearningMonitoringEvaluation หลายเดือนก่อน

    This is not not for me, I don't know why, but

  • @anjasmaramade6030
    @anjasmaramade6030 6 ปีที่แล้ว

    Works well on PC but does not work well on youtube google play android

    • @TKSJa
      @TKSJa  6 ปีที่แล้ว

      It seem like android is using IP instead of dns. I will have to look into it.

  • @bernardliebenberg9403
    @bernardliebenberg9403 5 ปีที่แล้ว

    Good day. Firstly thank you for the post. Secondly..... this layer 7 rule blocks youtube efficiently, but also all google services. This is not an effective block as most companies use google services.

    • @TKSJa
      @TKSJa  5 ปีที่แล้ว

      You can modify the rule.

  • @collinsonyegbado309
    @collinsonyegbado309 5 ปีที่แล้ว

    Hello tskj,can i have your email. I have watched your two videos on how to block youtube and facebook. I have done it but users still access facebook and youtube. I created mangle,l7 regex using ur code and firewall filter rule.pls i need ur help

  • @edgarmolina231
    @edgarmolina231 5 ปีที่แล้ว

    I do it with address list and filter rules using this layer 7 protocol ^. * (www \ .youtube \ .com). * and well .. it worked in crhome well .. I had to use 2 .. the already mentioned and one for mobile devices that was this ^. * (m \ .youtube \ .com). * I do not know if you see something wrong or that can be improved

  • @eanreurzora413
    @eanreurzora413 6 ปีที่แล้ว

    if you have email much better so i can email you ^^

  • @glengelizon2595
    @glengelizon2595 3 ปีที่แล้ว

    not effective anymore

  • @gaborgabor1338
    @gaborgabor1338 3 ปีที่แล้ว

    wrong setup

  • @jaykay1304
    @jaykay1304 4 ปีที่แล้ว

    can you block porn sites with a custom message