Bug 986770
Summary: | "service iptables stop" flushes rules but "service iptables start" does not reload them | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Murray McAllister <mmcallis> |
Component: | iptables | Assignee: | Thomas Woerner <twoerner> |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 19 | CC: | jpopelka, mmcallis, psabata, twoerner, vdanen |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-07-23 09:53:42 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
Murray McAllister
2013-07-22 03:58:33 UTC
Which firewall system are you using? The default since Fedora 18 is firewalld. For information on firewalld, please have a look at https://fedoraproject.org/wiki/FirewallD If you want to use your own static firewall rules with the iptables and ip6tables services, install iptables-services and disable firewalld and enable iptables and ip6tables: yum install iptables-services systemctl mask firewalld.service systemctl enable iptables.service systemctl enable ip6tables.service Use /etc/sysconfig/iptables and /etc/sysconfig/ip6tables for your static firewall rules. These will be loaded with service iptables start and service ip6tables start. Note: The package iptables and iptables-services do not provide firewall rules for use with the services. The services are available for compatibility and people that want to use their own firewall rules. You can install and use system-config-firewall to create rules with the services though. After creating rules for use with the services stop firewalld and start the iptables and ip6tables services: systemctl stop firewalld.service systemctl start iptables.service systemctl start ip6tables.service (In reply to Thomas Woerner from comment #1) > Which firewall system are you using? Sorry, seems this is all just user error (coming from RHEL 5) :( Using the commands you provided I find I am using firewalld. The iptables services are not active, and I have no /etc/sysconfig/iptables files. Thanks for the quick reply and pointers to information! (Also, I am not using custom rules, just whatever is used with the default install.) |