Using ARR as a Reverse Proxy for SharePoint #wmsvc #certificate


Start-BitsTransfer -Source http. / / download. microsoft. com / download / 6 / 7 / D / 67D80164 -7DD0 -48AF -86E3 -DE7A182D6815 / rewrite_amd64_en -US. msi

#Web Farm Framework 1.1:

Start-BitsTransfer -Source http. / / download. microsoft. com / download / 5 / 7 / 0 / 57065640 -4665 -4980 -A2F1 -4D5940B577B0 / webfarm_v1. 1 _ amd64 _ en _ US. msi

#Application Request Routing 2.5:

Start-BitsTransfer -Source http. / / download. microsoft. com / download / A / A / E / AAE77C2B-ED2D -4EE1 -9AF7 -D29E89EA623D / requestRouter_amd64_en -US. msi

#External Disk Cache v1:

Start-BitsTransfer -Source http. / / download. microsoft. com / download / 3 / 4 / 1 / 3415F3F9 -5698 -44FE -A072 -D4AF09728390 / ExternalDiskCache_amd64_en-US. msi

#External Disk Cache Patch:

Start-BitsTransfer -Source http. / / download. microsoft. com / download / D / E / 9 / DE90D9BD-B61C -43F5 -8B80 -90FDC0B06144 / ExternalDiskCachePatch_amd64. msp

#For IIS8 only, Application Request Routing hotfix:

Start-BitsTransfer -Source http. / / download. microsoft. com / download / 6 / 2 / 6 / 6260674B -A3CA -434D -A538 -561087EB5D04 / requestrouter_amd64. msp

#Application Request Routing hotfix for NTLM support:

Start-BitsTransfer -Source http. / / download. microsoft. com / download / 5 / C / 3 / 5C3FFDA4 -7A8F -4065 -9B4C -327D87569707 / requestrouter_amd64_KB2732764. msp

This will flip the bit on the EnableRemoteManagement key, start the IIS Web Management Service, and set the service to automatically start.

Using IIS Manager, connect to the Application Request Routing server:

When prompted, enter the Administrator username (in the format of ARRSERVERNAME\Username) and password for the Application Request Routing server. Next, you ll be prompted to download and install the features to match the server:

First thing is to edit the IIS Bindings of the Default Web Site, adding the SSL certificate that matches what is used on SharePoint.

The next couple of settings will modify the DefaultAppPool to not timeout or recycle. Using the IIS Manager, you can easily change these settings on the Advanced Settings and Recycling Conditions, respectively:

Optionally, this can be done from the Application Request Routing host via appcmd.exe:

Back in the IIS Manager, create a new Server farm named SharePoint (or anything you want it to be named).

Add all SharePoint servers that respond directly to end user requests to the new farm.

The Create Farm wizard will prompt if you want to create the appropriate URL rewrite rules. Unless you have an advanced configuration, just say yes here.

Click on the farm name in the left hand tree. Here you will see the options available to you to configure the farm. One thing to immediately note is the Server Affinity feature.

If you are using SharePoint 2010 or below, check Client affinity. If you using SharePoint 2013, this is not required, but consider its use if not using SSL offloading as renegotiation of an SSL session is expensive. Under the Routing Rules feature, disable SSL Offloading if you are not using it.

Implementation and testing of the ARR server is completely transparent to the user because you don t have to redirect user requests through the ARR prior to a production deployment in order to validate the configuration functions correctly. Modify your client s hosts file (C:\Windows\System32\drivers\etc\hosts) with an entry similar to:

Next, from the client, navigate to the site. If everything loads, great! To validate that we are routing through our new reverse proxy, run Fiddler while browsing the site.

Here we see the X-Powered-By ARR/2.5 header as well as SharePoint s MicrosoftSharePointTeamServices and X-SharePointHealthScore header. And no, this is not SharePoint 2010 or 2013 running on Windows Server 2012, the Server header comes from the ARR IIS8 server instead of the SharePoint server.

This should hopefully help you investigate alternative options from Microsoft for reverse proxy server.

Advanced installation options for the ARR include leveraging an IIS Shared Configuration which allows you to join multiple IIS ARR servers with identical configurations. You must have a CIFS/SMB share available to store the configuration. In addition, you can examine using Windows Network Load Balancing as a free option to balance requests between the IIS ARR servers (but it is highly recommended to investigate hardware load balancer alternatives).

The IIS ARR itself will do far more than I ve outlined here. For other features, take a look at the IIS.Net Application Request Routing site!

Share this:

Like this:


Dennis G May 26, 2013 at 3:56 am Reply

Great post! First time I have heard of a valid MS alternative to using the Forefront TMG.

I am missing the step where you re accessing the SharePoint from an external address (e.g. ) and you are being served the internal server (e.g. sharepointwebapp). Also I would like to know how this would work with an NLB (software based). Would I just have an additional IIS route the requests to my e.g. 3-server SharePoint farm and the ARR01 server route to that NLB? Last question: Who is serving the login page? TMG created this nicely looking login page where users could authenticate against the Active Directory would SharePoint serve that then or would I have to create a custom login page?

You will need to make sure that SharePoint responds to the external address ( ) as that is what IIS ARR will route (unless you delve in and create more complex URL Rewrite rules). I originally wrote this article with the intent of showing Windows Network Load Balancing, but because of the network layout I have, it didn t make much sense. WNLB does not require 2 NICs, but it can be configured that way. At any rate, what you would do is create your first ARR server, then enable IIS Shared Configuration, storing the configuration on a 3rd CIFS server. Next, you d build up a second ARR server, installing the same software and SSL certificate, as well as configuring the registry and services, then point it at the shared configuration on the CIFS server. It will bring in the configuration of the Default Web Site, DefaultAppPool, and Server Farm. You would then install Windows NLB (Add-WindowsFeature NLB) on each node. From a remote machine with the RSAT-NLB feature installed, you would create an NLB array, connecting to the first node. Use IGMP Multicast, if possible. Specify only the ports you want to leverage (tcp/80 and tcp/443) for better performance, using Single Affinity. Join your second ARR server to the array. You will then point external DNS at the NLB VIP, and you can independently bring up and down ARR nodes! Neither the IIS Shared Configuration nor the configuration of Windows NLB from a remote machine require domain membership, you ll be prompted for a machine username and password as required.

IIS ARR does not have a portal like TMG or UAG. ARR will always pass the authentication directly back to the SharePoint server.

Tags : ,

0 thoughts on “Using ARR as a Reverse Proxy for SharePoint #wmsvc #certificate”

Leave a Reply

Your email address will not be published. Required fields are marked *