Computing.Net > Forums > Linux > NFS Problems

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

NFS Problems

Reply to Message Icon

Name: payoden
Date: February 11, 2005 at 00:17:56 Pacific
OS: Fedora Core 3
CPU/Ram: 2800 XP
Comment:


I was having some problems connecting network files. I corrected this problem by disabling my firewall...not exactly what i want to be a permanant solution. What type of firewall rules should I implement for NFS access. I know they use port 2049, but I also read portmapper listens on 111 and exchanges information dynamically or something. Im still on my Linux Learning Curve...so help would be appreciated. Thanks



Sponsored Link
Ads by Google

Response Number 1
Name: C_Legend
Date: February 11, 2005 at 23:47:22 Pacific
Reply:

I don't know about Fedora Core, but in some prior versions of Redhat, "redhat-config-securitylevel" (gui) or "lokkit" (text) got the job done by simply using "allow" NFS access. You might want to give this a try:

# redhat-config-securitylevel&

or

# lokkit

Good luck.


0

Response Number 2
Name: Tauroka
Date: February 28, 2005 at 22:13:28 Pacific
Reply:

I've had this problem too.

First the understandable.
1. You need to populate your /etc/hosts.allow file.

2. You need to populate your /etc/exports file either manually or using system-config-nfs

3. You need to start your nfs services using something like system-config-services.

Now the bit I don't understand.
You need to modify your firewall i.e. use /usr/bin/lokkit -> customize
In the other ports window you need the following:
nfs:tcp nfs:udp sunrpc:tcp sunrpc:udp 761:udp 764:tcp

Now I warn you I'm not a network guru nor do I have any networking administration qualifications so I can't guarantee that this won't open any major security holes in your system. I don't even know what this does exactly. I simply used rpcinfo -p, opened up all the ports then closed them one at a time to determine which are and which aren't required on my system.

Anyone outthere care to explain what is going on here?

BTW: the redhat-config-securitylevel of redhat 9 is called system-config-securitylevel in Fedora


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: NFS Problems

nfs problem www.computing.net/answers/linux/nfs-problem/9247.html

NFS problem: exportfs not found www.computing.net/answers/linux/nfs-problem-exportfs-not-found/9321.html

file sharing using NFS problem! www.computing.net/answers/linux/file-sharing-using-nfs-problem/6307.html