Please help: how to split WAN traffic & traff from proxy?

I have 192.168.0.100-130 - clients
192.168.0.5 - router with proxy
I need a queue to shape WAN traffic and not shape traffic from transparent proxy.
Please help with firewall, nat and mangle rules.

What is correct way to mark traffic from proxy cache?

I try to mark packets, but when it pass through transp proxy, they are loosing marks.

yes, there are two connections with transpatent proxy: one from client to router, and another one - from router (proxy) to Internet. their connection marks do not correlate each with other. you may use ‘forward’ chain to mark direct users’ traffic, and ‘input’/‘output’ chains to mark user-to-proxy and proxy-to Internet traffic