Add the following rules to /etc/sysconfig/iptables with your favourite text editor.
“`
-A RH-Firewall-1-INPUT -m state –state NEW -p udp –dport 111 -j ACCEPT
-A RH-Firewall-1-INPUT -m state –state NEW -p tcp –dport 111 -j ACCEPT
-A RH-Firewall-1-INPUT -m state –state NEW -p udp –dport 892 -j ACCEPT
-A RH-Firewall-1-INPUT -m state –state NEW -p tcp –dport 892 -j ACCEPT
-A RH-Firewall-1-INPUT -m state –state NEW -p udp –dport 875 -j ACCEPT
-A RH-Firewall-1-INPUT -m state –state NEW -p tcp –dport 875 -j ACCEPT
-A RH-Firewall-1-INPUT -m state –state NEW -p udp –dport 662 -j ACCEPT
-A RH-Firewall-1-INPUT -m state –state NEW -p tcp –dport 662 -j ACCEPT
-A RH-Firewall-1-INPUT -m state –state NEW -p tcp –dport 2049 -j ACCEPT
-A RH-Firewall-1-INPUT -m state –state NEW -p tcp –dport 32803 -j ACCEPT
-A RH-Firewall-1-INPUT -m state –state NEW -p udp –dport 32769 -j ACCEPT
“`
Now restart the iptables service
“`
/etc/init.d/iptables restart“`
Now access the share from Client system.