If you have a script you can simply execute it to add all the rules then use either
service iptables save Or iptables-save > /etc/sysconfig/iptables They both do the same thing and that is write the iptables file in sysconfig in the format that is required to restore your rules. Regards James > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] On Behalf Of Jevoš Peter > Sent: Thursday, April 04, 2002 12:04 AM > To: [EMAIL PROTECTED] > Subject: installation iptables > > > Hi > I wrote a script file, iptables, that contains all my rules > for my firewall for a Linux 2.4.7 Redhat 7.2 system. I would > like to implement mz script into iptables script at > /etc/rc.d/init.d/iptables.I've placed the script file in > /etc/sysconfig. I tried to use command iptables-restore to > restore a ruleset in the /etc/.../iptables file, but th e > process was unfunctional How can I work my iptables set rules > ? Thanx a lot for your answers Peter > > > >
