|
/
Zope
/
Apsis
/
Pound Mailing List
/
Archive
/
2006
/
2006-09
/
Does anyone have Oulook Web Access proxying working?
[
Private pound. / "Olivier Rossel" ... ]
[
Redirect rewrites fail / Rob Moore ... ]
Does anyone have Oulook Web Access proxying working?
"Robin Soper" <robincsoper(at)googlemail.com> |
2006-09-07 10:56:06 |
[ FULL ]
|
Hi,
I have a fairly common requirement of needing to reverse proxy Microsoft's
Oulook Web Access ("OWA"- web browser access to Exchange).
I have a Linux box located in our DMZ which will act as the reverse proxy
and I'm reasonably sure that all the required ports are open. The external
client will speak to the reverse proxy using https which will then speak to
the OWA server using http, thereby providing improved security. I started
off trying to do this using Apache but could not get it to work, so I
decided to try pound as it looked to be more straight forward to configure
but still can't get it to work. I'm using the IE6 browser but have tried
Mozilla as well with no sucess. I can connect to the OWA server
directly over http with no problems.
This is what happens (I'm testing this from an internal PC client just now
as external access to the pound server is not enabled yet) :
1. I hit the URL https://poundserver/exchange and get a
message back
complaining about my temporarily generated certificate and asking me whether
I want to trust it. I click yes.
2. A login box pop's up asking me to login into Outlook Web access. I type
in my login details
3. My browser starts to load the site (skeleton frames are set up in my
browser) but a box pops up saying this site contains secure and nonsecure
items (which is weird) and do I want to display the nonsecure ones. I click
yes
4. Both of the frames in my browser display "The Page cannot be displayed"
error.
This is exactly where I got with Apache! I would really appreciate advice
from anyone who has this working. I have read all the archives relating to
this but most seem to for earlier versions of Pound and the keywords won't
work with Pound v2.1.
I suspect that somehow the OWA server is redirecting my browser so that it
is by passing the proxy and speaking directly to it, the error about secure
and nonsecure items seems to confirm this (remember I'm testing this from an
internal PC)
This is my pound.cfg
Loglevel 4
ListenHTTPS
Address 192.168.50.11
AddHeader "Front-End_https: on"
WebDAV 1
Port 443
Cert "/usr/local/etc/server.pem"
Service
BackEnd
Address 10.123.0.6
Port 80
End
End
End
Does anyone have this working or have any general advice on how to debug
this problem, before I go insane.
Thanks & Regards
Robin
|
|
|
|
|
Re: [Pound Mailing List] Does anyone have Oulook Web Access proxying working?
"Frode Egeland" <egeland(at)gmail.com> |
2006-09-07 11:29:03 |
[ FULL ]
|
Hi Robin,
3. My browser starts to load the site (skeleton frames are set up in my[...]
I'm just working with a test setup, and I had almost exactly the same issue.
Now it works, and here's my config:
[...]
|
|
|
|
|
RE: [Pound Mailing List] Does anyone have Oulook Web Access proxying working?
"dirk dekker" <hf.dekker(at)chello.nl> |
2006-09-07 11:51:16 |
[ FULL ]
|
Hi, I'm not an expert in pound and trying to work with it :)
What version of pound do you have installed ( and on what OS) ?
Dirk
-----Oorspronkelijk bericht-----
Van: Frode Egeland [mailto:egeland(at)gmail.com]
Verzonden: donderdag 7 september 2006 11:29
Aan: pound(at)apsis.ch
Onderwerp: Re: [Pound Mailing List] Does anyone have Oulook Web Access
proxying working?
Hi Robin,
3. My browser starts to load the site (skeleton frames are set up in my[...]
I'm just working with a test setup, and I had almost exactly the same issue.
Now it works, and here's my config:
[...]
|
|
|
Re: [Pound Mailing List] Does anyone have Oulook Web Access proxying working?
"Robin Soper" <robincsoper(at)googlemail.com> |
2006-09-07 13:34:41 |
[ FULL ]
|
Re: [Pound Mailing List] Does anyone have Oulook Web Access proxying working?
"Frank Schmirler" <frank.schmirler(at)linogate.com> |
2006-09-07 13:58:43 |
[ FULL ]
|
On Thu, 7 Sep 2006 09:56:06 +0100, Robin Soper wrote[...]
That must be "Front-End-Https: on" (hyphen, no underscore)
[...]
For IE you must make sure that only basic auth will be used as Kerberos or
NTLM cannot be proxied. And you need to tell OWA that SSL has been offloaded.
On
http://www.digital-labs.de/index.php?option=com_content&task=view&id=290&Itemid=27
you will find some screenshots on howto configure IIS. Texts are in German,
but the screenshots are English.
Cheers,
Frank
|
|
|
Re: [Pound Mailing List] Does anyone have Oulook Web Access proxying working?
"Robin Soper" <robincsoper(at)googlemail.com> |
2006-09-07 16:32:45 |
[ FULL ]
|
Frank - you are a genius - thanks a million
It now works perfectly for Firefox and IE6 (for some reason I didn't even
need to make the changes to IE recommended in the web page - even though
some of the parameters are not set as recommended?)
Anyway for the record this is my *working* pound.cfg
Loglevel 1
ListenHTTPS
Address 192.168.50.11
WebDAV 1
AddHeader "Front-End-Https: on"
Port 443
Cert "/usr/local/etc/server.pem"
Service
BackEnd
Address 10.123.0.6
Port 80
End
End
End
Thanks & Regards
Robin
On 9/7/06, Frank Schmirler <frank.schmirler(at)linogate.com> wrote:[...]
|
|
|
|
|
Re: [Pound Mailing List] Does anyone have Oulook Web Access proxying working?
"Frank Schmirler" <frank.schmirler(at)linogate.com> |
2006-09-07 16:44:18 |
[ FULL ]
|
On Thu, 7 Sep 2006 15:32:45 +0100, Robin Soper wrote[...]
You're welcome ;-)
[...]
Can you tell us which of the parameters are different?
Thanks,
Frank
|
|
|
Re: [Pound Mailing List] Does anyone have Oulook Web Access proxying working?
"Robin Soper" <robincsoper(at)googlemail.com> |
2006-09-07 17:13:27 |
[ FULL ]
|
The IE authenication was set to basic already. However the owaadmin
parameter that was recomended to be changed "Allow SSL offloading" is
current set to "No" - which you would think would stop the AddHeader
"Front-End-Https: on" from working, but it work fine. Our OMA server only
listens for http - maybe this parameter effects only OMA systems
listening for https?
Regards
Robin
On 9/7/06, Frank Schmirler <frank.schmirler(at)linogate.com> wrote:[...]
|
|
|
|
|
Re: [Pound Mailing List] Does anyone have Oulook Web Access proxying working?
"Frode Egeland" <egeland(at)gmail.com> |
2006-09-08 01:58:01 |
[ FULL ]
|
On 9/7/06, Frank Schmirler <frank.schmirler(at)linogate.com> wrote:[...]
That's what I had in my config! ;-P
Robin, I'm glad it's working for you now. :)
My setup allows both http and https connections (for testing), but I don't
get the double login you mentioned, probably due to the above header.. :)
Cheers,
Frode
|
|
|
|
|
Re: [Pound Mailing List] Does anyone have Oulook Web Access proxying working?
"Frank Schmirler" <frank.schmirler(at)linogate.com> |
2006-09-08 08:59:48 |
[ FULL ]
|
On Thu, 7 Sep 2006 16:13:27 +0100, Robin Soper wrote[...]
IIRC OWA will produce wrong <base> tags (with http:// and not https://)
if
this parameter is not set. Maybe OMA is different here. But I'm sure that SSL
offloading must be allowed if forms-based authentication is used.
Regards,
Frank
|
|
|
Re: [Pound Mailing List] Does anyone have Oulook Web Access proxying working?
"Robin Soper" <robincsoper(at)googlemail.com> |
2006-09-08 12:49:11 |
[ FULL ]
|
I should be able to test this as we have two OWA servers, a v2000 and a
v2003 system.
The 2000 is listening only on https and currently being used for external
Email access.
The 2003 server is new one not in production yet which is listening on http
only.
I will test the registry setting SSLOffloaded on the v2000 system and see if
my pound works with it.
Although I'll need to find a quiet time to do it as it requires an IIS
service restart ;^D
I'm assuming that -->https-->pound-->https-->backend server isn't
possible.
Regards
Robin
On 9/8/06, Frank Schmirler <frank.schmirler(at)linogate.com> wrote:[...]
|
|
|
|
|
|