Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Nov 1998 21:03:14 +0100
From:      Jesus Rodriguez <jesusr@es.freebsd.org>
To:        Willow <willow@tds.edu>
Cc:        isp@FreeBSD.ORG
Subject:   Re: hosts.{deny|allow}
Message-ID:  <36435602.2B62808B@es.freebsd.org>
References:  <Pine.BSF.4.05.9811061318250.18373-100000@zeus.tds.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36435602.2B62808B>