I am trying to reduce internet bandwidth consumption. I have installed squid as a transparent proxy server and it is currently getting all traffic from port 80. I am using the proxy_stats.gawk utility to generate reports. I am still only logging 1/4 of the traffic the ISP actually reports. Can i get all traffic on all other ports to go though the proxy as well. i.e. VOIP... How can i Achieve this?
There are several things you can do. If you've set it up transparently, and you're really only looking for reporting, you can get iptables to log connections. That way you can meter bandwidth.
I reccomend setting up similar to this: http://www.cyberciti.biz/faq/linux-configuring-ip-traffic-accounting/
If you want to do more than report on bandwidth usage, that's a wholly different story. You'd need targeted application level proxies.