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

Re: Red Hat 7.2 and example firewall script



"Mike A. Harris" wrote:

> There seems to be some confusion lately with ipchains and
> iptables and the supplied initscripts.  I am just clarifying that
> the initscripts are not intended for homebrew scripts.  This is
> probably confused by the choice of names for the initscripts.
> Instead of being called /etc/init.d/ipchains, it probably should
> have been called  or
>  or somesuch.

but you can to make :

# /etc/rc.d/init.d/iptables stop
# bash myshellfirewallscript
# iptables-save > /etc/sysconfig/iptables
# /etc/rc.d/init.d/iptables start

and it is ok.

regards,





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