1752800 Members
5557 Online
108789 Solutions
New Discussion юеВ

Re: NFS

 

NFS

Hallo,
I want share NFS filesystem over firewall. Which ports I have to permit?
I permited these ports but it finished at RPC error (Rpcbind failure - RPC: Timed out):
nfsd-keepalive 1110/udp
nfsd-status 1110/tcp
nfsd 2049/udp
nfsd 2049/tcp
portmap 111/tcp
portmap 111/udp
49208
49170
Thanks for your answer.


xx
2 REPLIES 2
Robert-Jan Goossens
Honored Contributor

Re: NFS

Hi Dagmar,

Is nfs running on both servers ?

Robert-Jan
Mister_Z
Frequent Advisor

Re: NFS

Hi,

NFS works using RPC's. There is a service called portmap listening, by default in the tcp/udp port 111, at the RPC client calls.

A client RPC process uses a program number to get a remote RPC program. The RPC's associated to these RPC program number are listed in /etc/rpc. Particularly, for NFS, this entry appears:
nfs 100003 nfsprog
that assigns to this service the RPC number 100003

The portmap daemon maps the RPC program number to the UDP or TCP port. To see this relationship, execute on the server, the command #rpcinfo -p

For the NFS service you'll see:
program vers proto port
100003 2 udp 2049 nfs

Regards,
I work for HP