Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

1 Answer 1

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
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
add comment

Your Answer

 
discard

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.