[CentOS] [CEntOS] - problem with iptables

Chris Geldenhuis chris.gelden at iafrica.com
Thu Oct 10 08:33:17 UTC 2013


On 10/10/2013 10:09 AM, Eero Volotinen wrote:
> chkconfig iptables on
> fixes the problem..
> On Oct 10, 2013 10:51 AM, "Paolo De Michele" <paolo at paolodemichele.it>
> wrote:
>
>> hi all,
>>
>> I have a problem with iptables on CentOS 6.2.
>> I configured:
>>
>> chkconfig iptables on
>> and the file /etc/sysconfig/iptables
>>
>> if you reboot the machine configurations are not loaded.
>> iptables-L gives me the default configurations (not assigned)
>> if I (a machine booted): service iptables start then then it works.
>>
>> how can I fix?
>> thanks in advance
>> _______________________________________________
>> CentOS mailing list
>> CentOS at centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
After service iptables start do:

service iptables save

This saves your configuration for the next restart / reboot

ChrisG



More information about the CentOS mailing list