Community discussions

MikroTik App
just joined
Topic Author
Posts: 1
Joined: Tue May 20, 2014 12:01 pm

prerouting mangle and NAT fails with contains and layer 7

Tue May 20, 2014 12:23 pm


When marking packets in mangle at the prerouting chain the destination NAT filters fail to see the marks.

According to the documentation, in the prerouting chain the mangle happens before the destination NAT

And indeed, it works if I use different criteria (protocol, address, etc.) for marking the packets at the Mangle Prerouting filters, but it fails with either contains or layer 7 conditions.

The packets are properly marked, as the counter increases and can also be seen in other chains (for example, at input filters), but in the destination NAT zero packets get marked, even if I put the filter at the top of the list.

This is similar to this post
User avatar
just joined
Posts: 19
Joined: Wed Nov 27, 2013 4:38 pm

Re: prerouting mangle and NAT fails with contains and layer

Tue May 20, 2014 11:57 pm

Can you send your config?
Everyday, a better day!

Who is online

Users browsing this forum: DanMos79, dustojnikhummer, SKnarr49, Tiger45, xvo and 130 guests