I also tried to make this work with the tag and tagged fields, the original rule that I have working:
Action: match
Interface: WAN
Direction: in
Address Family: IPv4
Protocol: TCP
Source: any
Destination: Wan Address
Destination Port Range: 443
this is working ok tagging the traffic going to the HaProxy, not my finnal intente (I only what to filter the traffic going to the emby server) and now I tried to add:
Tag: fromwan
Queue none/none
Then I used the rule that I stated above:
Action: Match
Interface: LAN
Direction: Out
Address Family: IPv4
Protocol: TCP/UDP
Source: any
Destination: EmbyServer
queues qACK/qStream
Tagged: fromwan
Nothing, the traffic keeps not being assign to any queue. Just out of curiosity I tried to block the traffic from the wan to the emby server. I used the rule above
Action: Block
Interface: LAN
Direction: Out
Address Family: IPv4
Protocol: TCP/UDP
Source: any
Destination: EmbyServer
queues qACK/qStream
This rule was working blocking the traffinc, but now I added Tagged fromwan. The result was no blocking at all.
Floating rules are so hard to predict and test, but I need them to shape my traffic.