Red Hat Bugzilla – Bug 831889
The default iptables rule prevent nfs from working
Last modified: 2014-06-13 06:02:13 EDT
Description of problem:
The default iptables rule prevent nfs from working.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. install RHEL7 and start the nfs server and export share.
2. visit the nfs share on another host.
1. can not access the nfs share from remote host.
2. stop the iptables service on the host and the share can be reached.
NFS share should be avaliable without modifying iptables as in RHEL6.
IN RHEL-7 firewalld is the new firewall solution. If you want to be able to access your local NFSv4 from other hosts, enable the nfs service in firewalld: firewall-cmd: firewall-cmd --add-service=nfs
If you want to disable the firewall, use: systemctl stop firewalld.service
Assigning to firewalld. Marking as modified, the needed service entries are there.
This request was resolved in Red Hat Enterprise Linux 7.0.
Contact your manager or support representative in case you have further questions about the request.