LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-31-2012, 04:29 AM   #1
Koshal
LQ Newbie
 
Registered: Jun 2011
Location: New Delhi
Distribution: Redhat and Centos
Posts: 12

Rep: Reputation: Disabled
Allow stream media for some IP's in squid, Is that possible ?????????


Hi
I am using squid proxy 2.6 in my office. Can any one tell me that how can allow stream media like youtube ? what is ACL for that ?

Thanks in advance.
Koshal
 
Old 01-31-2012, 04:42 AM   #2
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,415

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
This should work for you:

In your /etc/squid/squid.conf file add this acl:

Quote:
acl goodUrl dstdomain .youtube.com
http_access allow goodUrl

Last edited by Satyaveer Arya; 01-31-2012 at 04:44 AM.
 
Old 02-02-2012, 07:22 AM   #3
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
Reply erroneously sent as Report:
Quote:
Originally Posted by Koshal View Post
Hi Satya
thanks you reply But this is not work.
dstdomain .youtube.com is allow youtube.com but gives following error
"an error has occurred while openping this url"
 
Old 02-02-2012, 10:34 PM   #4
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,415

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
I think by default the streaming media websites should be open for browsing until anyone haven't put any policy for blocking. Isn't it?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
stream from my laptop to my media pc ?xunil Linux - Software 10 10-05-2009 11:09 PM
Cannot stream media across network ckent Linux - Networking 7 01-16-2007 11:55 AM
squid cache Windows Media Stream templar_g Linux - Networking 1 10-19-2005 05:59 AM
media stream problems Ephracis Linux - Software 1 05-02-2005 01:36 PM
can't stream media from network deadslota Linux - Newbie 2 05-30-2004 06:26 AM


All times are GMT -5. The time now is 10:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration