Community discussions

MikroTik App
 
talormanda
just joined
Topic Author
Posts: 4
Joined: Mon Jan 13, 2020 9:30 pm

Fasttrack with Simple Queue

Thu May 28, 2020 6:35 pm

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?
 
User avatar
nickshore
Long time Member
Long time Member
Posts: 524
Joined: Thu Mar 03, 2005 4:14 pm
Location: Suffolk, UK.
Contact:

Re: Fasttrack with Simple Queue

Thu May 28, 2020 7:06 pm

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