Why can't I get UFW to run on my Arch 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

The Problem

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 Solution

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.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct