You are not logged in.

#1 2019-06-15 02:47:53

ch0wner
Member
Registered: 2019-02-02
Posts: 2

[SOLVED] Iptables kernel modules could not be loaded

Hello everyone, I'm glad to join the arch community

I am trying to add a few iptables rules to my machine for example just listing the filter table rules:
`sudo iptables -t filter -nvL`
Fails because the required kernel objects are not loaded.

locate iptable_filter.ko.xz shows that the kernel object can be found under
'/usr/lib/modules/**/iptable_filter.ko.xz'

But I know that modprobe for example looks under /lib/modules/**

What can I do to make this work?

Thanks in advance.

Last edited by ch0wner (2019-06-15 03:18:29)

Offline

#2 2019-06-15 03:06:59

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] Iptables kernel modules could not be loaded

Please paste exact commands and the full output, not obfuscated excerpts: https://bbs.archlinux.org/viewtopic.php?id=57855


Also paste the output of `pacman -Q iptables` and `uname -a`.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2019-06-15 03:15:33

ch0wner
Member
Registered: 2019-02-02
Posts: 2

Re: [SOLVED] Iptables kernel modules could not be loaded

jasonwryan wrote:

Please paste exact commands and the full output, not obfuscated excerpts: https://bbs.archlinux.org/viewtopic.php?id=57855


Also paste the output of `pacman -Q iptables` and `uname -a`.

Sorry, I thought my explanation was clear enough.
Anyway, Because I have upgraded my kernel and did not reboot my machine, I finally realized that modprobe was looking at the older kernel version folder.

Simply rebooting my machine resolved my issue smile

Last edited by ch0wner (2019-06-15 03:16:46)

Offline

Board footer

Powered by FluxBB