Skip to contentSkip to conversation

iptables and TOS 15

DISCUSSION [email protected] 1 participant 1 message Nov 12, 2004

lore
Share & tools
lore
#0 lore raw

i want to make traffic management of WAN and MAN .... the WAN traffic
is marked with TOS 15 by my ISP ... and i want to redirect the WAN trafic with iptables through an IMQ interface and then to use HTB

Quoted 23 lines

tos
This module matches the 8 bits of Type of Service field in the
IP header (ie.
including the precedence bits).

--tos tos
The argument is either a standard name, (use
iptables -m tos -h
to see the list), or a numeric value to match.

iptables -m tos -h
TOS match v1.2.6a options:
[!] --tos value Match Type of Service field from 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)

INPUT and FORWARD