Why can't I get UFW to run on my Arch Linode?
Linode
Linode Staff
Every time I try to start UFW or retrieve its status via systemctl
, I receive the following error:
ERROR: problem running iptables: iptables v1.8.5 (legacy): can't initialize iptables table `filter': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
1 Reply
Chris_H
Linode Staff
On Arch systems, this issue is usually the result of a discrepancy between the system's current kernel version and the kernel version reflected under /usr/lib/modules
. The easiest way to confirm this discrepancy would be to run the following commands, and see if the results differ:
uname -a
pacman -Q linux
The good news here is that this can be resolved by simply updating your Arch Linode's kernel (pacman -Syyu
), and then rebooting the Linode to change the running kernel.