Community discussions

MikroTik App
 
frif
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

Hello,

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

http://wiki.mikrotik.com/wiki/Manual:Packet_Flow

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 http://forum.mikrotik.com/viewtopic.php?f=2&t=83129
 
User avatar
Farhadgh
just joined
Posts: 19
Joined: Wed Nov 27, 2013 4:38 pm
Contact:

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: complex1, garyjduk, grusu, markovip and 114 guests