I would consider looking at a product like ipcop
link. It is a linux based firewall product. From there FAQ, you see there is a web content plugin called Dan's Guardian.
I have installed this quite a while ago, and the simple setup was very easy.
RE proxies/firewalls,
this looks like a good summary.