Redhat9.0 内核版本2.4.20-8
软件包:
Administration Tool
Development Tool
Kernel Development
Network
System Tool
编译内核2.6.13后,iptables无法使用,提示iptables需升级。(已将netfilter编译进内核)
下载iptables v1.3.4
安装步骤:
cd /usr/src/iptables-1.3.4
export KERNEL_DIR=/usr/src/linux
export IPTABLES_DIR=/usr/src/iptables-1.3.4
make BINDIR=/sbin LIBDIR=/lib MANDIR=/usr/share/man install
运行iptables -V ,显示 iptables v1.3.4
运行iptables -L ,显示modprobe: Can't locate module ip_tables
iptables v1.3.4: can't initialize iptables table `filter': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.