LinuxQuestions.org
Visit Jeremy's Blog.
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, 03: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, 03:42 AM   #2
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,420

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 03:44 AM.
 
Old 02-02-2012, 06:22 AM   #3
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
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, 09:34 PM   #4
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,420

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 10:09 PM
Cannot stream media across network ckent Linux - Networking 7 01-16-2007 10:55 AM
squid cache Windows Media Stream templar_g Linux - Networking 1 10-19-2005 04:59 AM
media stream problems Ephracis Linux - Software 1 05-02-2005 12:36 PM
can't stream media from network deadslota Linux - Newbie 2 05-30-2004 05:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:55 PM.

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
Open Source Consulting | Domain Registration