This tutorial exlains how to set up vnStat on FreeBSD 7. vnStat is a console-based network traffic monitor that keeps a log of hourly, daily and monthly network traffic for the selected interface(s).

vnStat itself is a console mode only, but this howto explains how to set it up with vnStat PHP frontend.

Link to howto (