From owner-freebsd-isp Fri Nov 6 12:05:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA23030 for freebsd-isp-outgoing; Fri, 6 Nov 1998 12:05:15 -0800 (PST) (envelope-from owner-freebsd-isp@FreeBSD.ORG) Received: from imap.ncsa.es (imap.ncsa.es [194.179.50.6]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA22911 for ; Fri, 6 Nov 1998 12:04:09 -0800 (PST) (envelope-from jesusr@es.freebsd.org) Received: from es.freebsd.org (modem224-102.ncsa.es [195.77.224.102]) by imap.ncsa.es (8.8.8/8.8.8) with ESMTP id VAA12011; Fri, 6 Nov 1998 21:03:12 +0100 (CET) Message-ID: <36435602.2B62808B@es.freebsd.org> Date: Fri, 06 Nov 1998 21:03:14 +0100 From: Jesus Rodriguez Reply-To: jesusr@es.freebsd.org X-Mailer: Mozilla 4.05 [en] (X11; I; FreeBSD 2.2.7-RELEASE i386) MIME-Version: 1.0 To: Willow CC: isp@FreeBSD.ORG Subject: Re: hosts.{deny|allow} References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I'm trying to block access to our freebsd (2.2.7) boxes from several > domains and not having any luck. I have read the man pages on > hosts_optiosn and hosts_access and tried to follow along without success. > > I would prefer to block based on IP (I have 10 class C's or so that need > to be blocked) if possible. Install tcpwrappers package and configure /etc/hosts.allow and /etc/hosts.deny. Other thing you can do is compiling FreeBSD with IPFIREWALL option and use ipfw for blocking any thing you want. JesusR. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message