But it will make little sense to use such a configuration with squid and apache running on the same machine. It makes great sense if you have a cluster of webservers (two or more) behind the proxy server, in which case, squid will load balance the incoming requests...
I have a machine called proxy running three jails. ns, mail , www (squid) using the jail applications example. Everything is working and I'm using the proxy for my network browsers.
My setup is cable modem >> proxy ip=192.168.0.1, plus jails ip=192.168.0.3-5 Then out to 192.168.0.2 "IN" >> dlink router out >> My network where ip=192.168.2.136 sits and has three alaises 192.168.2.3-5. 5 being my test web server.
How would I connect the world through my proxy for the test web content?