Help!!?
I have both squid proxys communication (I think). Here the setup and squid.conf entries
Primary server proxy1.mydomain.int port 80
Private server proxy2.mydomain.int port 3128
The purpose for the private or secondary server is that it's attached to a VPN network and this private server is the only one that can connect to the VPN network. SO, what I an attempting to accomplish is when users attempt to access the VPN domain, the primary squid server will get the pages from the private squid proxy server. The first attempt get the main page but it stops there. This is the message from the primary server:
2002/03/27 11:50:57| carpSelectParent: CARP Calculating hash for http://100.7.0.27/EventCenter-bin/msclient.dll ETHOD=TOP&NID=2000730l&TYPE=WEEK_VIEW_2
THEN after a a short period of time:
2002/03/27 11:54:57| fwdConnectTimeout: FD 28: 'http://100.7.0.27/EventCenter-bin/msclient.dll?METHOD=TOP&NID= 2000730l&TYPE=WEEK_VIEW_2'
2002/03/27 11:54:57| fwdServerClosed: FD 28 http://100.7.0.27/EventCenter-bin/msclient.dll?METHOD=TOP&NID= 2000730l&TYPE=WEEK_VIEW_2
I never saw any connections to the private proxy either in the cache.log or the access.log. The first attempt was listed in the access.log. What I was hoping for is if the pages are not cache on either server, the primary proxy will ask the private proxy for the pages. Is this even possible? Everything else goes via the primary proxy/cache.
Squid configuration for the primary:
cache_peer proxy2 sibling 3128 7 proxy-only allow-miss
acl care_net src 100.0.0.0/255.0.0.0
acl care_auth proxy_auth "/usr/local/squid/etc/carenet_users"
never_direct allow care_net
http_access deny care_net !care_auth
cache_peer_access proxy2 allow care_net
cache_peer_access sproxy2 deny all
Any help would be great!
Vernon
-----Original Message-----
From: Vernon A. Fort
Sent: Tuesday, March 26, 2002 7:57 AM
To: squid-users@squid-cache.org
Subject: RE: [squid-users] Two Instances of Squid
Thanks for the response,
But just how do you forward request between the two. I've been using squid for a few years, but I am admitingly new at doing multiple squid proxies. I need a starting place for assistance with the following:
if a request for 100.7.0.34 arrives, it gets forwarded to the second squid. The second squid must do authentication because we need to restrict access. we already do authentication so it should not be an issue, just another acl.
Thanks
-----Original Message-----
From: Senthil Kumar [mailto:serengar@npd.hcltech.com]
Sent: Tuesday, March 26, 2002 8:33 AM
To: nick
Cc: Vernon A. Fort; squid-users@squid-cache.org
Subject: Re: [squid-users] Two Instances of Squid
hi,
Yes ,You can run two instance of squid.
Configure private squid as a parent to the primary squid .
in private squid.conf file you need to configure the cache_peer :-
cache_peer primary parent 3128 3130 proxy-only
So any requests to the private squid will be redirected to the parent though ICP.
try this.
-senthil
> Vernon A. Fort wrote:
> > Hello,
> > I have a situation where I need to run squid on two seperate interfaces on the same machine but the second instance will only be used for a specific address.
> >
> > Instance one (primary for nornal internet browsing) 192.168.1.13:3128
> > Instance two ( only for a private ip address browsing) 192.168.103.13:3128
> >
> > What do I need to configured on the primary so any request for this private ip address get forwarded to the second instance of squid?
> >
> > Any help would be greatly appreciated!!
> >
> > --------------------------------------------------
> > Vernon A. Fort
> > Jobsoft Design & Development Inc.
> > http://www.jobsoft.com
> > (615) 904-9559 ext 19
> >
> >
> >
Received on Wed Mar 27 2002 - 11:07:12 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:07:08 MST