[req] feature regarding simple queues

I need feature of simple queues that allow using /ip firewall address list as destination address

thanks guys

  • Create address-list with desired addresses.
  • Configure suitable connection/packet marks for traffic and set ‘dst-address-list’ parameter.
  • Use ‘packet-mark’ option in simple queues to realize your request.

do you mean mangle - packet mark with passthrough?
hmm that will work, but my request will be easier to manage simple queues :stuck_out_tongue:

btw thanks, i will try this
and what chain to use? prerouting?

I already try this, but didn’t work, only rx traffic shown in queue simple

/ ip firewall mangle 
add chain=prerouting dst-address-list=neighbours action=mark-packet new-packet-mark=NEIGHBOURS-UP comment="Mark Neighbours \
    upstream" disabled=no 
add chain=prerouting dst-address-list=neighbours action=passthrough comment="" disabled=no 
add chain=prerouting src-address-list=neighbours action=mark-packet new-packet-mark=NEIGHBOURS-DN comment="Mark Neighbours \
    downstream" disabled=no 
add chain=prerouting src-address-list=neighbours action=passthrough comment="" disabled=no 

/queue simple
add name="NEIGHBOURS" target-addresses=192.168.0.224/29 dst-address=0.0.0.0/0 interface=all \
    parent=none packet-marks=NEIGHBOURS-UP,NEIGHBOURS-DN priority=1 queue=default/default limit-at=0/0 \
    max-limit=1000000/1000000 total-queue=default disabled=no 

/ip firewall address-list
add list=neighbours address=66.xx.222.0/24 comment="" disabled=no 
add list=neighbours address=66.xx.227.0/24 comment="" disabled=no 
add list=neighbours address=66.xx.228.0/24 comment="" disabled=no 
add list=neighbours address=66.xx.234.0/24 comment="" disabled=no 
add list=neighbours address=66.xx.235.0/24 comment="" disabled=no 
add list=neighbours address=66.xx.238.0/24 comment="" disabled=no 
add list=neighbours address=66.xx.239.0/24 comment="" disabled=no 
add list=neighbours address=66.xx.240.0/24 comment="" disabled=no 
add list=neighbours address=66.xx.244.0/24 comment="" disabled=no 
add list=neighbours address=66.xx.248.0/24 comment="" disabled=no