Date: Mon, 17 Jun 2002 17:28:58 +0100 From: Daniel Bye <dan@slightlystrange.org> To: questions@FreeBSD.ORG Subject: Re: How do I only permit some IP's to access FTP? Message-ID: <20020617162857.GA9587@icarus.slightlystrange.org> In-Reply-To: <273418715.20020617182351@e-box.dk> References: <273418715.20020617182351@e-box.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jun 17, 2002 at 06:23:51PM +0200, S?ren Neigaard wrote: > I have tried to alter my hosts.allow like this: > > ftpd : localhost : allow > ftpd : MY_IP : allow > ftpd : ALL : deny > > But still everybody can FTP to my box, what am I missing? > Is there any other rule in the file _before_ these lines that could be letting ftpd connects through? For example, do you have a rule like this: ALL: ALL :allow This is the first rule in the default /etc/hosts.allow file. If it's not this, let's have a look at /etc/hosts.allow. Dan -- Daniel Bye PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc PGP Key fingerprint: 3D73 AF47 D448 C5CA 88B4 0DCF 849C 1C33 3C48 2CDC _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020617162857.GA9587>