M
M
Maksim2016-04-06 22:55:36
Mikrotik
Maksim, 2016-04-06 22:55:36

How to count traffic from IP A to IP B and back in Mikrotik?

Good afternoon, the
local computer 10.10.10.10 via Mikrotik (here it is natated / masqueraded and the outside world) goes to the site 11.11.11.11.
What is the easiest way to calculate the traffic between them? (Download and Upload)

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexander Romanov, 2016-04-07
@chumayu

/ip firewall filter
add chain=forward src-address=10.10.10.10 dst-address=11.11.11.11 action=passthrough comment="upload to 11.11.11.11"
add chain=forward src-address=11.11.11.11 dst-address=10.10.10.10 action=passthrough comment="download from 11.11.11.11"

action=passthrough won't do anything to the packet. Just count it. You will see both the number of packets and the amount of traffic.
Raise the rules higher and watch traffic for health.

D
Dmitry, 2016-04-07
@plin2s

Read about netflow. Mikrotik exports statistics, and there you can do whatever you want with it.

D
Diman89, 2016-04-07
@Diman89

probably, you can mark the traffic to the desired ip and multiply the number of packets by their size according to the tick counter for the desired time interval

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question