iptables
即使我已经安装了 iptables 最新版本,我在使用命令时仍遇到错误。该命令显示以下错误sudo iptables --list
,
modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/4.4.194/modules.dep.bin'
modprobe: FATAL: Module ip_tables not found in directory /lib/modules/4.4.194
iptables v1.8.2 (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.
没有/lib/modules
目录和uname -a
显示,
Linux vest 4.4.194 #6 SMP Tue Nov 16 17:43:41 CST 2021 aarch64 GNU/Linux
并lsb_release -a
给出,
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 10 (buster)
Release: 10
Codename: buster
我尝试升级内核和标头,并在升级内核后重新启动。这个问题仍然没有运气。有谁知道这个问题的原因以及如何解决这个问题?