I am running RH 7.3ish on the server with inetd. I am running the RH 8.0
distro on the client.
In my /etc/exports file, I have:
/ 192.168.1.0/24(rw)
/ 127.0.0.1(rw)
# the second line is just to test that nfs is working.
I have the following in /etc/hosts.allow:
ALL: LOCAL
portmap: 192.168.1.2/24
I entered the following command from the client:
mount -t nfs 192.168.1.1:/ /pub/server/
After a time, I get the following response:
mount: RPC: Port mapper failure - RPC: Timed out
From the server, I entered the following command:
mount -t nfs localhost.localdomain:/ /mnt/
My message log looks like this:
Dec 15 13:28:38 localhost portmap[6260]: connect from 192.168.1.2 to
getport(mountd): request from unauthorized host
Dec 15 13:28:42 localhost portmap[6294]: connect from 192.168.1.2 to
getport(mountd): request from unauthorized host
Dec 15 13:28:48 localhost portmap[6348]: connect from 192.168.1.2 to
getport(mountd): request from unauthorized host
Dec 15 13:28:52 localhost portmap[6390]: connect from 192.168.1.2 to
getport(mountd): request from unauthorized host
Dec 15 13:28:58 localhost portmap[6442]: connect from 192.168.1.2 to
getport(mountd): request from unauthorized host
Dec 15 13:29:02 localhost portmap[6493]: connect from 192.168.1.2 to
getport(mountd): request from unauthorized host
Dec 15 13:29:08 localhost portmap[6554]: connect from 192.168.1.2 to
getport(mountd): request from unauthorized host
Dec 15 13:29:13 localhost portmap[6615]: connect from 192.168.1.2 to
getport(mountd): request from unauthorized host
Dec 15 13:29:18 localhost portmap[6655]: connect from 192.168.1.2 to
getport(mountd): request from unauthorized host
Dec 15 13:29:23 localhost portmap[6721]: connect from 192.168.1.2 to
getport(mountd): request from unauthorized host
Dec 15 13:29:27 localhost portmap[6766]: connect from 192.168.1.2 to
getport(mountd): request from unauthorized host
Dec 15 13:29:33 localhost portmap[6823]: connect from 192.168.1.2 to
getport(mountd): request from unauthorized host
Dec 15 13:29:38 localhost portmap[6873]: connect from 192.168.1.2 to
getport(mountd): request from unauthorized host
Dec 15 13:29:43 localhost portmap[6949]: connect from 192.168.1.2 to
getport(mountd): request from unauthorized host
Dec 15 13:29:48 localhost portmap[7037]: connect from 192.168.1.2 to
getport(mountd): request from unauthorized host
Dec 15 13:29:53 localhost portmap[7099]: connect from 192.168.1.2 to
getport(mountd): request from unauthorized host
Dec 15 13:29:57 localhost portmap[7142]: connect from 192.168.1.2 to
getport(mountd): request from unauthorized host
Dec 15 13:30:03 localhost portmap[7206]: connect from 192.168.1.2 to
getport(mountd): request from unauthorized host
Dec 15 13:30:08 localhost portmap[7275]: connect from 192.168.1.2 to
getport(mountd): request from unauthorized host
Dec 15 13:30:13 localhost portmap[7326]: connect from 192.168.1.2 to
getport(mountd): request from unauthorized host
Dec 15 13:30:18 localhost portmap[7387]: connect from 192.168.1.2 to
getport(mountd): request from unauthorized host
Dec 15 13:30:23 localhost portmap[7433]: connect from 192.168.1.2 to
getport(mountd): request from unauthorized host
Dec 15 13:30:28 localhost portmap[7494]: connect from 192.168.1.2 to
getport(mountd): request from unauthorized host
Dec 15 13:30:32 localhost portmap[7539]: connect from 192.168.1.2 to
getport(mountd): request from unauthorized host
Dec 15 13:34:28 localhost rpc.mountd: authenticated unmount request from
localhost.localdomain:803 for / (/)
Dec 15 13:34:42 localhost rpc.mountd: authenticated mount request from
localhost.localdomain:804 for / (/)
It looks like the problem is in portmap. The nfs daemon seems to work
ok. inetd and nfsd seem ok, but I don't understand how the portmapper
verifies "unauthorized host(s)".
Please help me.