0

I want to restrict the bandwidth on YouTube in pfsense firewall. I try to setup layer7 with set the limit on http video/audio,flash, swf protocol and created the separate rule for YouTube but did not work. Please let me know which streaming protocol used on YouTube?

7
  • Does YouTube stream Videos via TCP?
    – DavidPostill
    Dec 26, 2015 at 15:06
  • Via TCP as well as UDP and any port used for same? Dec 26, 2015 at 15:08
  • Read all the answers
    – DavidPostill
    Dec 26, 2015 at 15:09
  • @Devid I Read all comment, then how to restrict bandwidth on pfsense firewall? Dec 26, 2015 at 15:12
  • YouTube already limits its own bandwidth usage. If you do this, your videos will freeze, or suffer a loss of quality. Dec 26, 2015 at 15:17

1 Answer 1

1

First of you are kind of doing "reverse engineering":

You are trying to understand how YouTube works and then "adapt" it to your needs.

IF you will get that to work it could for a short period of time. Services like YouTube are actively changed to improve it.

On the other hand the method that YouTube uses to function will most likely be used by many other programs (so blocking them too!).

What you could do (not sure if that is possible in pfsense) is use the hostname [youtube.com] (or even use an IP range) to restrict that in amount of data used or speed or whatever.

1
  • As above, I did that but not work and also did the setup layer7 protocol and applying on rule that is also not work. So that I want know protocol or Port number. Dec 26, 2015 at 15:18

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .