Re: [squid-users] Squid reverse in front of an OWA webmail

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sat, 13 Feb 2010 20:56:59 +1300

Alejandro Facultad wrote:
> Dear all, I have a private client network accessing an OWA server
> (Outlook Web Access over Exchange) through a Squid proxy in reverse mode:
>
>
>
> CLIENT NETWORK -----(HTTP)--------SQUID-------(HTTP)-------OWA
>
>
>
> No SSL at all in any path.
>
>
>
> The data are:
>
>
>
> IP_client_network: 192.168.0.0/16
>
> IP_squid: 10.1.1.1
>
> IP_owa: 10.2.2.2
>
> Domain_name_owa: www.correo.gb
>
>
>
> I've done this main configuration in squid.conf:
>
>
>
> https_port 10.1.1.1:80 defaultsite=www.correo.gb
>

https_port?

You should be using:
   http_port 10.1.1.1:80 accel defaultsite=www.correo.gb

>
> cache_peer 10.2.2.2 parent 80 0 no-query originserver login=PASS name=owaServer
> acl OWA dstdomain www.correo.gb
>
> cache_peer_access owaServer allow OWA
>
> never_direct allow OWA
>
>
>
> # lock down access to only query the OWA server
>
> http_access allow OWA
>
> http_access deny all
>
> miss_access allow OWA
>
> miss_access deny all
>
>
>
> After that when I access through a web browser from the client network
> and type http://www.correo.gb, I don't succed and the access.log from
> squid tell me this:
>
>
>
> 192.168.0.22 TCP_MISS/302 584 GET http://www.correo.gb/ -
> FIRST_UP_PARENT/owaServer text/html
>
>
>
> Please can you help me or give me a more explicit howto on this topic ???

Hi Alejandro,

   That log line shows success. Squid passed the request from the client
192.168.0.22 on to OWA at 10.2.2.2 (aka 'owaServer') and received a
"302" reply which was passed to the client at 192.168.0.22.

Was there perhapse some message in the reply page that would lend more
clue as to what is happening?

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE7 or 3.0.STABLE23
   Current Beta Squid 3.1.0.16
Received on Sat Feb 13 2010 - 07:57:11 MST

This archive was generated by hypermail 2.2.0 : Sat Feb 13 2010 - 12:00:04 MST