当前位置: 技术问答>linux和unix
iptables: No chain/target/match by that name 问题!
来源: 互联网 发布时间:2016-04-17
本文导语: 我的问题是在我的终端上执行如下命令: 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 ...
我的问题是在我的终端上执行如下命令:
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我也有配置,但是都是这个结果,所以说明内核还有其他地方配置不正确,
希望有明白的人,具体做过的人能给予帮助!不胜感激!
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我也有配置,但是都是这个结果,所以说明内核还有其他地方配置不正确,
希望有明白的人,具体做过的人能给予帮助!不胜感激!
|
不是配置的问题,你得看对应的模块是否加载了。
lsmod|grep ipt_DSCP
看看是否加载了。
如果加载了还不行,说明编译的有问题。
lsmod|grep ipt_DSCP
看看是否加载了。
如果加载了还不行,说明编译的有问题。
您可能感兴趣的文章:
本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。