Topic says it all. While I’m at it, the package for the iptables kernel module would also be nice to know.
My question is what do you want to do that would require such kernel module, why do you think you want or need that? Spoiler alert, this doesn’t exist.
= sudo iptables -A INPUT -p tcp --dport 22 -j ACCEPT moby2:/etc/systemd/system
modprobe: FATAL: Module ip_tables not found in directory /lib/modules/6.12.73-1-MANJARO
iptables v1.8.11 (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.
= uname -a moby2:/etc/systemd/system
Linux moby2.azadian.ch 6.12.73-1-MANJARO #1 SMP PREEMPT_DYNAMIC Mon, 16 Feb 2026 21:36:06 +0000 x86_64 GNU/Linux
I interpreted this to mean that I am missing a kernel module. Please relieve my ignorance.
As far as I know Manjaro kernels work out of the box you don’t need to compile or install extra kernel modules for iptables or nftables to work. It is built-in.
Your kernel is broken I would assume. Make sure system is properly updated, and reinstall kernel with mhwd-kernel
//EDIT:
Try find /lib/modules/6.12.73-1-MANJARO/ -name '*ip_tables*'
omano ~ $ find /lib/modules/6.12.82-1-MANJARO/ -name '*ip_tables*'
/lib/modules/6.12.82-1-MANJARO/build/include/uapi/linux/netfilter_ipv4/ip_tables.h
/lib/modules/6.12.82-1-MANJARO/build/include/linux/netfilter_ipv4/ip_tables.h
/lib/modules/6.12.82-1-MANJARO/kernel/net/ipv4/netfilter/ip_tables.ko.zst
The KO file should be the module, I think the two others are from the kernel headers.
Try modinfo ip_tables
filename: /lib/modules/6.18.22-1-MANJARO/kernel/net/ipv4/netfilter/ip_tables.ko.zst
description: IPv4 packet filter
author: Netfilter Core Team <coreteam@netfilter.org>
license: GPL
srcversion: E76A147B434207E5FEF1739
depends: x_tables
intree: Y
name: ip_tables
retpoline: Y
vermagic: 6.18.22-1-MANJARO SMP preempt mod_unload
sig_id: PKCS#7
signer: Build time autogenerated kernel key
sig_key: 2E:71:4C:3F:6E:82:90:90:EB:F1:73:9C:52:CB:64:EB:64:D0:CE:63
sig_hashalgo: sha512
signature: 30:64:02:30:75:98:F6:18:A6:4D:4D:74:BF:9C:D5:8B:B0:4D:B1:75:
0C:80:6D:61:4B:AC:DE:E8:79:8B:7E:8D:47:8F:09:E6:DB:1A:62:9D:
8A:14:A0:4E:0F:4B:32:DD:34:47:6E:17:02:30:11:D6:BE:E4:1A:53:
92:BD:8F:91:DA:37:B4:B0:16:DD:2F:14:D3:BA:3E:64:7F:AB:CF:27:
29:E8:18:3D:41:BE:94:D6:22:CE:7D:50:96:75:01:40:BA:2F:01:B2:
44:ED
Try zgrep CONFIG_IP_NF_IPTABLES /proc/config.gz
CONFIG_IP_NF_IPTABLES_LEGACY=m
CONFIG_IP_NF_IPTABLES=m
iptables has recently been replaced by nftables in Manjaro.
And both come with the kernel.
modinfo nf_tables
filename: /lib/modules/6.18.23-1-MANJARO/kernel/net/netfilter/nf_tables.ko.zst
alias: nfnetlink-subsys-10
description: Framework for packet filtering and classification
author: Patrick McHardy <kaber@trash.net>
license: GPL
srcversion: 510BEFD2FB9B30A7342935F
depends: nfnetlink
intree: Y
name: nf_tables
retpoline: Y
vermagic: 6.18.23-1-MANJARO SMP preempt mod_unload
...
And the package nftables manages this module. (sudo nft list ruleset)
= mhwd-kernel -li phaedrus:~
Currently running: 6.12.73-1-MANJARO (linux612)
The following kernels are installed in your system:
* linux515
* linux612
* linux618
= find /lib/modules/6.12.73-1-MANJARO/ -name '*ip_tables*' phaedrus:~
find: '/lib/modules/6.12.73-1-MANJARO/': No such file or directory
= uname -a phaedrus:~
Linux phaedrus 6.12.73-1-MANJARO #1 SMP PREEMPT_DYNAMIC Mon, 16 Feb 2026 21:36:06 +0000 x86_64 GNU/Linux
= find /lib/modules/ -name '*ip_tables*' phaedrus:~
/lib/modules/5.15.202-1-MANJARO/kernel/net/ipv4/netfilter/ip_tables.ko.xz
/lib/modules/6.18.18-1-MANJARO/kernel/net/ipv4/netfilter/ip_tables.ko.zst
/lib/modules/6.12.77-1-MANJARO/kernel/net/ipv4/netfilter/ip_tables.ko.zst
= modinfo ip_tables phaedrus:~
modinfo: ERROR: Module ip_tables not found.
= zgrep CONFIG_IP_NF_IPTABLES /proc/config.gz phaedrus:~
CONFIG_IP_NF_IPTABLES_LEGACY=m
CONFIG_IP_NF_IPTABLES=m
= modinfo nf_tables phaedrus:~
modinfo: ERROR: Module nf_tables not found.
My guess is that I updated and then did not reboot. My bad. Will do once I get email running.
Yup, the reboot fixed my problem. Thanks all for the clues.
Mod edit: Merged posts. ![]()
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.