bandwithlimit some interfaces only

Hi guys

In a setup with the following interfaces: ether1-wan, bridge-lan, bridge-dmz and bridge-guest

How would you go about setting bandwith limitation to guest and dmz connections with wan, and not limit any other interfaces? My issue is that in configuration of queues i can only match on src-interface. I can’t find a way to match on dst-interface. So what’s the trick for limit the the selected interfaces only when destination is wan?

The following directions should have speedlimit:
guest->wan
dmz->wan
wan->dmz
wan->guest (connections established by guest-wan only)

The following directions should NOT have speedlimits:
lan->wan
lan->dmz
guest->dmz
dmz->lan (connections established by lan-dmz only)
dmz->guest (connections established by guest-dmz only)
wan->lan (connections established by lan-wan only)
guest->guest
dmz->dmz
lan->lan

bump