[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: hosts.allow hosts.deny and nfs
On 13 Jan 1998, Alexander L. Belikoff wrote:
> Erez Doron <erez@savan.com> writes:
>
> >
> > I'm trying to let only one host ( named spud ) to mount nfs
> > on my linux.
> >
> > in linux i have hosts.allow:
> >
> > ALL : spud
> >
>
> portmap used to require a separate entry:
>
> portmap: <IP address of spud>
>
> Note the IP address, not a hostname
That is if portmap is linked with libwrap I think.
If so add this at the beginning of hosts.allow
portmap : IP_OF_HOST : ALLOW
by the way, if you want a whole subnet, you can do:
portmap : xxx.yyy.www.0/255.255.255.0 : ALLOW
for a Class C for example.
--Ariel
>
> --
> Alexander L. Belikoff
> Berger Financial Research Ltd.
> abel@bfr.co.il
>
+---------------------------------------------------------------+
| Ariel Biener |
| e-mail: ariel@post.tau.ac.il Work ph: 03-6406086 |
| fingerprint = 07 D1 E5 3E EF 6D E5 82 0B E9 21 D4 3C 7D 8B BC |
+---------------------------------------------------------------+