Using Squid to restrict access to sites
canc we use squid in our personall computer ?
|
Quote:
|
reply
no , i just heard that squid can restrict some site to visit.so i think it is relavant to security forum.
|
Quote:
|
security
no, i need to know how to use squid to restrict some sites.
can anyone give me any link for tutorials or any reference. |
Quote:
Once you've got Squid up and running, you'll need to decide whether you want to do whitelisting (deny access to all sites, with certain exceptions) or blacklisting (allow access to all sites, with certain exceptions). Doing this sort of thing is basically just a matter of using an ACL built with the dstdomain type, along with an accompanying ACL rule. Example whitelist: Code:
acl good_sites dstdomain .linuxquestions.org Example blacklist: Code:
acl bad_sites dstdomain .microsoft.com The links/examples I provided should give you an idea of what this involves. Depending on what your situation is (you haven't really elaborated on it), a more complex configuration might be necessary. Also, it's quite common to use additional tools (such as iptables, for example) in order to obtain a more reasonable level of security. EDIT: I've taken the liberty of giving this thread a more descriptive title. |
Dansguardian, Squidguard etc these also more helpful tool with squid for content filtering
http://dansguardian.org/ http://www.squidguard.org/ |
the documentation (the squid.conf) file that comes with the squid package is a very good source for references. It gives clues on how to use various features of squid and how to enable/disable them.
|
All times are GMT -5. The time now is 05:08 AM. |