I first noticed that IIS 7 can act as a reverse proxy when I was working on some URL Rewriting. I came accross this blog and number 7 caugh my attention.
Here's what I did to get IIS 7 to act as a reverse proxy for OCS 2007 R2 Edge Services:
- Provisioned a Windows 2008 R2 server in DMZ (same as network as the consolidated edge server)
- Added the IIS role
- Installed the Application Request Routing module for IIS 7
- This module includes the URL Rewrite module
- Created a site in IIS for ocsrp.domain.com
- Created a certificate for the site ocsrp.domain.com
- Applied the certificate to the IIS site that I created for ocsrp.domain.com
- Checked Enable Proxy under the Application Request Routing settings at the server level
- Left all other settings on application request routing default
- Added the URL Rewrite rule to the web.config of the site
IIS will then proxy http requests coming from ocsrp.domain.com to ocs2007r2pool.internal.dom which is the FQDN of our internal enterprise pool.
I hope others will find this useful.