Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
I have Data Domain with nfs shares created and exported to the SLES 11 server. We are trying to mount using the mount -t -o <options> DDIP:/backup <mount> and it times out after few minutes. We figured that its a firewall issue. I have been reading lot about the nfs ports and looks like the important once are 111 (portmapper) and the 2049 (nfsd). But the rpcinfo -p on the client shows more TCP and UDP ports for nlockmgr and mountd. Should i open those ports as well in firewall ?
Another question is which way should be the rule implemented.
1) Allow bidrirection on ports 2049 & 111.
2) Allow 2049 & 111 ports from client to server.
3) Allow 2049 & 111 ports from server to client.
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233
Rep:
if you can ssh into the machine than you have two possibilities,
1) install and use FUSE SSHFS instead of NFS
2) create an SSH tunnel to forward the NFS port
otherwise yes, the ports probably should be opened
Unfortunately i cant install anything other than opening the ports. I was more looking towards which ports needs to be open other than 111 and 2049 and should it be open from client to server or from server to client.
are you able to ssh into the server from the client?
again if so as you are not willing to use sshfs a reverse ssh connection will solve the problem without having to deal with installing anything more. just requires an ssh connection from the server to the client.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.