does anyone know why this doesn't work?? I don't get it.
root@OpenWrt:/# iptables -t mangle -A PREROUTING -i eth1 -j DSCP --set-dscp 0
iptables v1.4.21: unknown option "--set-dscp"
Try `iptables -h' or 'iptables --help' for more information.
The content of this topic has been archived on 12 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.
does anyone know why this doesn't work?? I don't get it.
root@OpenWrt:/# iptables -t mangle -A PREROUTING -i eth1 -j DSCP --set-dscp 0
iptables v1.4.21: unknown option "--set-dscp"
Try `iptables -h' or 'iptables --help' for more information.
Post here your lsmod, please.
It seems there are missing xt_DSCP module
root@OpenWrt:/# lsmod | grep -i dscp
x_tables 8669 49 xt_DSCP
xt_DSCP 1316 0
xt_dscp 932 0
its there, it also says the same thing without the module loaded!
do you have self compiled image or downloaded?
it is compiled from source
so try take a look if in kernel config is dscp enabled
NETFILTER_XT_TARGET_DSCP [=m]
You also need "iptables-mod-ipopt" for the userspace counterpart.
thank you
The discussion might have continued from here.