From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1IWam1-0000rl-DD for garchives@archives.gentoo.org; Sat, 15 Sep 2007 16:45:37 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l8FGaq3k014290; Sat, 15 Sep 2007 16:36:52 GMT Received: from ctb-mesg-2-1.saix.net (ctb-mesg-2-1.saix.net [196.25.240.86]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l8FGUZID005639 for ; Sat, 15 Sep 2007 16:30:36 GMT Received: from [10.0.0.100] (dsl-243-226-134.telkomadsl.co.za [41.243.226.134]) by ctb-mesg-2-1.saix.net (Postfix) with ESMTP id 2972F2B42 for ; Sat, 15 Sep 2007 18:30:31 +0200 (SAST) From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] [gentoo]Block certain websites Date: Sat, 15 Sep 2007 18:28:52 +0200 User-Agent: KMail/1.9.7 References: <7400.73000.qm@web8811.mail.in.yahoo.com> In-Reply-To: <7400.73000.qm@web8811.mail.in.yahoo.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200709151828.52521.alan@linuxholdings.co.za> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Archives-Salt: 750ba0e7-d08c-4bb1-a9d2-9624bb6568fb X-Archives-Hash: b34b0e2f55b215243fe40fc53a05b687 On Saturday 15 September 2007, Balaviswanathan Vaidyanathan wrote: > Hi all, > > This is to know how to block certain websites as I intend to set up > a browsing centre based on Gentoo OS squid If you want an interface that is easier to use than editing squid's conf file, there are several front ends to choose from. You could start with squidguard You probably want to stay away from directly using iptables for this, as blocking site access based on ip address gets you into very big amounts of trouble very quickly. Think virtual hosting here. alan -- Optimists say the glass is half full, Pessimists say the glass is half empty, Developers say wtf is the glass twice as big as it needs to be? Alan McKinnon alan at linuxholdings dot co dot za +27 82, double three seven, one nine three five -- gentoo-user@gentoo.org mailing list