Date: Mon, 17 Jun 2002 18:54:25 +0200 From: =?ISO-8859-2?B?U/hyZW4gTmVpZ2FhcmQ=?= <neigaard@e-box.dk> To: questions@FreeBSD.ORG Subject: Re[2]: How do I only permit some IP's to access FTP? Message-ID: <1265252903.20020617185425@e-box.dk> In-Reply-To: <0c2401c2161c$958a0120$c28c630a@brano> References: <273418715.20020617182351@e-box.dk> <0c2401c2161c$958a0120$c28c630a@brano>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks to all, that was my problem, the 'ALL : ALL : allow' was first :) /Søren Monday, June 17, 2002, 6:32:30 PM, [brano] wrote: b> Hi, b> you must add this syntax before => b> # Start by allowing everything (this prevents the rest of the file b> # from working, so remove it when you need protection). b> # The rules here work on a "First match wins" basis. b> ALL : ALL : allow b> because first rule wins ;-) b> Brano from Slovakia b> ----- Original Message ----- b> From: "Søren Neigaard" <neigaard@e-box.dk> b> To: <questions@FreeBSD.ORG> b> Sent: Monday, June 17, 2002 6:23 PM b> Subject: How do I only permit some IP's to access FTP? >> 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? >> >> -- >> Med venlig hilsen/Best regards, >> Søren Neigaard mailto:neigaard@e-box.dk >> -- >> "Perfection is reached, not when there is no longer anything to add, but b> when there is no longer anything to take away. " 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?1265252903.20020617185425>