Linux router and firewall with IP accounting

Take a look at pfsense. Based on FreeBSD.


Try to use Endian Firewall Communitiy Edition it have all the features that you require. its free to use . and it doesn't require any maintenance