[WBEL-users] IPtables...Script startup

dgr@snap.cu dgr@snap.cu
Wed, 23 Jun 2004 15:55:58 -0400 (CDT)


Hello list!!!

I have a server whit basic system of WBEL. I´m installing on this server
Iptables, BIND and Sendmail from rpm of the distribution CD. All is Ok and
the services work very well. My problem it´s in the setting of iptables
services  on the startup on server. I created
/etc/sysconfig/iptables-config script whith permission of executes, the
script /etc/init.d/iptables read this file
(/etc/sysconfig/iptables-config) but my server do not NAT on my network. I
run the iptables -L -t nat commands and it show me all the rules running,
then i need to run iptables-config script again for mounting the rules.
Then i need this process automatically. I thought do it in the
/etc/inittab file throught a new line, but i remenber the iptables-save
command and probe do iptables-save > /etc/sysconfig/iptables, move the
iptables-config to iptables.save, restart the server and startup, but not
work. How to can the run the iptables-config script in the startup
system??

Tahnk for all,
David