LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   hi, i want to allow one website in my squid server (https://www.linuxquestions.org/questions/linux-newbie-8/hi-i-want-to-allow-one-website-in-my-squid-server-928239/)

kadesh.king1 02-07-2012 11:53 PM

hi, i want to allow one website in my squid server
 
in our network we are using squid/2.7.STABLE7 so please some one help me...
because I'm beginner i don't know which file to edit where to put the website address

i ask someone but they are telling enable port22 if i enable port 22 our network will expose so don't want that.

deep27ak 02-07-2012 11:59 PM

Quote:

Originally Posted by kadesh.king1 (Post 4596712)
in our network we are using squid/2.7.STABLE7 so please some one help me...
because I'm beginner i don't know which file to edit where to put the website address

i ask someone but they are telling enable port22 if i enable port 22 our network will expose so don't want that.

I am sure if you hit a search on google you will get bunch of help

Code:

#vi /etc/squid.conf
acl badsite dstdomain www.facebook.com
http_access allow badsite
http_access deny all

But this won't work untill and unless you have properly configured squid server

here follow this link
http://wiki.squid-cache.org/SquidFaq/SquidAcl

kadesh.king1 02-15-2012 07:47 AM

Thanks
 
Thanks for the valuable....


Quote:

Originally Posted by deep27ak (Post 4596717)
I am sure if you hit a search on google you will get bunch of help

Code:

#vi /etc/squid.conf
acl badsite dstdomain www.facebook.com
http_access allow badsite
http_access deny all

But this won't work untill and unless you have properly configured squid server

here follow this link
http://wiki.squid-cache.org/SquidFaq/SquidAcl



All times are GMT -5. The time now is 06:23 PM.