[CentOS] NFS problem

Frank Cox theatre at sasktel.net
Mon Dec 28 22:59:30 UTC 2009


On Mon, 2009-12-28 at 23:30 +0100, 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?

Here is my note regarding how to make this work:

Create the file "/etc/sysconfig/nfs" and add the following contents:

STATD_PORT=4001
LOCKD_TCPPORT=4002
LOCKD_UDPPORT=4002
MOUNTD_PORT=4003

 Append the following to the file "/etc/services":

rquotad 4004/tcp # rpc.rquotad tcp port
rquotad 4004/udp # rpc.rquotad udp port

 Restart the nfs services

>From there, open these ports -> 111:tcp, 111:udp, 2049:tcp, 2049:udp,
4001:tcp, 4001:udp, 4002:tcp, 4002:udp, 4003:tcp, 4003:udp, 4004:tcp,
4004:udp


-- 
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com



More information about the CentOS mailing list