1

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]).

1
  • i think we need a bit of clarification on what you need Commented Jul 23, 2013 at 10:35

2 Answers 2

2

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:

3
  • i thought the change from iptables to firewalld wasn't made until fedora 18 ... Commented Jul 23, 2013 at 10:30
  • Thx for the help. :) Commented Jul 23, 2013 at 10:39
  • 1
    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. Commented Aug 14, 2013 at 9:14
1

for IPv4: /etc/sysconfig/iptables

for IPv6: /etc/sysconfig/ip6tables

https://fedoraproject.org/wiki/How_to_edit_iptables_rules?rd=User_talk:Rforlot

1
  • Thx for the help. :) Commented Jul 23, 2013 at 10:40

You must log in to answer this question.