Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jun 2002 18:32:30 +0200
From:      "[brano]" <brano@zahrobie.sk>
To:        =?iso-8859-2?Q?S=F8ren_Neigaard?= <neigaard@e-box.dk>
Cc:        <questions@FreeBSD.ORG>
Subject:   Re: How do I only permit some IP's to access FTP?
Message-ID:  <0c2401c2161c$958a0120$c28c630a@brano>
References:  <273418715.20020617182351@e-box.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,
you must add this syntax before =>
# Start by allowing everything (this prevents the rest of the file
# from working, so remove it when you need protection).
# The rules here work on a "First match wins" basis.
ALL : ALL : allow
because first rule wins ;-)
Brano from Slovakia

----- Original Message -----
From: "Søren Neigaard" <neigaard@e-box.dk>
To: <questions@FreeBSD.ORG>
Sent: Monday, June 17, 2002 6:23 PM
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
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
>


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?0c2401c2161c$958a0120$c28c630a>