Page 1 of 1

Exclude one IP from FastTrack - to do simple queues on that IP

Posted: Wed Apr 13, 2016 3:22 pm
by lotnybartek
Hi there.

My gear: 2011UiAS-2HnD - 6.34.4

On my network I have one IP (192.168.1.251) that I'd like to exclude from FastTrack to do simple queues on that IP.

I enabled FastTrack with these two commands:
/ip firewall filter add chain=forward action=fasttrack-connection connection-state=established,related
/ip firewall filter add chain=forward action=accept connection-state=established,related
Is there a way to exclude that one IP?

Kind Regards

Bart

Re: Exclude one IP from FastTrack - to do simple queues on that IP

Posted: Wed Apr 13, 2016 4:21 pm
by mrz
Add accept rule before fasttrack rule.

Re: Exclude one IP from FastTrack - to do simple queues on that IP

Posted: Wed Apr 13, 2016 4:34 pm
by lotnybartek
Thank you for your answer. I'm newbie, can you tell me in specific what to add before fasttrack rule? Accept...?

Re: Exclude one IP from FastTrack - to do simple queues on that IP

Posted: Wed Apr 13, 2016 4:37 pm
by mrz
Accept rule with ip address that you do not want to be fasttracked.

Re: Exclude one IP from FastTrack - to do simple queues on that IP

Posted: Wed Apr 13, 2016 4:43 pm
by docmarius
Something like this:
/ip firewall filter add chain=forward src-address=1.2.3.4 dst-address=2.3.4.5 action=accept connection-state=established,related
/ip firewall filter add chain=forward action=fasttrack-connection connection-state=established,related
/ip firewall filter add chain=forward action=accept connection-state=established,related

Re: Exclude one IP from FastTrack - to do simple queues on that IP

Posted: Wed Apr 13, 2016 5:04 pm
by lotnybartek
Hmm, doesn't work. Upload is still not limited to 1Mbit.

Your first and third rules are doing the same thing. Or am I wrong?

Re: Exclude one IP from FastTrack - to do simple queues on that IP

Posted: Wed Apr 13, 2016 9:17 pm
by sash7
add chain=forward connection-state=established,related dst-address=192.168.1.251
add chain=forward src-address=192.168.1.251

add action=fasttrack-connection chain=forward connection-state=established,related
add chain=forward connection-state=established,related

Re: Exclude one IP from FastTrack - to do simple queues on that IP

Posted: Thu Apr 14, 2016 9:12 am
by lotnybartek
This is awesome.

WORKS LIKE A CHARM. Very useful.

Thank you very much.