Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an internal website that cannot be accessed from some machines on my network, due to the physical location, VPN ,network ranges etc. I would like to install Squid on "in between" network to forward request from the clients that cannot reach the website.

The issue is the clients have no ability to connect to , but they can reach a network with a squid proxy , which in turn can reach

What is the correct term I need to research in squid , is it just caching or do I need to set the clients to use a URL that gets rewritten ? i.e -- >

share|improve this question
up vote 2 down vote accepted

There are several options. One would be:

Configure Squid as a "normal" forwading (caching is fine) proxy. This usually the default configuration. Change the http_access settings in the squid.conf, so that only can be accessed through this proxy. Otherwise this proxy can be used to bypass security restrictions in your network. Write (or extend the existing) proxy.pac for your web browsers, to use this proxy to reach and tell your web browsers to use it.

share|improve this answer
I'm wondering if DNS wouldn't be more easy to use to redirect? – Anarko_Bizounours Jun 22 '11 at 8:31
If the server is not directly reachable for the clients, DNS alone won't do it. – sborsky Jun 22 '11 at 8:43
well, true indeed. Squid is still the best solution. <<< this might help you AndyM, installing your squid, and creating the proxy.pac. – Anarko_Bizounours Jun 22 '11 at 8:47

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.