Hi all, <div><br></div><div>Which ports do I need to have open on an NFS client's firewall to allow it to connect to a remote NFS servers?</div><div><br></div><div>When I disable iptables (using ConfigServerFirewall), it connects fine, but as soon as I enable it, NFS gives me this error:</div>
<div>root@saturn:[~]$ mount master1.mydomain.co.za:/saturn /bck</div><div>mount: mount to NFS server '<a href="http://master1.mydomain.co.za">master1.mydomain.co.za</a>' failed: RPC Error: Unable to send.</div><div>
<br></div><div>I have added ports 111 & 2049 in both the TCP & UDP ingres & exgress ranges, but that doesn't seem to help. portmap & nfs is running as well. But as I say, as soon as I disable the firewall, it mounts fine. </div>
<div><br></div><div>Google search results reveal a lot of different ports, like 4000:4004, 83xxxx (something, I forgot) but it still doesn't help. </div><div><br></div><div><br></div><div><div>root@saturn:[~]$ rpcinfo -p</div>
<div> program vers proto port</div><div> 100000 2 tcp 111 portmapper</div><div> 100000 2 udp 111 portmapper</div><div> 100021 1 udp 48996 nlockmgr</div><div> 100021 3 udp 48996 nlockmgr</div>
<div> 100021 4 udp 48996 nlockmgr</div><div> 100021 1 tcp 47195 nlockmgr</div><div> 100021 3 tcp 47195 nlockmgr</div><div> 100021 4 tcp 47195 nlockmgr</div><div> 100011 1 udp 4004 rquotad</div>
<div> 100011 2 udp 4004 rquotad</div><div> 100011 1 tcp 4004 rquotad</div><div> 100011 2 tcp 4004 rquotad</div><div> 100003 2 udp 2049 nfs</div><div> 100003 3 udp 2049 nfs</div>
<div> 100003 4 udp 2049 nfs</div><div> 100003 2 tcp 2049 nfs</div><div> 100003 3 tcp 2049 nfs</div><div> 100003 4 tcp 2049 nfs</div><div> 100005 1 udp 4003 mountd</div>
<div> 100005 1 tcp 4003 mountd</div><div> 100005 2 udp 4003 mountd</div><div> 100005 2 tcp 4003 mountd</div><div> 100005 3 udp 4003 mountd</div><div> 100005 3 tcp 4003 mountd</div>
<div><br></div></div><div> </div><div><br>-- <br>Kind Regards<br>Rudi Ahlers<br>SoftDux<br><br>Website: <a href="http://www.SoftDux.com">http://www.SoftDux.com</a><br>Technical Blog: <a href="http://Blog.SoftDux.com">http://Blog.SoftDux.com</a><br>
Office: 087 805 9573<br>Cell: 082 554 7532<br>
</div>