Page 1 of 1

dnat count packets error

Posted: Wed May 23, 2012 11:19 pm
by rgpmikrotik

I have created a dnat rule in a RB750, it works fine, but from winbox the packet counter for the rule just count 1 packet, no all the packets, if I delete the active connection then It count 1 packet again, but the counter stop after the first packet of the connection.

Can I do something for doing that mikrotik shows the number of packets?

thanks in advance.

Re: dnat count packets error

Posted: Thu May 24, 2012 4:44 pm
by sergejs
NAT statistic counts only new packets (established packets are not accounted by /ip firewall nat rules).
As nature of NAT is to change dst/src address port of he connection, if you wan account how many packets came with new to-address (to-ports), add rule after nat with action=passthrough and new src/dst address.