Queue tree + bypass traffic on certain destination

Hi,

I’ve deployed Queue tree with PCQ, its work well in limiting the traffic, but I’ve certain prefixes (destination) which my client can access in full speed, how can i achieve it or bypass the traffic shaping for those destination with Queue tree config. please help


Regards,

hi there

you need to mark connection, and mark packets, and in the queue, choose these packets to have unlimited or any speed you want.

1st go to Firewall, Mangle, and choose the following:

in General
Chain: prerouting
Protocol: choose the protocol you want. UDP, TCP…
choose the src port or destination port( depends what you want)
Connection State: new

in Action:
Action: mark connection
New Connection Mark: any name.

2nd: add a new firewall mangle rule:

in General:
Chain: prerouting
Connection Mark: the “any name” you put in first step

in Action:
action: mark packet
new packet mark: any name.

3rd step: now go to Queues, and add a new Queue
in the advanced tab: Packet Marks: choose the “any name” you put in second step


and basically thats it!

let me know if you need more info. this method will allow you to mark any packets to have a certain queue.

Hi,

Thanx for your reply, I’ve done via simple queue. But i need to do it via Queue-tree…

Regards