Linux Firewall iptables problem

I’ve been experimenting with Virtualmin on a cloud server and everything has been working fine until I decided to check what the firewall rules look like. Below is the message I get when I try to access the “Linux Firewall” under Networking in the UI. Same goes for iptables -L in terminal, etc.

An error occured when checking your current IPtables configuration
FATAL: Could not load /lib/modules/3.2.0-4-686-pae/modules.dep: No such file or directory
iptables v1.4.7: can’t initialize iptables table `filter’: iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

This may indicate that your kernel does not support IPtables.

My system details are:
Operating system: CentOS Linux 6.5
Virtualmin version: 4.07.gpl GPL
Webmin version: 1.680
Kernel and CPU: Linux 3.2.0-4-686-pae on i686

update: since noticing the problem the button for “Linux Firewall” has completely disappeared from the Webmin -> Networking menu. Did the module deactivate itself because it realized it’s broken?

Any help would be greatly appreciated.


You may be seeing an issue with the VPS you’re using. One possible explanation is that it may not have the kernel modules installed that you need to run a firewall.

What VPS are you using? What type of VPS is it? And what distro do you have there?


Hey, I’m using DigitalOcean. They have tutorials on how to set up iptables, so I would assume it’s not a general problem with the service. I’ve installed their CentOS 6.5 x32 on my droplet and only Virtualmin on top of that as it is prescribed.