There are alot of free open source software that make great spam, content filtering, blacklist, DNS ip lookup ,network monitoring, VPN, and that software would be IPCop. it is great I have set it up and has worked great with the right add ons and some time to learn how it works. It will will solve alot of your problems from Firewall to smtp filtering