RE: firewalld and iptables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thank you Denis.

In case someone needs this:
  systemctl status iptables
  systemctl stop firewalld
  yum -y install iptables-services
  systemctl enable iptables
  systemctl start iptables

________________________________________
From: netfilter-owner@xxxxxxxxxxxxxxx <netfilter-owner@xxxxxxxxxxxxxxx> on behalf of Dennis Jacobfeuerborn <dennisml@xxxxxxxxxxxx>
Sent: Thursday, July 31, 2014 9:54 AM
To: Paul Greenberg; netfilter@xxxxxxxxxxxxxxx
Subject: Re: firewalld and iptables

On 31.07.2014 15:37, Paul Greenberg wrote:
> Hi,
>
> I installed CentOS 7 a few days ago. It seems that iptables commands are still working.  For example, I can still execute:
> $ iptables-restore iptables.rules
> However, I am unable to permanently store the rules.
>
> CentOS has a new deamon, called firewalld, with firewalld.conf file. Does any one know how how to force the rules in iptables-save to be permanently saved by firewalld daemon?

You cannot use manual iptables and firewalld together. If you want to
use naked iptables you have to disable the firewalld service completely
and probably install the iptables-service package.

Regards,
  Dennis

--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux