Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Redirect youtube traffic to second wan

    Routing and Multi WAN
    4
    8
    1.0k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jonnetg
      last edited by

      Hello guys!

      I would like to redirect all my youtube connections to the second (wan) Link, is it possible to do that?

      Is there any way to do this using pfBlockerNG? Or other packages ?

      Thx!!

      1 Reply Last reply Reply Quote 0
      • JeGrJ
        JeGr LAYER 8 Moderator
        last edited by

        @jonnetg said in Redirect youtube traffic to second wan:

        I would like to redirect all my youtube connections to the second (wan) Link, is it possible to do that?

        Not impossible but very difficult. As Google like many other utilizes big CDN networks with many AS/IP ranges, it's extremely tricky to create an Alias or List to include all possible addresses for Youtube streaming. Possible outcome is that you'll either not get any YT links to go through WAN2 or you'll end up with much more than only YT going out WAN2 as other services often utilize the same IPs/streaming services.

        Is there any way to do this using pfBlockerNG? Or other packages ?

        You could either try and get all Google/Alphabet AS networks or find a list of IP ranges from them. Other than that... well it's difficult.

        Don't forget to upvote ๐Ÿ‘ those who kindly offered their time and brainpower to help you!

        If you're interested, I'm available to discuss details of German-speaking paid support (for companies) if needed.

        1 Reply Last reply Reply Quote 0
        • J
          jonnetg
          last edited by jonnetg

          @JeGr said in Redirect youtube traffic to second wan:

          AS/IP

          Ok, i imagine something like that.

          Also, is it possible to limited my bandwidth network to youtube ?
          Thx.

          1 Reply Last reply Reply Quote 0
          • JeGrJ
            JeGr LAYER 8 Moderator
            last edited by

            Same answer I'm afraid as youtube is mostly streaming traffic to default web ports (https) and the IPs for traffic limiter etc. have the same limitations then for policy based routing (what you'd use for channeling sepcific traffic out of WAN2).

            Don't forget to upvote ๐Ÿ‘ those who kindly offered their time and brainpower to help you!

            If you're interested, I'm available to discuss details of German-speaking paid support (for companies) if needed.

            J 1 Reply Last reply Reply Quote 1
            • J
              jonnetg @JeGr
              last edited by

              @JeGr
              Ok JeGr, thanks!! โ˜บ

              1 Reply Last reply Reply Quote 0
              • nzkiwi68N
                nzkiwi68
                last edited by

                One possibility would to be use IPS/IDS and use the Snort package to detect youtube and then enforce a gateway to use.

                Have a bit of a google on using Snort and detecting youtube.

                J 1 Reply Last reply Reply Quote 1
                • J
                  jonnetg @nzkiwi68
                  last edited by

                  @nzkiwi68
                  Yeah, acctually i'll do something different, i'll just limit my band per Ip User.

                  Thanks Guys!!!

                  A 1 Reply Last reply Reply Quote 0
                  • A
                    Abdrouf4995 @jonnetg
                    last edited by

                    @jonnetg I'm doing the same, it just better to limit all traffic as most websites don't need that much bandwidth.
                    It's almost impossible to create an aliase for YouTube.
                    i managed to do it but sooner or later the ips will change.

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post
                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.