-   Linux - Networking (
-   -   How do I block web pages/sites? Is squid what I should use? (

RHLinuxGUY 04-14-2006 02:06 PM

How do I block web pages/sites? Is squid what I should use?
If this should be in software, then please move this thread there.

A few years ago an old friend of mine and I were playing around with some software that I believe was called squid. He was able to block anyone on his network to entering certain sites. I cannot seem to do this with my recent installation of squid (through synaptic). Is there a web address I should go to much like TeamSpeak where I can tune my squid? Is squid the right program for this job, or could it have been something else that I have seen?

puntjuh 04-14-2006 02:12 PM

Yes squid guard will do that what you want. Download the latest version here:

Here's a config file you can view:

And if needed.. an installation howto:

I believe the last link is the best one.. it has a lot of info that you should read.

good luck,


RHLinuxGUY 04-14-2006 10:55 PM

I am having a problem. I downloaded squidGaurd via synaptic and after I went through the sgaurd howto I came to a problem...

... when I try to reconfigure my squid (# squid -k reconfigure) it spews out the following...


root@georgescomp1:/etc/squid# squid -k reconfigure
squid: ERROR: Could not send signal 1 to process 19813: (3) No such process

... if I just do

# squid
, I get the following...


root@georgescomp1:/etc/squid# squid
FATAL: redirect_program /usr/bin/squidGaurd: (2) No such file or directory
Squid Cache (Version 2.5.STABLE10): Terminated abnormally.
CPU Usage: 0.005 seconds = 0.001 user + 0.004 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0

I'm not too sure what I should give, I'll will be uploading my config files to my server but in a few minutes. I'll post links afterwards.

iseymur 02-06-2010 12:07 PM

I like block different users different sites
Example I have 3 user list and 3 file with block site names

acl group1 src
acl group2 src
acl group3 src


acl blocksites1 url_regex -i "/etc/squid/block1.txt"
acl blocksites2 url_regex -i "/etc/squid/block2.txt"
acl blocksites3 url_regex -i "/etc/squid/block3.txt"

I like block blocksites1 for group1, blocksites2 for group2,
blocksites3 for group3,

help me please

All times are GMT -5. The time now is 04:15 PM.