disable firewall in CentOS 6

Posted November 21, 2019 11.1k views

I use follow commands in digital ocean server with centos 6

service iptables save

service iptables stop
chkconfig iptables off

but after some hours firewall enabled again. how to prevent it?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
2 answers

Hello, @robomysdnbhd

Can you please let me know why you would like to the iptables service disabled? You can check if you have any cron jobs that will start the service.

Looking forward to your reply.