mount problems with NFS
it seems to me that i am having trouble mounting usinf NFS, ive read and followed a NFS howto, and when i go to mount i get a "mount: RPC: Timed Out" comment, i am unsure as to how to fix this.
|
More than likely a firewall issue. What Linux are you running on the client and server?
|
|
both machines are running redhat 9. so how do i go about troubleshooting the firewall issue
|
I always flush my ruleset and see if that remedies the problem and then update the ruleset or work on another solution.
Code:
iptables -F EDIT: It may make it easier to set up NFS to use TCP, although this will create a little more overhead: http://docsrv.caldera.com:507/en/PER...ml#cfg_tcp_nfs That may point you in the right direction. Another good article: http://www.linuxsecurity.com/feature...story-118.html |
The port used for nfs is 2049, you should try do add the following rules to iptables (in both computers)
iptables -a input -p all -i <interface> -s <network-mask> -d <ip> \ --sport 2049 --dport 2049 -j accept iptables -a output -p all -o <interface> -s <network-mask> -d <ip> \ --sport 2049 --dport 2049 -j accept <comp-iface> is "eth0" or "eth1" or "eth2" <network-mask> is usually 255.255.255.0 but you can be a little more restrictive if you want <ip> guess what, you ip address Also, you must edit /etc/exports and add a line like /home <ip-net>/<mask-bits>(<mode>,sync) <ip-net> is yout network address like 192.168.0.0 <mask-bits> is usually 24 (it's equivalent to <network-mask>) <mode> can be rw, r, etc Good luck |
All times are GMT -5. The time now is 09:32 AM. |