Firewall vs NFS

Support for security such as Firewalls and securing linux
Post Reply
IMAN7
Posts: 9
Joined: 2008/03/02 06:53:59

Firewall vs NFS

Post by IMAN7 » 2008/06/14 18:05:25

Hello
I am having problems with the firewall.
It doesn't allow nfs shares to be mounted.
In the system-config-security, I have clicked the nfs4 service and I have also allowed ports 111 udp/tcp, 32788 TCP/UDP (rpc.lockd), 32785 TCP (rpm.mountd), 32786 TCP (rpc.statd).
Yet I can't mount the shares.
Only when I stop the firewall can I mount the shares
What do I need to configure?

NedSlider
Forum Moderator
Posts: 2897
Joined: 2005/10/28 13:11:50
Location: UK

Firewall vs NFS

Post by NedSlider » 2008/06/14 19:45:02

Here you go:

http://kbase.redhat.com/faq/FAQ_85_5928.shtm

IMAN7
Posts: 9
Joined: 2008/03/02 06:53:59

Re: Firewall vs NFS

Post by IMAN7 » 2008/06/14 21:57:20

Thank you for your help.
It appears that the system-config-nfs utility has a problem in the server settings submenu and doesn't provide for the entire range of parameters that need to be configured for nfs to work through the firewall.
Obviously the correct thing to do is to issue an rpcinfo -p localhost and open every port listed.

simonapnic
Posts: 20
Joined: 2008/07/06 20:32:04
Contact:

Re: Firewall vs NFS

Post by simonapnic » 2008/07/08 14:14:43

Try to define rules to allow NFS to slip through your firewall.
It shouldn't be that hard I guess.
And as it was already suggested:


[url=http://kbase.redhat.com/faq/FAQ_85_5928.shtm]http://kbase.redhat.com/faq/FAQ_85_5928.shtm[/url]

Post Reply