I got it with adding the following to the hosts.allow file:

        ALL: my.ip.address: ALLOW
        ALL: ALL: DENY

It works great.  Thank you for the help.

Dean

Michael Anthon wrote:
> 
> Try this...
> 
> in /etc/hosts.allow put
>         all:local, your.ip.address
> in /etc/hosts.deny
>         all:all
> 
> This should allow access to all services from "you.ip.address" and deny
> access to all services from anywhere else.  The files are processed in the
> order allow then deny.  Try "man hosts.allow".. it's actually fairly well
> explained once you get your head around it.
> 
> httpd access is not controlled via these files since it is not run from
> inetd (normally).
> 
> Regards
> Michael Anthon
> 
> > -----Original Message-----
> > From: ds [mailto:[EMAIL PROTECTED]
> > Sent: Saturday, 9 January 1999 12:42
> > To: [email protected]
> > Subject: Re: resc1440.bin to Floppy
> >
> >
> > Sorry to bother you with this, but I am a little confused
> > with the hosts.allow and hosts.deny files.
> >
> > I would like everyone to have access to my server as a web server,
> > but I would only like to allow one IP address access for telnet
> > and FTP.
> >
> > How can I setup these two files to not run over each other?  Does
> > one file have precedence over the other?
> >
> > BTW - Once I got debian past the first floppy disk, it went ahead
> > and installed just like the i386 version and works GREAT!  Thanks
> > for the help with the rawrite.
> >
> > Thanks.
> >
> > [EMAIL PROTECTED]
> >
> >
> > --
> > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > with a subject of "unsubscribe". Trouble? Contact
> > [EMAIL PROTECTED]
> >


-- 
Email:  [EMAIL PROTECTED]
Web:    http://radsl-sullinger.phx.primenet.com/

Reply via email to