set the tos
Hi...
I need to set the tos field in the packets coming from the ip address 10.0.0.4. I have tried the iptables but i can;t define whatever tos field i want... Any suggestion? |
do iptables -j TOS -h to list the values.. decimal & hex..
eg, iptables -t mangle -A PREROUTING -i eth1 -p tcp --dport 22 -j TOS --set-tos 16 |
thx for your answer but if i want to use more tos fields other than the defaults??
TOS target v1.2.8 options: --set-tos value Set Type of Service field to one of the following numeric or descriptive values: Minimize-Delay 16 (0x10) Maximize-Throughput 8 (0x08) Maximize-Reliability 4 (0x04) Minimize-Cost 2 (0x02) Normal-Service 0 (0x00) |
There's an FTOS patch available to modify the TOS setup..
http://iptables-tutorial.frozentux.n...html#TOSTARGET |
Have u ever tried installing it? I have some information to ask
|
All times are GMT -5. The time now is 09:32 AM. |