Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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 professional system and network administrators.

    
i think we need a bit of clarification on what you need –  cptPH Jul 23 '13 at 10:35
add comment

2 Answers 2

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
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. –  goldilocks Aug 14 '13 at 9:14
add comment

for IPv4: /etc/sysconfig/iptables

for IPv6: /etc/sysconfig/ip6tables

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

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

Your Answer

 
discard

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