Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is the iptables file in Fedora 17 moved from /etc/init.d/ to /etc/sysconfig/? I need do some patching to the iptables file to solve the firewall problem (Setting chains to policy ACCEPT: security raw nat mangle filter [FAILED]).

share|improve this question

migrated from serverfault.com Jul 23 '13 at 15:44

This question came from our site for system and network administrators.

i think we need a bit of clarification on what you need – cptPH Jul 23 '13 at 10:35
up vote 2 down vote accepted

The firewall in F17 has changed from iptables to FirewallD.

The init daemon was also replaced with systemd in F15, so you'll see many of the old init.d bash scripts are not there anymore.

Here's some places to get started:

share|improve this answer
i thought the change from iptables to firewalld wasn't made until fedora 18 ... – cptPH Jul 23 '13 at 10:30
Thx for the help. :) – Chris Jul 23 '13 at 10:39
Note you do not have to use firewalld, whereas systemd is non-optional, and that firewalld is just a (different) front-end to the kernel iptables anyway. So you can uninstall firewalld (or disable the service) and use the old userspace iptables if you want (but you then have to create a service for it). I believe the primary justification for firewalld is that it is simpler to use. – goldilocks Aug 14 '13 at 9:14

for IPv4: /etc/sysconfig/iptables

for IPv6: /etc/sysconfig/ip6tables


share|improve this answer
Thx for the help. :) – Chris Jul 23 '13 at 10:40

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.