Configure Forefront TMG as a NPS (Radius) Client for VPN and local clients


In this article, I will describe how to configure Forefront TMG as a RADIUS client. As a radius client FF TMG act as a messenger sending RADIUS request to NPS for authentication and authorization of VPN connection. The following Visio diagram shows placement of TMG as radius client.

image

To configure FF TMG as a RADIUS client

Log on to TMG server, open Forefront TMG Management console, click Remote Access Policy (VPN)>click Radius Server or Specify RADIUS Configuration.

35

You will see VPN property. On the RADIUS tab, click Use RADIUS for authentication>click RADIUS Servers.

34

click Add. Type Server name or IP address of the NPS server. create a new shared secret. This Shared Secret will be same as shared secret in NPS server when you add TMG as a client in NPS.

  4

3

Click OK>Click OK. Apply Changes and click ok.

Note: Above configuration apply for ONLY VPN clients.

To configure Forefront TMG to authenticate local client

33

Open Forefront TMG Management console, click the Firewall Policy node>Click Tasks pane> click Configure Client Access. Select Internal (Local Networks)>click Configure.

29

30

Click on Web Proxy tab>click Authentication> Under Method, clear any other selected methods, and then select RADIUS. Click RADIUS Servers>click Add.

31

32

Now add Server name or IP address of the RADIUS server, add New Shared secret as you did in previous steps. Apply changes you have made. 

To create Radius Firewall Policy using FF TMG 2010

Open Forefront TMG Management console, right click the Firewall Policy node>Click New>Click Access Policy. You will see new policy wizard. Type the name of the policy>Click next

9

10

Click Allow on Rule Action>Click Add on protocol property>add Radius and Radius Accounting protocol

11

12

On the access rule window, add VPN clients as source. If you are creating this policy for internal clients than add internal networks instead of VPN clients.

13

Specify destination that is NPS server location on the next screenshot. in this article NPS server is placed in internal networks so I added internal network.

14

On the next window, add Active Directory Group which this rule has been applied for.

15

16

Click Finish and apply changes.

17

8

Note: you have to create firewall policy for the clients. In this example, I have shown firewall policy for VPN client. If you want to create policy for internal client, you have to change source of clients. Protocol will be same as shown above screen shots.

To add Forefront TMG as a RADIUS client on NPS

Log on to Network Policy Server, Open NPS management console>right click RADIUS Clients>click New RADIUS Client.

18

On the New RADIUS Client dialog box>type a name>type a description of FF TMG>Type IP address of Forefront TMG. In the shared secret box, type a shared secret. This shared secret is the same shared secret you typed in FF TMG as mentioned at the beginning of this article.

19

21

Select the RADIUS client is NAP-capable check box, if you want to enforce VPN client’s health policy. click OK.

20

To enforce Health Policy for VPN clients:

On Network Policy Server or a different windows server 2008, open Server Manager>Click Role>Click Add Role>Select Health Registration Authority Role>Click Next and follow the screenshots.

22

Open NPS Management Console>Right Click on Health Policy>Click New

23

Type Policy Name>Select Client’s SHV Checks>Check Windows Security Health Validator

24

Select and Check appropriate firewall policy, windows update and antivirus update policy. Apply and Click Ok.

25

2627

Click Configure to add remediation server for health registration.

28

 

 

17 thoughts on “Configure Forefront TMG as a NPS (Radius) Client for VPN and local clients

  1. Dear Mr. Raihan,

    i want to know some config. of TMG, my query is, i have 3 location and all are connecting to head office through just a GRE tunnels, i want to authenticate them through windows 2008 radius server and run TMG for internet to whole company. Will you please help me to overcome this issue.

    Thanks
    Mohsin

    Like

  2. Thanks for ur help i will try and update you but will you please give me any doc or site where i found all configuration and installation of TMG Like internet sharing, vpn, radius, and others.

    Like

  3. Dear Mr. Rehan,

    i want to do port forwarding or port mapping in TMG.

    Explaining scenerio,

    i have ftp and application servers inside tmg (on local ip addresses), tmg has public ip and serving internet to local clients, i want to access our applications servers from the internet but they have local ip address, may be port mapping or port forwarding will resolve the issue.

    please reply ASAP.

    Like

  4. Dear Mr Rehan,

    i don’t have so many servers i just have 3 server one is for tmg and other are accounting application server and ftp server, i have public ip pool /28 Public ip pool, if i don’t go with rev. proxy setup because its very complex.

    suppose if i assign public ip addess to tmg and other servers so is there any way in tmg which allow internal or external user to communicate with tmg and other server easily.

    Like

  5. I need help to setup TMG 2010 on remote datacenter configured as VPN server.
    Scenario is there are two datacenters, hub datacenter and remote datacenter, at hub datacenter we have Active Directory Service (ADS) installed on Windows 2008 R2 Domain Controller (DC) also has NPS server role configured as a RADIUS server integrated with ADS. Well on DC there are two NIC’s on NIC 1 local IP configured and on NIC 2 Public Static IP configured. We need to install TMG 2010 server on remote datacenter configured as VPN server and there is only single NIC with Public static IP configured. VPN client connects to TMG 2010 VPN server should get remote authentication on Domain Controller at hub datacenter.

    In such scenario can we configure remote TMG 2010 server as a RADIUS client & proxy and forward the VPN client authentication to DC at hub datacenter which is also configured as RADIUS server?

    Like

  6. Dear Mr. Rehan,

    I want to get client ip address of web access from radius message in TMG http proxy.

    Explaining scenerio: I have configed radius authentication method in TMG http proxy , we can get login-name and password in Access Request message. My question is : which way we can get ip client of orgin http request ?

    please reply ASAP.

    Thx a lot !

    kejian

    Like

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.