LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 3151|回复: 2

iptables设置-m state提示No chain/target/match by that name

[复制链接]
发表于 2006-11-9 16:02:45 | 显示全部楼层 |阅读模式
localhost ~ # iptables -A INPUT  -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables: No chain/target/match by that name

编译内核时
Networking->Networking options->Network packet filtering(replaces ipchains)
中的Core Netfilter Configuration和IP: Netfilter Configuration选项下的所有东东都编译为模块了还不行
发表于 2006-11-9 22:02:45 | 显示全部楼层
需要xt_state这个模块,内核配置是:CONFIG_NETFILTER_XT_MATCH_STATE
回复 支持 反对

使用道具 举报

发表于 2006-11-10 18:57:21 | 显示全部楼层
谢谢,这问题我也遇过.
回复 支持 反对

使用道具 举报

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

本版积分规则

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