LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Squid Proxy(centos):How to configure internet access for a specific IP address to access only YouTube on squid proxy (https://www.linuxquestions.org/questions/linux-newbie-8/squid-proxy-centos-how-to-configure-internet-access-for-a-specific-ip-address-to-access-only-youtube-on-squid-proxy-4175610239/)

raymond m 07-20-2017 02:20 AM

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.

AwesomeMachine 07-20-2017 08:28 PM

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


raymond m 07-26-2017 09:39 AM

Thank you
 
Thank you for that AwesomeMachine, sorry for the late reply.

AwesomeMachine 07-26-2017 03:05 PM

You're welcome.


All times are GMT -5. The time now is 05:35 PM.