You are on page 1of 24

Deploying Forefront TMG 2010 Server as a Reverse Proxy in an Existi...

1 sur 24

http://www.msserverpro.com/deploying-forefront-tmg-2010-server-as-a...

About me (http://www.msserverpro.com/about-me/)
Services (http://www.msserverpro.com/services/)
Contact me (http://www.msserverpro.com/contact-me/)

(http://www.msserverpro.com)

(http://www.trainsignal.com)

ISA / TMG 2010 (http://www.msserverpro.com/category/tmg-2010/)


MS Exchange Server (http://www.msserverpro.com/category/ms-exchange/)
Virtualization (http://www.msserverpro.com/category/virtualization/)
Windows Server 2008 (http://www.msserverpro.com/category/windows-server/)
Windows Server 2012 (http://www.msserverpro.com/category/windows-server-2012/)

Deploying Forefront TMG 2010 Server as a Reverse Proxy in an Existing


Firewall DMZ
February 13, 2012 Naresh Man Maharjan No comments (http://www.msserverpro.com/deploying-forefront-tmg-2010server-as-a-reverse-proxy-in-an-existing-firewall-dmz/#respond)

Normally, organization use hardware firewall (Checkpoint, Cisco


ASA, and Juniper) to secure their network (This has been the
trend over last ten years). Due to some limitations of networking
features in previous versions of Microsoft Firewall (ISA Server
2004/2006), large organizations used hardware firewall at the
edge of network. Forefront TMG 2010 Server can fit many roles
within organizations, such as Edge firewall, VPN Server, Secure
Web Gateway, forward proxy, reverse-proxy and many more.
Therefore, in many deployment scenarios, Forefront TMG 2010 is
used solely for forward and reverse proxy functionality. In these
configurations, Forefront TMG 2010 Server is typically deployed
in the perimeter (DMZ) network of an existing firewall (Cisco ASA)
for extra layer of protection to the web related services such as
Web Server, Secure Web Server, Exchange Outlook Web access
from external intrusion and attack.

09/08/2013 15:52

Deploying Forefront TMG 2010 Server as a Reverse Proxy in an Existi...

2 sur 24

http://www.msserverpro.com/deploying-forefront-tmg-2010-server-as-a...

(http://www.msserverpro.com/view/1178/pic1)

In this scenario we install Forefront TMG 2010 Server on a computer with a single network adapter. Forefront TMG
2010 Server Reverse Proxy makes it possible to secure the web related services through a logical construct
known as a Web Publishing Rule. A Web Publishing rule is a firewall policy rule that uses specific filters to monitor
web traffic and force that traffic to confirm to specific conventions. For example, Publish Web sites using as the
public name instead of IP address, restrict access to particular subdirectory, Bridging feature, Setting the
maximum payload length, which guards against attacks involving large amounts of data submitted to databases or
Web servers in an HTTP POST request, blocking responses containing Windows executable content such as
(.vbs,.exe,.ida,.com) etc.,setting the exact HTTP methods that you want to allow to the published Web site and
block all others. For example Block the HTTP PUT method.

09/08/2013 15:52

Deploying Forefront TMG 2010 Server as a Reverse Proxy in an Existi...

3 sur 24

http://www.msserverpro.com/deploying-forefront-tmg-2010-server-as-a...

(http://www.msserverpro.com/view/1178/pic2)

Perform the following steps to configure Publishing a Web Server Using HTTP Protocol using Port Redirection
(Bridging):
Step 1. Create a Web listener for use in Publishing a Web Server Using HTTP Protocol
Step 2. Create a Web Publishing Rule using Port redirection (Bridging)
Step 3. Optional Configuration (but very Important)
The Web listener can be created independently (as in this task), or during creation of a Web Publishing rule.
Step 1. Create a Web listener for use in Publishing a Web Server Using HTTP Protocol
1. In the Forefront TMG Management console, click the Firewall Policy Console node.

(http://www.msserverpro.com/view/1178/1-47)

2. In the Right pane, click the Toolbox tab. Expand Network Objects, Click on New Tab and then select Web Listener.

09/08/2013 15:52

Deploying Forefront TMG 2010 Server as a Reverse Proxy in an Existi...

4 sur 24

http://www.msserverpro.com/deploying-forefront-tmg-2010-server-as-a...

(http://www.msserverpro.com/view/1178/2-50)

3. On the Welcome to New Web Listener Wizard page, type External to DMZ (HTTP) in the Name box, and then click
Next.

(http://www.msserverpro.com
/view/1178/3-47)

4. On the client Connections Security page, select Do not require SSL Secured Connections with clients and click
Next.

09/08/2013 15:52

Deploying Forefront TMG 2010 Server as a Reverse Proxy in an Existi...

5 sur 24

http://www.msserverpro.com/deploying-forefront-tmg-2010-server-as-a...

(http://www.msserverpro.com
/view/1178/4-43)

5. On the Web Listener IP Addresses page, select All Networks (and Local Host) as the adapter that will listen for
incoming Web requests on these networks. ( Note: We are using TMG Server with single NIC)

(http://www.msserverpro.com
/view/1178/5-41)

09/08/2013 15:52

Deploying Forefront TMG 2010 Server as a Reverse Proxy in an Existi...

6 sur 24

http://www.msserverpro.com/deploying-forefront-tmg-2010-server-as-a...

6. On the Authentication Settings page, select No Authentication in the drop-down list option and click Next.

(http://www.msserverpro.com
/view/1178/6-31)

7. On the Single Sign On Settings page, click Next.

(http://www.msserverpro.com
/view/1178/7-29)

09/08/2013 15:52

Deploying Forefront TMG 2010 Server as a Reverse Proxy in an Existi...

7 sur 24

http://www.msserverpro.com/deploying-forefront-tmg-2010-server-as-a...

8. On Completing the New Web Listener Wizard page, Click Finish.

(http://www.msserverpro.com
/view/1178/8-28)

9. Click Apply To save changes and update the configuration, click Apply Saving Configuration Changes and then click OK.

(http://www.msserverpro.com/view/1178
/9-21)

(http://www.msserverpro.com
/view/1178/9a)

09/08/2013 15:52

Deploying Forefront TMG 2010 Server as a Reverse Proxy in an Existi...

8 sur 24

http://www.msserverpro.com/deploying-forefront-tmg-2010-server-as-a...

(http://www.msserverpro.com
/view/1178/9b-2)

Step 2. Create a Web Publishing Rule.


1. In the Forefront Management console, click the Firewall Policy node. In the right pane, click the Tasks tab and then
click Publish Web Sites.

(http://www.msserverpro.com/view/1178/1-48)

2. On the Welcome to the New Web Publishing Rule Wizard page, type Publishing MSSERVER WEB SITE and click Next.

09/08/2013 15:52

Deploying Forefront TMG 2010 Server as a Reverse Proxy in an Existi...

9 sur 24

http://www.msserverpro.com/deploying-forefront-tmg-2010-server-as-a...

(http://www.msserverpro.com
/view/1178/2-51)

3. On the Select Rule Action page, select Allow and click Next.

(http://www.msserverpro.com
/view/1178/3-49)

09/08/2013 15:52

Deploying Forefront TMG 2010 Server as a Reverse Proxy in an Existi...

10 sur 24

http://www.msserverpro.com/deploying-forefront-tmg-2010-server-as-a...

4. On the Publishing Type page, select Publish a single Web site or load balancer and click Next.

(http://www.msserverpro.com
/view/1178/4-44)

5. On the Server Connection Security page, select Use non-secured connections to connect the published Web
server or server farm and click Next.

09/08/2013 15:52

Deploying Forefront TMG 2010 Server as a Reverse Proxy in an Existi...

11 sur 24

http://www.msserverpro.com/deploying-forefront-tmg-2010-server-as-a...

(http://www.msserverpro.com
/view/1178/5-42)

6. On the Internal Publishing Details page, type www.msserverpro.com (http://www.msserverpro.com/) in the Internal site
name, and then select the check box Use a computer name or IP addresses to connect to the published server and
specify the Internal servers IP Address 192.168.10.15 and then click Next.

(http://www.msserverpro.com

09/08/2013 15:52

Deploying Forefront TMG 2010 Server as a Reverse Proxy in an Existi...

12 sur 24

http://www.msserverpro.com/deploying-forefront-tmg-2010-server-as-a...

/view/1178/6-32)

7. On the Internal Publishing Details page, type /* in Path (optional) to allow access to all of the content for the site
www.msserverpro.com (http://www.msserverpro.com/) without any restriction to any specific folders in the site and select
the check box Forward of the original host header instead of the actual one specified in the Internal site name field
on the previous page and then click Next.

(http://www.msserverpro.com
/view/1178/7-30)

8. On the Public Name Details page, accept the default to only accept requests for This domain name, and type
www.msserverpro.com (http://www.msserverpro.com/) in the Public name and click Next.

09/08/2013 15:52

Deploying Forefront TMG 2010 Server as a Reverse Proxy in an Existi...

13 sur 24

http://www.msserverpro.com/deploying-forefront-tmg-2010-server-as-a...

(http://www.msserverpro.com
/view/1178/8-31)

9. On the Select Web Listener page, select External to DMZ (HTTP), and then click Next. This Web listener was created
in the STEP 1.

(http://www.msserverpro.com
/view/1178/9-22)

09/08/2013 15:52

Deploying Forefront TMG 2010 Server as a Reverse Proxy in an Existi...

14 sur 24

http://www.msserverpro.com/deploying-forefront-tmg-2010-server-as-a...

10. On the Authentication Delegation page, leave the default authentication option and then click Next. In our scenario, we
have select No Authentication in Web Listener and site can be accessed by anyone.

(http://www.msserverpro.com
/view/1178/10-20)

11. On the Users Sets page, accept the default All Users because this is the Public Web site Portal and my goal is that
everyone should be able to access it without authentication and then click Next.

09/08/2013 15:52

Deploying Forefront TMG 2010 Server as a Reverse Proxy in an Existi...

15 sur 24

http://www.msserverpro.com/deploying-forefront-tmg-2010-server-as-a...

(http://www.msserverpro.com
/view/1178/11-13)

12. On the Completing the New Web Publishing Rule Wizard page, review the configuration and click Finish.

(http://www.msserverpro.com
/view/1178/12-15)

09/08/2013 15:52

Deploying Forefront TMG 2010 Server as a Reverse Proxy in an Existi...

16 sur 24

http://www.msserverpro.com/deploying-forefront-tmg-2010-server-as-a...

13. Click Apply To save changes and update the configuration, click Apply Saving Configuration Changes and then click
OK.

(http://www.msserverpro.com
/view/1178/13-13)

(http://www.msserverpro.com
/view/1178/13a)

(http://www.msserverpro.com
/view/1178/13b-5)

14. Double-click on Publishing MSSERVERPRO SITE just we have created, click Bridging Tab and change the HTTP
Port 8010 because MSSERVERPRO Internal Web Server is using a port other than Port 80.Then click Apply and click
Test Rule to check the publishing rule is working properly.

09/08/2013 15:52

Deploying Forefront TMG 2010 Server as a Reverse Proxy in an Existi...

17 sur 24

http://www.msserverpro.com/deploying-forefront-tmg-2010-server-as-a...

(http://www.msserverpro.com/view/1178/14-13)

(http://www.msserverpro.com/view/1178
/14b-3)

Step 3. Optional Configuration:


Now our Publishing MSSERVERPRO Web server is working. But this is the optional configuration.
1. Copy the Publishing MSSERVERPRO WEB SITE rule and Paste it.

09/08/2013 15:52

Deploying Forefront TMG 2010 Server as a Reverse Proxy in an Existi...

18 sur 24

http://www.msserverpro.com/deploying-forefront-tmg-2010-server-as-a...

(http://www.msserverpro.com/view/1178/1-49)

(http://www.msserverpro.com/view/1178/1b-6)

2. Double-click the new paste Publishing MSSERVERPRO WEB SITE rule, rename the Publishing rule, click on Public
Name Tab, edit the www.msserverpro.com (http://www.msserverpro.com/) to msserverpro.com.

(http://www.msserverpro.com/view/1178/2-52)

09/08/2013 15:52

Deploying Forefront TMG 2010 Server as a Reverse Proxy in an Existi...

19 sur 24

http://www.msserverpro.com/deploying-forefront-tmg-2010-server-as-a...

3. On the Publishing MSSERVERPRO WEB SITE Properties dialog box, click Action Tab, select deny radio button and
select the check box Redirect HTTP requests to this Web page, type http://www.msserverpro.com
(http://www.msserverpro.com/) then click Apply and click OK.

(http://www.msserverpro.com/view/1178/3-50)

4. Then configure HTTP filtering to control HTTP Methods, block Windows executable content, Extensions, Modify
Headers etc.

09/08/2013 15:52

Deploying Forefront TMG 2010 Server as a Reverse Proxy in an Existi...

20 sur 24

http://www.msserverpro.com/deploying-forefront-tmg-2010-server-as-a...

(http://www.msserverpro.com/view/1178/4-45)

(http://www.msserverpro.com/view/1178/4a-6)

09/08/2013 15:52

Deploying Forefront TMG 2010 Server as a Reverse Proxy in an Existi...

21 sur 24

http://www.msserverpro.com/deploying-forefront-tmg-2010-server-as-a...

(http://www.msserverpro.com/view/1178/4b-9)

(http://www.msserverpro.com/view/1178/4c-6)

09/08/2013 15:52

Deploying Forefront TMG 2010 Server as a Reverse Proxy in an Existi...

22 sur 24

http://www.msserverpro.com/deploying-forefront-tmg-2010-server-as-a...

(http://www.msserverpro.com/view/1178/4d-3)

5. Apart from this, this is not related with Web Publishing rule; we have to customize the Flood Mitigation settings to more
secure to our web server.

(http://www.msserverpro.com/view/1178/5-44)

6. Lastly, Network Inspections System (NIS) must be updated with latest signatures. NIS uses signatures of known
vulnerabilities from the Microsoft Malware Protection Center.

09/08/2013 15:52

Deploying Forefront TMG 2010 Server as a Reverse Proxy in an Existi...

23 sur 24

http://www.msserverpro.com/deploying-forefront-tmg-2010-server-as-a...

(http://www.msserverpro.com/view/1178/5-43)

Summary:
TMG encompasses all layers of protection provided by hardware firewall as well as advanced protection features
employing Reverse Proxy and inspections according to the policy set forth.

(http://www.addtoany.com/share_save#url=http%3A%2F
%2Fwww.msserverpro.com%2Fdeploying-forefront-tmg-2010-server-as-a-reverse-proxy-in-an-existingfirewall-dmz%2F&
title=Deploying%20Forefront%20TMG%202010%20Server%20as%20a%20Reverse%20Proxy%20in%20an%20Existing
description=)
Posted in: ISA / TMG 2010 (http://www.msserverpro.com/category/tmg-2010/)
(http://www4.clustrmaps.com

(http://www4.clustrmaps.com

Recent Posts

/maps.php?url=http:
//www.msserverpro.com)

Implementing Windows Server 2012 Hyper-V Failover Clustering (http://www.msserverpro.com


/implementing-windows-server-2012-hyper-v-failover-clustering/)

Installing and Configuring Microsoft Hyper-V Server 2012 for Remote Management using the
HVRemote Tool in Workgroup (http://www.msserverpro.com/installing-and-configuring-microsoft-hyperv-server-2012-for-remote-management-using-the-hvremote-tool-in-workgroup-scenarios/)

Configuring Port ACLs in Windows Server 2012 Hyper-V (http://www.msserverpro.com/configuringport-acl-in-windows-server-2012-hyper-v/)

Configuring Windows Server 2012 NIC Teaming to a Hyper-V Virtual Machine


(http://www.msserverpro.com/configuring-windows-server-2012-nic-teaming-to-a-hyper-v-virtual-machine/)

Creating and Deploying Virtual Machines Using Templates (http://www.msserverpro.com/creatingand-deploying-virtual-machines-using-templates/)

09/08/2013 15:52

Deploying Forefront TMG 2010 Server as a Reverse Proxy in an Existi...

24 sur 24

http://www.msserverpro.com/deploying-forefront-tmg-2010-server-as-a...

Inscription universitaire
universitecentrale.net
la prinscription est gratuite... sans
engagement.

cole Polytechnique Libre


www.polytechcentrale.tn
Grande cole d'ingnieur tunisienne
nouvelles spcialits (voir+)

Free IPv6 Certification


IPv6.HE.net
Get started in minutes! Become an IPv6
Guru

HideMyAss Summer Offer


www.HideMyAss.com
VPN Services Now Just $4.99/m! Plus 30
Day Money Back Guarantee.

Archives
June 2013 (http://www.msserverpro.com/2013/06/)
March 2013 (http://www.msserverpro.com/2013/03/)
February 2013 (http://www.msserverpro.com/2013/02/)
January 2013 (http://www.msserverpro.com/2013/01/)
December 2012 (http://www.msserverpro.com/2012/12/)
October 2012 (http://www.msserverpro.com/2012/10/)
September 2012 (http://www.msserverpro.com/2012/09/)
August 2012 (http://www.msserverpro.com/2012/08/)
March 2012 (http://www.msserverpro.com/2012/03/)
February 2012 (http://www.msserverpro.com/2012/02/)
January 2012 (http://www.msserverpro.com/2012/01/)
December 2011 (http://www.msserverpro.com/2011/12/)
November 2011 (http://www.msserverpro.com/2011/11/)
October 2011 (http://www.msserverpro.com/2011/10/)
September 2011 (http://www.msserverpro.com/2011/09/)
August 2011 (http://www.msserverpro.com/2011/08/)

Copyright 2013 MS Server Pro (http://www.msserverpro.com/). All Rights Reserved.


Created in TechWorks (http://www.techworks.com.np)

09/08/2013 15:52

You might also like