Community discussions

MikroTik App
 
User avatar
jackwisp
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 68
Joined: Thu May 07, 2009 2:13 am
Location: Montevideo - Uruguay

How to jump from a Filter Rule Chain to a Mangle Rule Chain?

Sun Dec 23, 2012 4:56 pm

Hello, I'm dealing with a scenario where I need to change the DSCP of all packets going trough a ppp interface.
I'm using Filter-Id attribute to create a dinamic Filter Rule for the specific ppp interface (based on radius profile).
In Filter Rules the rule is created, but I noticed that the action of changing DSCP is in mangle rules, not in filter rules, and I can't "jump" from a Filter Rule chain to a Mangle Rule chain (I put the same chain name in both places but no traffic is matched in mangle).

Any idea on how to solve this issue ?
 
User avatar
cbrown
Trainer
Trainer
Posts: 1839
Joined: Thu Oct 14, 2010 8:57 pm
Contact:

How to jump from a Filter Rule Chain to a Mangle Rule Chain?

Sun Dec 23, 2012 6:35 pm

 
User avatar
jackwisp
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 68
Joined: Thu May 07, 2009 2:13 am
Location: Montevideo - Uruguay

Re: How to jump from a Filter Rule Chain to a Mangle Rule Ch

Mon Dec 24, 2012 3:20 am

Thank you, but not usefull, packet flow diagrams don't show me how to jump from a filter rule to a mangle rule.
Regards,
Jack.-
 
User avatar
cbrown
Trainer
Trainer
Posts: 1839
Joined: Thu Oct 14, 2010 8:57 pm
Contact:

How to jump from a Filter Rule Chain to a Mangle Rule Chain?

Mon Dec 24, 2012 4:09 am

That's because you can't jump from one to another. Follow the packet flow diagram to see where you need to mark. Looking at the diagram you will see mangle happens before filter.

Who is online

Users browsing this forum: CGGXANNX, godel0914 and 69 guests