Add the following to your /etc/hosts.allow file:

portmap: 192.168.0.
rpc.nfsd: 192.168.0.
rpc.mountd: 192.168.0.


Replace 192.168.0. with your private network number. Don't forget
to HUP the portmap daemon and the inetd daemon. I think that this 
should work. I haven't tested it, so ymmv.

--Matt

--
  Matt Galgoci
  Job title: export title=`dd if=/dev/random bs=24 count=1`
             echo $title

On Sat, 4 Dec 1999, Avram Aumick wrote:

> In am trying to do an nfs mount. What would I have to put in my
> hosts.allow file to stop this? I thought that this was the result of a
> routing problem that I am having. Even though I am doing ip masq my
> workstation does not see the outside world.
> 
> Avram
> 
> On Sat, 4 Dec 1999, [EMAIL PROTECTED] wrote:
> 
> > 
> > If you are trying to do an nfs mount of the server, be aware that the 
> > hosts.alloy, hosts.deny files are used by nfs as well as inetd to 
> > determine authorized/denied hosts. It is a feature of glibc 2x
> > 
> > Since this is a router type host, you probably have some host allow, host
> > deny rules.
> > 
> > This one bit me in the @$$ a long time ago.
> > 
> > --Matt
> > 
> > --
> >   Matt Galgoci
> >   Job title: export title=`dd if=/dev/random bs=24 count=1`
> >          echo $title
> > 
> > On 4 Dec 1999, Avram Aumick wrote:
> > 
> > > I am having problems with communication between my server which has a dsl
> > > connection to the outside world and my interal network (now just one
> > > workstation). I know it is a configuration problem but I don't know the
> > > solution. On the server in the /var/log/messages file I receive these errors:
> > > 
> > > Dec  4 16:25:41 alpha portmap[32593]: connect from 192.168.1.11 to
> > > getport(mountd): request from unauthorized host
> > > Dec  4 16:25:41 alpha portmap[32594]: connect from 192.168.1.11 to
> > > getport(mountd): request from unauthorized host
> > > 
> > > 
> > > >From the workstation I received these errors in /var/log/messages file:
> > > 
> > > 
> > > Dec  4 02:49:56 beta portmap[580]: connect from 192.168.1.10 to
> > > getport(mountd): request from unauthorized host
> > > Dec  4 02:49:56 beta portmap[581]: connect from 192.168.1.10 to
> > > getport(mountd): request from unauthorized host
> > > 
> > > >From workstation beta I can ping the internal ip  addreses and I can ping the
> > > ip address to the dsl NIC card on alpha. However I can not reach the outside
> > > world. If workstation is booted into WinNT (which is rare, only needed for
> > > quicken), there is no problem in reaching the outside world. IN linux I have the
> > > above problems. 
> > > 
> > > Any suggestions on where I should look for the solution for the problem? I
> > > suspect that it is on the beta workstation.
> > > 
> > > Avram Aumick
> > > 
> > > PC's are like an air conditioner. When windows are open, it doesn't
> > > work very well!
> > > 
> > > 
> > > -- 
> > > To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
> > > as the Subject.
> > > 
> > 
> > 
> 
> 
> ************************************************************
> Failure is not an option. It comes bundled with your Microsoft
> product.
> 


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to