Click to See Complete Forum and Search --> : iptables in RH 8.0


morpheus12x
05-15-2003, 07:44 AM
Hello to all

I've been setting up firewall using Iptables in RH 7.3 and I knew the actual conf file of iptables was in /etc/network

Now on My newly Installed RH 8.0 I can,t find an Iptables conf file.I am only able to issue rules through the command prompt(Which i don,t want) because when I shutdown my machine the rules I issued get erased and I have to start Again typing the rules on the command line.

So,does anyone know where the actual conf file is located in RH 8.0? And How do I make it so that my rules on the iptables don,t get flushed or erased?

Thanks in Advance.

homey
05-15-2003, 08:37 AM
Have a look in /etc/sysconfig/iptables.
To save the tables ( as root ) type the command:
/sbin/service iptables save

dany_primanita
05-15-2003, 09:41 AM
dont forget to activate your iptables service from /usr/sbin/ntsysv then cross the iptables field. klik ok to save your setting.

so it wont dissappear when u restart and automatically start your iptables.

:)

morpheus12x
05-16-2003, 08:29 AM
Thanks my fellow people it worked just fine....I appreciate it very much.