Community discussions

MikroTik App
 
dadzejson
newbie
Topic Author
Posts: 27
Joined: Mon Jul 09, 2018 2:40 am

VPN Active Connection - Bytes

Mon Jul 09, 2018 2:47 am

Hello everyone, im new here and i just have one question, maybe its a little tricky but im so desperate to find the solution

So the thing is that im trying through CLI to find the bytes that one active PPTP VPN connection generated so i can use api to collect that integer, but i can see in older version like v2.0 or v3.0 that there was "ppp active print STATS" but in newer versions like RouterOS v6.40.8 there isnt even a sub command like Stats or something like that that would tell me how much on VPN connection used bytes.

Is there any other sollution how can i collect that number through CLI (api) so i can translate that to PHP, should i track somehow over IP address or something....

...any help would be greatfull !!!

Who is online

Users browsing this forum: daliad100, DimoSK and 98 guests