Jump to content

Recommended Posts

Posted

I've just enabled URL rewriting for Youtube, which uses the Youtube for schools system but as an addition to this, I need to also block https youtube.

 

Anyone got any idea how I'd do this using squid and squidguard?

Posted

Throw this in your squid config

 

acl CONNECT method CONNECT

acl YT_accounts dstdomain .accounts.youtube.com

acl YT dstdomain .youtube.com

acl YT dstdomain .ytimg.com

http_access allow CONNECT all YT_accounts

http_access deny CONNECT all YT

  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...