LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   squid website blocking? (https://www.linuxquestions.org/questions/linux-networking-3/squid-website-blocking-264737/)

belkens 12-10-2004 12:44 AM

squid website blocking?
 
hellow how can i block websites using squid???

redness 12-10-2004 12:59 AM

If you mean that you wish to block access to those site though squid, then in squid.conf I believe you can add lines in the acl section to block sites. I think this is similar to the way you must have set it up in the first place to accept clients.

Also I do remember reading something along these lines on there website:
http://squid.visolve.com/squid/squid24s1/contents.htm

Hope that helps

redness

Oliv' 12-11-2004 07:34 AM

Hi,

Redness is right: you can do that either directly with squid and acl tag (and url_regex acl type) or with an addon to squid called squidguard ...
Use the first solution if you know exactly the sites you wanna block (and if they are not too numerous), use the second solution if you want to block a category of sites (e.g. porn sites, webmail sites...) cause squidguard provides periodically a blacklist...

Oliv'


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