This is in response to "Any way to stop external OWA access but allow active sync?" (tek-tips.com/viewthread.cfm?qid=1526111&page=20" target="_blank"> which was closed.
I saw several postings online on how to allow internal OWA access, but disallow external OWA access while still allowing Exchange ActiveSync to work. However, I didn't find any good answers, but I did get it to work in our environment so I thought I'd post the steps in case they might be useful for someone else in the future.
This was configured in Exchange 2007. I added a second IP address to the Exchange server. I then set the default bindings in IIS to the main server IP address - this is the site with OWA, etc. I then created a second website in IIS and set the binding to the new IP I added. Then from the Exchange management shell I ran -- New-ActiveSyncVirtual Directory -WebSiteName "New Site Name" -- This created an ActiveSync virtual directory for this new site.
If you get an error:
"Error Message When You Use the New-ActiveSyncVirtualDirectory Cmdlet: A Failure Occurred While Trying to Enable the ISAPI Filter" then you need to:
To resolve this issue, turn on the Remote Registry service. To do this, follow these steps:
1.Click Start, click Run, type services.msc, and then click OK.
2.In the Services dialog box, double-click Remote Registry.
3.In the Remote Registry Properties (Local Computer) dialog box, click Automatic in the Startup type list if this option is not already selected.
4.Click Start.
5.After the Remote Registry service has started successfully, click OK.
On our external firewall I allowed port 443 to the new IP address I created. OWA is working internally using the original IP, but it does not work externally because the virtual directory for OWA doesn't exist on this site. However, OWA still works through the Cisco SSL WebVPN we have configured because that is set to use the internal IP.
I don't know if anyone will find this useful, but just in case..
Best,
John
thread1582-1526111
I saw several postings online on how to allow internal OWA access, but disallow external OWA access while still allowing Exchange ActiveSync to work. However, I didn't find any good answers, but I did get it to work in our environment so I thought I'd post the steps in case they might be useful for someone else in the future.
This was configured in Exchange 2007. I added a second IP address to the Exchange server. I then set the default bindings in IIS to the main server IP address - this is the site with OWA, etc. I then created a second website in IIS and set the binding to the new IP I added. Then from the Exchange management shell I ran -- New-ActiveSyncVirtual Directory -WebSiteName "New Site Name" -- This created an ActiveSync virtual directory for this new site.
If you get an error:
"Error Message When You Use the New-ActiveSyncVirtualDirectory Cmdlet: A Failure Occurred While Trying to Enable the ISAPI Filter" then you need to:
To resolve this issue, turn on the Remote Registry service. To do this, follow these steps:
1.Click Start, click Run, type services.msc, and then click OK.
2.In the Services dialog box, double-click Remote Registry.
3.In the Remote Registry Properties (Local Computer) dialog box, click Automatic in the Startup type list if this option is not already selected.
4.Click Start.
5.After the Remote Registry service has started successfully, click OK.
On our external firewall I allowed port 443 to the new IP address I created. OWA is working internally using the original IP, but it does not work externally because the virtual directory for OWA doesn't exist on this site. However, OWA still works through the Cisco SSL WebVPN we have configured because that is set to use the internal IP.
I don't know if anyone will find this useful, but just in case..
Best,
John
thread1582-1526111