Report this

What is the reason for this report?

Cloud firewall disables CentOS firewall? Or iptables not in kernel?

Posted on April 5, 2018

Some time (not sure how long) after I set up my Cloud Firewall, I discovered that the built-in iptables firewall in my CentOS droplet has stopped working. I have this message in diagnostics:

iptables v1.4.21: can’t initialize iptables table `filter’: Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded.

Is this typical? I upgraded the kernel about two weeks after the SPECTRE/etc. reports came out, not sure if that is part of the scenario either.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

The module certainly should be there and the cloud firewall should not have any effect on your ability to launch iptables on your droplet(s).

Doing a bit of searching, there are others who have encountered this issue on CentOS and by ensuring the module is properly loaded they have resolved this issue:

sudo modprobe ip_tables
sudo echo 'ip_tables' >> /etc/modules

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.