Community discussions

MikroTik App
 
tushar123
just joined
Topic Author
Posts: 14
Joined: Thu Mar 12, 2015 3:05 pm

User activity monitoring

Sat Mar 14, 2015 8:03 am

what is the best way to monitor user activity on web?

how to get the bandwidth usage report?
 
User avatar
hossain2004a
Member Candidate
Member Candidate
Posts: 247
Joined: Mon Dec 22, 2014 7:34 pm
Location: Iran

Re: User activity monitoring

Sun Mar 15, 2015 10:11 pm

by user activity you mean you wanna see what website did your user opened or how much your user download and upload?
 
TomosRider
Member Candidate
Member Candidate
Posts: 209
Joined: Thu Nov 20, 2014 1:51 pm

Re: User activity monitoring

Sun Mar 15, 2015 10:39 pm

We need more info, be more specific. For example, if you use hotspot on your mtik's, you can view complete amount of data uploads/downloads by clicking on users queue or you can use torch tool for more specific view on data flow.
 
tushar123
just joined
Topic Author
Posts: 14
Joined: Thu Mar 12, 2015 3:05 pm

Re: User activity monitoring

Mon Mar 16, 2015 7:29 am

i want to see that which websites are accessed by users. also i want to generate the bandwidth usage report of each
user, i have not set up a hotspot.
 
User avatar
hossain2004a
Member Candidate
Member Candidate
Posts: 247
Joined: Mon Dec 22, 2014 7:34 pm
Location: Iran

Re: User activity monitoring

Mon Mar 16, 2015 8:25 am

If you wanna see what website did your user accessed:

first of all you should enable your webproxy and make transparent proxy. really easy. just follow instruction in link below:

http://wiki.mikrotik.com/wiki/Manual:IP ... on_example

if you are done with your web proxy so you should make Sys log server in order to see what webpage are accessed.
so in your router:
/System logging action add name=syslog target=remote
/System logging add action=syslog topics=web-proxy
 
Then in Winbox, go to:

System --> Logging --> Action
open syslog and you should set parameter. it's easy.

if you're looking for free software for Windows, so Dude is a good idea :D

http://wiki.mikrotik.com/wiki/Manual:The_Dude/Syslog


and if you wanna manage your bandwidth you may run Hotspot or PPP. I think it's easier for you to set Hotspot. and should not that I don't know how many computers are running in your network, maybe if you give me more detail it would be easier to help.
for setting Hotspot:

http://wiki.mikrotik.com/wiki/Manual:Ho ... troduction

I hope this is easy enough :D
 
tushar123
just joined
Topic Author
Posts: 14
Joined: Thu Mar 12, 2015 3:05 pm

Re: User activity monitoring

Mon Mar 16, 2015 8:44 am

i have forwarded my 80 port of my live ip to my local server . so how can i set up web proxy. i know about dude but is there any free windows software to monitor logs which generate the graphical reports.
 
User avatar
hossain2004a
Member Candidate
Member Candidate
Posts: 247
Joined: Mon Dec 22, 2014 7:34 pm
Location: Iran

Re: User activity monitoring

Mon Mar 16, 2015 4:37 pm

I don't know any other free software. you should pay for rest of them :D
 
tushar123
just joined
Topic Author
Posts: 14
Joined: Thu Mar 12, 2015 3:05 pm

Re: User activity monitoring

Tue Mar 17, 2015 6:49 am

i have forwarded 80 port to local server . so how can i forward it to web proxy. can i forward one single port to multiple ports.?
 
User avatar
stlony
Frequent Visitor
Frequent Visitor
Posts: 91
Joined: Mon Nov 19, 2007 6:25 pm
Location: Egypt
Contact:

Re: User activity monitoring

Thu Apr 16, 2015 11:46 am

the best application I use for tracking web proxy requests is "Kiwi Syslog Daemon" it is not free but you can find cracks for it online.

I have a log files for all my users make online through the last 4 years. :)

by the way tushar123 activating the web proxy is very simple just redirect all the traffic coming on port tcp 80 to for example 8080 (through your firewall nat) then enable your mikrotik web proxy make it lessen to port 8080 (ip/web proxy)
 
tushar123
just joined
Topic Author
Posts: 14
Joined: Thu Mar 12, 2015 3:05 pm

Re: User activity monitoring

Thu Apr 16, 2015 2:14 pm

But i have forwarded tcp 80 port to my server to access my server outside the network. so can i forward the 80 port to
sys log server .

can i forward one port to multiple ports.
 
User avatar
ZeroByte
Forum Guru
Forum Guru
Posts: 4047
Joined: Wed May 11, 2011 6:08 pm

Re: User activity monitoring

Thu Apr 16, 2015 3:36 pm

But i have forwarded tcp 80 port to my server to access my server outside the network. so can i forward the 80 port to
sys log server .

can i forward one port to multiple ports.
You don't forward port 80 to the syslog server.
You forward port 80 to the web proxy mikrotik on port 8080.
If you're running proxy in the same router, use action=redirect, to-ports=8080
redirect = steal the connection yourself.

Web proxy will then do its job, going to the net, collecting pages, pictures, etc, and then forwarding back to the client computers transparently. Meanwhile - for each request that it proxies, it will generate a logging event.
Hossain's instructions tell you how to configure the Mikrotik to send these log events to a remote syslog server for permanent storage.

If you want to turn those into graphs, you'll need some other software that can read the syslog output, and generate whatever reports you want. I have no idea about what programs are available for this task.

Who is online

Users browsing this forum: No registered users and 1 guest