|
|
@ -2,7 +2,7 @@ |
|
|
|
# Clasification based on the DSCP field set previously |
|
|
|
# Clasification based on the DSCP field set previously |
|
|
|
|
|
|
|
|
|
|
|
$IPT -t mangle -A POSTROUTING -o $LANDEV -j RETURN |
|
|
|
$IPT -t mangle -A POSTROUTING -o $LANDEV -j RETURN |
|
|
|
$IPT -t mangle -A POSTROUTING -o $EXTDEV -j QOS |
|
|
|
$IPT -t mangle -A POSTROUTING -j QOS |
|
|
|
$IPT -t mangle -A POSTROUTING -m dscp --dscp 1 -o $EXTDEV -j MARK --set-mark 0x1 |
|
|
|
$IPT -t mangle -A POSTROUTING -m dscp --dscp 1 -o $EXTDEV -j MARK --set-mark 0x1 |
|
|
|
$IPT -t mangle -A POSTROUTING -m dscp --dscp 2 -o $EXTDEV -j MARK --set-mark 0X2 |
|
|
|
$IPT -t mangle -A POSTROUTING -m dscp --dscp 2 -o $EXTDEV -j MARK --set-mark 0X2 |
|
|
|
$IPT -t mangle -A POSTROUTING -m dscp --dscp 3 -o $EXTDEV -j MARK --set-mark 0x3 |
|
|
|
$IPT -t mangle -A POSTROUTING -m dscp --dscp 3 -o $EXTDEV -j MARK --set-mark 0x3 |
|
|
|