Sunday, September 13, 2009

Howto Block YouTube Video in Squid Proxy Server

Youtube Videos are Bandwidth eaters for Limited bandwidth Internet users. Education Institutions also need to block Youtube videos. Here a simple trick for blocking youtube videos using squid Proxy.

Add the following line to /etc/squid/squid.conf

## The videos come from several domains so block all
acl blk_youtube dstdomain

http_access deny blk_youtube