wanglong_jiang 发表于 2003-5-26 14:30:27

内核编译后防火墙不能用了

:?: 我的系统原先是redhat9.0重新编译了一个内核2.4.20以后防火墙不能用了,出现错误提示如下,请教高手怎么办?


清除所有当前规则及用户定义的链:modprobe: Can't locate module ip_tables
iptables v1.2.7a: can't initialize iptables table `filter': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
                                                         [失败]
清除当前所有规则及用户定义的链:modprobe: Can't locate module ip_tables
iptables v1.2.7a: can't initialize iptables table `filter': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
                                                         [失败]
应用 iptables 防火墙规则:modprobe: Can't locate module ip_tables
iptables-restore v1.2.7a: iptables-restore: unable to initializetable 'filter'

Try `iptables-restore -h' or 'iptables-restore --help' for more information.
                                                         [失败]

Dragonfly 发表于 2003-5-26 22:10:44

u error is " Can't locate module ip_tables "
so do u choose ip_table when u compile the kernel? u need choose M not N nor Y.

wanglong_jiang 发表于 2003-5-27 08:43:02

:?: 但是我在编译内核的时候没有看见有防火墙的选项呀?

Dragonfly 发表于 2003-5-27 08:59:15

network option, choose that network filter, then go network filter option to choose iptable

wanglong_jiang 发表于 2003-5-27 11:21:01

可以了,防火墙是在编译内核时一起编译的,感谢Dragonfly斑竹

Dragonfly 发表于 2003-5-27 11:28:48

welcome

ibn 发表于 2003-8-12 21:59:58

我在RH9下没有看见有什么IPTABLE的选项啊,这几个字压根找不到啊!

network option, choose that network filter, then go network filter option to choose iptable

Dragonfly 发表于 2003-8-12 22:56:50

for rh9
choose [*] Network packet filtering (replaces ipchains)
enter       IP: Netfilter Configuration--->
choose    <M> IP tables support (required for filtering/masq/NAT)
页: [1]
查看完整版本: 内核编译后防火墙不能用了