Need config for one squid reverse proxy serving up multiple sites with different internal IP's all from the single external IP used by Squid

I followed this example:

but can't it to work for my setup - which is a bit different but not that much.  This is using a default config from Squid 2.6 on CentOS 5.4, nothing extra added or changed except for what is mentioned in the article.  I get 'service is not available'...

My setup is: hosted on IP1 hosted on IP1 hosted on IP2 hosted on IP2 hosted on IP3 hosted on IP3 hosted on IP4 hosted on IP5
... hosted on IPX

I use Citrix Xen but I don't that's relevant as they are all separate virtual servers with separate internal IP's accessed via the Squid reverse proxy which has one external IP.  The reason I am doing this is not really for web acceleration but because we don't have enough external IP's to map to each virtual server we need.  A single virtual server may host more than one site, using Apache and VHOSTS.  Some virtual servers may only host a single site, regardless all virtual servers will have separate internal IP addresses, naturally.

Any assistance is greatly appreciated!
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

cjl7freelance for hireCommented:
You need to allow and deny traffic in your squid, out of the box it only allows localhost (I think).

You need something like

                 acl all src
                 http_access allow all

Or if you want to be a bit more specific you could do

acl MyNetwork0 src
acl MyNetwork1 src
acl MyNetwork2 src
http_access allow MyNetwork0
http_access allow MyNetwork1
http_access allow MyNetwork2

and issue a 'service squid restart'.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Richard2048Author Commented:
Yup - thanks - works for me now....

This is my conf now:

http_port 80 accel defaultsite=error.example.local vhost
cache_peer parent 80 0 no-query originserver name=myAccel

acl all src
http_access allow all
cache_peer_access myAccel allow all

It'll need tightened up for security but now at least works.

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.