i have this rule
/ ip firewall mangle
add chain=prerouting in-interface=INTERNET src-address-list="! local traffic" action=accept comment="Overseas traffic" disabled=no
how to show statistics in
http://MT_ROUTER_IP/graphs
i have this rule
/ ip firewall mangle
add chain=prerouting in-interface=INTERNET src-address-list="! local traffic" action=accept comment="Overseas traffic" disabled=no
how to show statistics in
http://MT_ROUTER_IP/graphs
Mangle rules are not shown in grapgs, and OID is not implemented for ‘ip firewall mangle’ to get statistic about mangle in external server.
To get graphs information for the particular rule, use mangle+queue simple, then graphs will be available.
Can you write some example, please
shouldn’t
tool → graphing → queue rules
do the job
it don’t work only zeroes
/ ip firewall mangle
add chain=prerouting in-interface=INTERNET src-address-list="!local traffic" action=mark-packet new-packet-mark=TEST passthrough=yes comment="Overseas traffic" disabled=no
/ queue simple
add name="monitoring" dst-address=0.0.0.0/0 interface=all parent=none packet-marks=TEST direction=none priority=8 queue=default-small/default-small limit-at=0/0 max-limit=0/0 total-queue=default-small disabled=no
is it correct?
Do the mangle counters work ?
Make sure you have traffic that is matching configured rules.
What traffic do you want to monitor/mangle ?
Max In: 0 b Average In: 0 b Current In: 0 b
Max Out: 0 b Average Out: 0 b Current Out: 0 b
traffic ~ 2 mb non-stop
this is Overseas incoming trafic