LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-20-2017, 02:20 AM   #1
raymond m
LQ Newbie
 
Registered: Jul 2017
Posts: 2

Rep: Reputation: Disabled
Question Squid Proxy(centos):How to configure internet access for a specific IP address to access only YouTube on squid proxy


How do I configure on a squid proxy(centos based) for a certain IP address(Static) to only access YouTube on the internet. Please give solution with an example of a configuration file, how will you do it.

Last edited by raymond m; 07-20-2017 at 04:18 AM.
 
Old 07-20-2017, 08:28 PM   #2
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,513

Rep: Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009
Put something like this in the squid.conf file:
Code:
 acl youtube src 173.194.199.190
http_access allow youtube
http_access deny all
 
1 members found this post helpful.
Old 07-26-2017, 09:39 AM   #3
raymond m
LQ Newbie
 
Registered: Jul 2017
Posts: 2

Original Poster
Rep: Reputation: Disabled
Smile Thank you

Thank you for that AwesomeMachine, sorry for the late reply.
 
Old 07-26-2017, 03:05 PM   #4
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,513

Rep: Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009
You're welcome.
 
  


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
How to allow specific video on youtube and block all other in Squid Proxy raju_t Linux - Enterprise 4 11-21-2013 01:54 AM
Help me configure Access List in squid proxy nhat2nhat2 Linux - Security 3 12-29-2010 10:34 AM
Squid Proxy access list configuration on MAC address bsisis ganesh24pal@gmail.com Linux - Server 2 08-28-2010 03:03 AM
how Access internet through Squid Proxy on other linux servers in Int 3 farrukhndm Linux - Software 2 09-11-2008 06:17 AM
download restriction over internet access using squid (proxy server) pankajkarde Linux - Server 4 03-21-2007 01:04 AM

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

All times are GMT -5. The time now is 04:53 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