Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
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

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.

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:tcpNow 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

![]() |
![]() |
![]() |

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