[squid-users] SQUID proxy server configuration

From: Ahmed Akkad <ahmed.akkad_at_gmail.com>
Date: Sun, 3 May 2009 22:14:30 +0400

i need a help in setting the configuration of SQUID proxy server where :

- i have a machine that has Squid and apache servers both on same
machine, apache listens to port 80 where Squid listens to port 8000.
- another machine on the same network has IIS server listens to port 80.

am looking to configure Squid just to translate the incoming internet
requests and then passes them to the specified http server without any
extra features (caching, ...) only passing requests.

Squid website has configuration examples which i tired to follow but
with no luck , so i came up with the following config:

cache_peer 10.1.1.1 parent 80 0 no-query originserver name=tomcat
cache_peer_domain tomcat tomcat.no-ip.com
cache_peer 10.1.1.2 parent 80 0 no-query originserver name=iis
cache_peer_domain iis iis.no-ip.com

where 10.1.1.1 is the apache & Squid server ip address, and 10.1.1.2
is the IIS ip address, as you can see am using no-ip.com on
Squid&Apache server to update my public ip, for no-ip dont panic i
configured every thing about port forwarding .... etc where my server
is totally accessible over the internet, now when i request the Squid
server (like tomcat.no-ip.com) over the internet i receive a response
from Squid telling that "the requested URL could not be retrieved"
followed by "access denied", so did configure Squid in the right way?

--
akkad
Received on Sun May 03 2009 - 18:14:42 MDT

This archive was generated by hypermail 2.2.0 : Mon May 04 2009 - 12:00:01 MDT