QUOTE:原帖由 "summercook" 发表:
iptables没有编译到内核中
两种方法;
1. 重新编译内核,把ip_tables编译内核中,不以模块的方式加载。
2. 下载一iptables的用户软件,然后以模块的方式加载到内核上。
我按你说的方法二,从
www.iptables.org下了最新的iptables1.2.9,然后依次执行
#make KERNEL_DIR=/usr/src/linux-2.4.20
# make install KERNEL_DIR=/usr/src/linux-2.4.20
#make install-devel
编译正常,没有任何出错信息。
然后再执行# /sbin/iptables -L
还是出现:
modprobe: Can't locate module ip_tables
iptables v1.2.6a: can't initialize iptables table `filter': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
为什么系统显示的iptables的版本还是1.2.6a呢?
我遗漏了什么步骤?谢谢。