I need to specify dscp settings for the incoming TCP connections to my server. What is the easiest way to do that?

link|improve this question

70% accept rate
feedback

1 Answer

I presume you run linux. With iptables you can specify the settings

iptables -t mangle -A FORWARD -p tcp --dport 21 -j DSCP --set-dscp 1
iptables -t mangle -A FORWARD -p tcp --dport 21 -s 192.168.0.0/24 --j DSCP --set-dscp-class EF
link|improve this answer
I was specifically asking os-agnostic because I didn't have a good idea about it - so this answer is great to get, because it helps me in my search. However, frankly, this was a Windows 2008 problem. – Lars D Mar 22 '11 at 16:28
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.