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: Viliam Kocinsky (kocinskynextra.sk)
Date: Wed Apr 21 2004 - 11:54:15 CDT


Yes that`s it. In directory /etc/shorewall are some config files, that
have setting of my firewall. Now i have to look in to the manuals, what
is shorewall about.

Thanks
            Viliam
    
On Wed, 2004-04-21 at 06:40, Mihai NECSA wrote:
> Well,
>
> I'm not using that tool but ....
>
> This "Mandrake kontrol centre -> security -> DrakFirewall" is a frontend of shorewall (a script that help users to install a firewall) and it has nothing to do with /etc/sysconfig/iptables - AFAIK.
>
> you should parse the shorewall script to see where's the config script (or if you're lucky it should be in /etc/shorewall )
>
>
>
>
> Viliam Kocinsky wrote:
>
> >Thank you for explanation.
> >I still don`t understand one thing. In graphical mode it`s also posible
> >to set firewall (Mandrake kontrol centre -> security -> DrakFirewall).
> >Where are stored this settings? Or DrakFirewall has nothing to do with
> >iptables?
> >
> >On Wed, 2004-04-21 at 05:36, Mihai NECSA wrote:
> >
> >
> >>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
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >
> >
> >
> >
>