Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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
Go check out that link. There are also others that have posted their rulesets for NFS. They are easy to come across and there is probably some on this board as well.
EDIT:
It may make it easier to set up NFS to use TCP, although this will create a little more overhead:
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.