Bug 831889

Summary: The default iptables rule prevent nfs from working
Product: Red Hat Enterprise Linux 7 Reporter: Weibing Zhang <atzhang>
Component: firewalldAssignee: Thomas Woerner <twoerner>
Status: CLOSED CURRENTRELEASE QA Contact: Jan Ščotka <jscotka>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.0CC: jiyin, jscotka, kzhang, nmurray, twoerner, yanwang, ypei
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-13 10:02:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Weibing Zhang 2012-06-14 02:35:16 UTC
Description of problem:
The default iptables rule prevent nfs from working.

Version-Release number of selected component (if applicable):
iptables

How reproducible:
100%

Steps to Reproduce:
1. install RHEL7 and start the nfs server and export share.
2. visit the nfs share on another host.
3.
  
Actual results:
1. can not access the nfs share from remote host.
2. stop the iptables service on the host and the share can be reached.
Expected results:
NFS share should be avaliable without modifying iptables as in RHEL6.

Additional info:

Comment 2 Thomas Woerner 2012-11-12 11:16:20 UTC
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

Comment 8 Thomas Woerner 2014-01-09 11:48:54 UTC
Assigning to firewalld. Marking as modified, the needed service entries are there.

Comment 11 Ludek Smid 2014-06-13 10:02:13 UTC
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.