I have made a small LAN network with a ubuntu squid proxy server. The proxy server runs in my laptop with VMware where it is placed in between the ADSL router and 4 port switch. I have added 3 user pcs to the switch as in the below LAN diagram. The connection for the switch goes through my server laptops ethernet port while setting up in this way the connection of the LAN works successfully, also the LAN users are able to access the internet through squid proxy server all the ACL restrictions too work fine. I wanted to know is there any possibility of monitoring the users Internet bandwidth in this network?
I used iftop and nethogs but it only monitors the eth0 bandwidth. I want to monitor per user as in the network , please help me out if there's a way
- Internet Connection to the server laptop is through wifi
- Ubuntu server uses DHCP
- LAN users gets their ip by DHCP
- LAN user can ping to my server IP address
- Internet Connection for the LAN users works
This is the LAN network design