TOS problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello

A few days ago I wrote post about "Ip:Port REDIRECTION problem". Since that 
time I have searched once again iptables HOW-TOs and find that one of the 
solutions for my problem is changing TOS to other value. This is done by 
simple rule:
iptables -t mangle -A PREROUTING -p tcp --dport 4000 -j TOS --set-tos 0x10
Next I redirect port 4000 from this router to another machine:
iptables -t nat -A PREROUTING -p tcp --dport 4000 -j DNAT 192.168.49.60:80

This works OK on router when this rule is being ran but when I dump (tcpdump) 
packtes on 192.168.49.60, "ToS" value is changed to 0x0. No any rules are 
being set on 192.168.49.60 - simple machine. Why "ToS" is changing? What do I 
wrong?

Thanks,
Marcin



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux