Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question

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 --j DSCP --set-dscp-class EF
share|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

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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