[CentOS] NFS problem

Mon Dec 28 22:44:06 UTC 2009
nate <centos at linuxpowered.net>

Timothy Murphy wrote:
> I'm trying to NFS-mount a CentOS directory on my Fedora laptop,
> but I find I can only do this is I turn off the firewall
> on the CentOS server.
> If instead I go to system-config-securitylevel-tui on the server,
> and allow NFS4, this does not do the trick.
> Nor does allowing port 2049.
> What do I need to allow?

Look at the firewall logs, RPC services use somewhat random ports,
you can look at what ports are being used with the 'rpcinfo' command,
you can also look at hard coding what ports are used to make firewall
configuration simpler(don't have docs off hand, search for them, easy
to find).