OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: [discuss] where is located iptables config file?

From: Mihai NECSA (mdkph.ro)
Date: Wed Apr 21 2004 - 04:36:36 CDT


hi

Actually the file isn't created after the system is installed. It has to
be in /etc/sysconfig. After you got the firewall script then apply the
rules and hit

iptables-save > /etc/sysconfig/iptables

that's the way I'm using it.

Viliam Kocinsky wrote:

>I`ve got Mandrake9. I want to change configuration of iptables
>(firewall) in file, not in grafical interface. In script
>/etc/rc.d/init.d/iptables is said, that it will read config file
>/etc/system/iptables, but i can`t find that file. I wonder, where from
>my firewall is geting configuration. My firewall is runing, at least i
>see rulls after command iptables -L
>Can anyone advise me?
> Viliam
>
>
>
>