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]).
- i think we need a bit of clarification on what you needcptPH– cptPH2013-07-23 10:35:12 +00:00Commented Jul 23, 2013 at 10:35
Add a comment |
2 Answers
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:
- i thought the change from iptables to firewalld wasn't made until fedora 18 ...cptPH– cptPH2013-07-23 10:30:53 +00:00Commented Jul 23, 2013 at 10:30
- Thx for the help. :)Chris– Chris2013-07-23 10:39:59 +00:00Commented Jul 23, 2013 at 10:39
- 1Note 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– goldilocks2013-08-14 09:14:28 +00:00Commented Aug 14, 2013 at 9:14
for IPv4: /etc/sysconfig/iptables
for IPv6: /etc/sysconfig/ip6tables
https://fedoraproject.org/wiki/How_to_edit_iptables_rules?rd=User_talk:Rforlot
- Thx for the help. :)Chris– Chris2013-07-23 10:40:36 +00:00Commented Jul 23, 2013 at 10:40