/etc/sysconfig/iptables has to be in a certain format for the startup scripts to load 
them properly.  

Flush your iptables first, load your iptables rules manually, and then run

/sbin/service iptables save

That command will then save the currently loaded netfilter rules to 
/etc/sysconfig/iptables in the correct format.

Good luck,
Andy.

-----Original Message-----
From: linux power [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, September 17, 2002 11:06 AM
To: redhat mail list
Subject: Why doesnt iptables load the /etc/sysconfig/iptables file?


Why doesnt linux load the /etc/sysconfig/iptables
file?
I have a shell script I run with the iptables rules,
and they are saved in /etc/sysconfig/iptables file.
But when I restart iptables it dont load the file.
The permissions for the file is --rw--r--r
The permissions was before I changed it --rw-- ---
I have checked that the rules are not loaded with
/sbin/iptables -L
It worked a few days ago. Is it the cron demon that
change the settings.


______________________________________________________
Se den nye Yahoo! Mail på http://no.yahoo.com/
Nytt design, enklere å bruke, alltid tilgang til Adressebok, Kalender og Notisbok



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to