![iptables 명령을 사용하여 패킷을 필터링하는 규칙을 생성할 수 없습니다. [Debian 10]](https://linux55.com/image/207379/iptables%20%EB%AA%85%EB%A0%B9%EC%9D%84%20%EC%82%AC%EC%9A%A9%ED%95%98%EC%97%AC%20%ED%8C%A8%ED%82%B7%EC%9D%84%20%ED%95%84%ED%84%B0%EB%A7%81%ED%95%98%EB%8A%94%20%EA%B7%9C%EC%B9%99%EC%9D%84%20%EC%83%9D%EC%84%B1%ED%95%A0%20%EC%88%98%20%EC%97%86%EC%8A%B5%EB%8B%88%EB%8B%A4.%20%5BDebian%2010%5D.png)
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
커널과 헤더 업그레이드를 시도하고 커널 업그레이드 후 재부팅했습니다. 이 문제에는 아직 행운이 없습니다. 이 문제의 원인과 해결 방법을 아시는 분 계신가요?