LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 12-10-2004, 12:44 AM   #1
belkens
Member
 
Registered: Dec 2003
Location: Philippines
Distribution: Slackware 10.0
Posts: 46

Rep: Reputation: 15
squid website blocking?


hellow how can i block websites using squid???
 
Old 12-10-2004, 12:59 AM   #2
redness
Member
 
Registered: Dec 2004
Distribution: Slackware 10
Posts: 40

Rep: Reputation: 16
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
 
1 members found this post helpful.
Old 12-11-2004, 07:34 AM   #3
Oliv'
Senior Member
 
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36
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'
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SQUID for blocking yahoo and msn [inc squid.conf] chrisfirestar Linux - Security 10 03-03-2008 08:33 AM
Squid IP BLOCKING secrets Linux - Networking 4 06-14-2007 10:36 AM
Website blocking w/ SUSE 9.3/KDE based on groups FrankP1973 Linux - Newbie 1 11-22-2005 02:13 PM
Squid is blocking me out of one particular website. danielw Linux - Software 0 07-02-2004 11:30 PM
Netgear router blocking website when using internal network esteeven Linux - Networking 8 09-30-2003 07:48 AM


All times are GMT -5. The time now is 10:52 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration