Hey you know what, as far as I can see, you are not working in a production environment. Am I right?
To determine if the issue is happening because of the firewall or not, use the following command on the NFS server and the try to mount the share on the client. See if that works:
Now, if this works, that means you have to take a deeper look at your iptables script.
Check the open ports on the server by issuing any of the following commands:
PHP Code:
lsof -i -n -P
nmap localhost
As far as I have seen from your post, you have not mentioned configuration in the /etc/sysconfig/nfs file. Make sure you have un-commented the following lines:
PHP Code:
RQUOTAD_PORT=875
LOCKD_TCPPORT=32803
LOCKD_UDPPORT=32769
MOUNTD_PORT=892
STATD_PORT=662
STATD_OUTGOING_PORT=2020
After that, you have open the same ports (tcp and udp both) using the /etc/sysconfig/iptables file or your custom iptables script, whatever you are using.
This should work without any hiccup.
Please do post if you get success, if not, I'm always glad to help you out!
