[CentOS] [Fwd: Re: Getting started with NFS]

Sat Jul 4 17:59:16 UTC 2009
Frank Cox <theatre at sasktel.net>

On Sat, 04 Jul 2009 10:48:37 +0200
Niki Kovacs wrote:

> Any idea what might go wrong here?

firewall problem?

Try disabling your firewall and see if it works.  If it does, then here is my
note about how to do make NFS work through a firewall.

HOW TO SET UP A FIREWALL THAT ALLOWS NFS

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