[CentOS] Question about rebooting and iptables rules persisting

mouss mlist.only at free.fr
Mon Mar 26 21:35:45 UTC 2007


Preston Crawford wrote:
>>> Does anyone know what is happening? I've tried iptables -save or
>>> whatever.
>>> Nothing seems to work in getting these ports to be open on reboot.
>>>
>>>       
>> service iptables save
>>     
>
> I did that and it doesn't help.

ahuh? try

# iptables-save > /etc/sysconfig/iptables

in case the init.d script is broken.

make sure you are not using a non standard iptables script (otherwise, 
you'll nedd to see where the script gets stores/reads its config).

>  Do you think it has to do with the order
> in which things happen? i.e. smb starting up after iptables? It would seem
> other people would have that problem, though, wouldn't they?
>   




More information about the CentOS mailing list