iptables: No chain/target/match by that name 问题!

tjy927 2008-10-09 04:49:31
我的问题是在我的终端上执行如下命令:
iptables -t mangle -A OUTPUT -p udp --destination-port 5060 -j DSCP --set-dscp 40
提示iptables: No chain/target/match by that name
而执行iptables -t mangle -A OUTPUT -p udp --destination-port 5060
可以通过
我知道是内核的配置导致没有链,但是我所有配置都选上了,该有的都有了!还是不行!
我配置的是编译进入内核!
希望高手能知道到底是内核的哪个地方没有配置!
包括IP: Netfilter Configuration ---> 下的
DSCP match support
DSCP target support 我都有配置
另外执行iptables -t mangle -A OUTPUT -p udp --destination-port 5060 -j TOS --set-tos 2
也是提示iptables: No chain/target/match by that name
也就是说并不是DSCP这一项的配置问题,TOS我也有配置,但是都是这个结果,所以说明内核还有其他地方配置不正确,
希望有明白的人,具体做过的人能给予帮助!不胜感激!
...全文
435 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
playmud 2008-10-09
  • 打赏
  • 举报
回复
不是配置的问题,你得看对应的模块是否加载了。
lsmod|grep ipt_DSCP
看看是否加载了。
如果加载了还不行,说明编译的有问题。

4,436

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 内核源代码研究区
社区管理员
  • 内核源代码研究区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧