Configuring TFS Proxy

Now that you know what a proxy for Team Foundation Server is used for and how you can use it, it would be interesting to know how to install and configure it. Well good news, it is precisely the objective of this article! Let me tell you right away; The installation of the proxy is not much more difficult than that of the main product, and I do not even talk about its configuration.
As with the configuration of Team Foundation Server, you first arrive on a screen indicating why a proxy is useful or unnecessary (Figure 1). Click the Start Wizard button to start.

step-0

Figure 1

The next screen is not much more interesting. This is simply the Welcome screen of the Setup Wizard (Figure 2). Click the Next button to move forward.

step-1

Figure 2

This is where the configuration actually begins.You now have to select the team project collection that the proxy will serve. Use the Browse button to connect to the application and select the collection (Figure 3).

step-2e

Figure 3

Like most Team Foundation Server features, the proxy uses a service (or a user account that connects as a service) to authenticate itself. You must specify an account and the type of authentication you want to use (Figure 4).

step-3

Figure 4

On the next screen, you must specify a port number to access the proxy and the directory you want to use for the cache (Figure 5).

step-4

Figure 5

The basic configuration is already complete. You get a summary of the options you have chosen (Figure 6). Click the Next button to confirm.

 

step-5

Figure 6

As usual, your system checks are launched. When all checks are completed (Figure 7), click the Configure button to complete the process.

 

step-6

Figure 7

If all went well, you arrive at a success screen with some additional information about exceptions added to the firewall, configuration file, logs, … (Figure 8). Click the Next button to reach the review screen where you can close the configuration wizard (Figure 9).

 

step-7b

Figure 8

step-8

Figure 9

Note that the administration console does not allow you to add many collections to the proxy but you can use the following command to do so:

TfsConfig proxy /add /collection:http://keep-tfs:8080/tfs/SomeOtherCollection

If you want to modify the cache limit, you have to manually edit the configuration file (Figure 10).

config-file

Figure 10

Advertisements