Page 1 of 1

Fasttrack with Simple Queue

Posted: Thu May 28, 2020 6:35 pm
by talormanda
I am trying to do Simple Queue for a few IP addresses, but I want to leave Fasttrack enabled for everything else. I figured building an Address List and excluding it in the default-config Fasttrack rule would make Fasttrack not apply to those addresses, but it is not working. What am I doing wrong?

add action=fasttrack-connection chain=forward connection-state=established,related src-address-list="!Simple Queue"

1. Is there a better way to limit bandwidth to certain IP addresses but still have Fasttrack working for everything else?

or

2. How can I fix my Fasttrack rule?

Re: Fasttrack with Simple Queue

Posted: Thu May 28, 2020 7:06 pm
by nickshore
I use a mangle rule to mark the connections, and then use the mark to avoid fasttrack
/ip firewall mangle add action=mark-connection chain=prerouting comment="no fasttrack list" connection-mark=no-mark \
    connection-state=new new-connection-mark=nofastrack passthrough=no src-address-list=nofasttrack

/ip firewall filter add action=fasttrack-connection chain=forward connection-mark=!nofastrack connection-state=\
    established,related
Your solution won't work, because the src address is not the right match for an established/related connection.

Hope that helps
Nick