QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 859|回复: 7

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

[复制链接]
发表于 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.
                                                           [失败]
发表于 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.
回复

使用道具 举报

 楼主| 发表于 2003-5-27 08:43:02 | 显示全部楼层
但是我在编译内核的时候没有看见有防火墙的选项呀?
回复

使用道具 举报

发表于 2003-5-27 08:59:15 | 显示全部楼层
network option, choose that network filter, then go network filter option to choose iptable
回复

使用道具 举报

 楼主| 发表于 2003-5-27 11:21:01 | 显示全部楼层
可以了,防火墙是在编译内核时一起编译的,感谢Dragonfly斑竹
回复

使用道具 举报

发表于 2003-5-27 11:28:48 | 显示全部楼层
welcome
回复

使用道具 举报

发表于 2003-8-12 21:59:58 | 显示全部楼层
我在RH9下没有看见有什么IPTABLE的选项啊,这几个字压根找不到啊!

[quote:6d7301558d="Dragonfly"]network option, choose that network filter, then go network filter option to choose iptable[/quote]
回复

使用道具 举报

发表于 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)
  • 回复

    使用道具 举报

    您需要登录后才可以回帖 登录 | 注册

    本版积分规则

    GMT+8, 2024-9-18 15:15 , Processed in 0.048319 second(s), 15 queries .

    © 2021 Powered by Discuz! X3.5.

    快速回复 返回顶部 返回列表