Ahmed Hussein Online

Deploying TMG Array in DMZ ( Workgroup ) Part 1

this is one of the topics that I am asked on a lot " how to deploy TMG array  in workgroup" .8 out of 10 if you don’t know the steps you will fail . deploying the TMG in workgroup is all about the order you do it in . it’s that simple

I also have to say that until now there is no relation between joining the domain and the level of security the box have . so if you reason is to make it more secure then you will gain nothing instead you will lose some of the features . so my advice join it to the domain .if it possible

first you have to install TMG enterprise on both nodes full installation as you normally do

clip_image002[1]

clip_image004[1]

clip_image006[1]

clip_image008[1]

clip_image010[1]

clip_image012[1]

clip_image014[1]

clip_image002

 

clip_image004

clip_image006

 

clip_image008

 

clip_image010

 

clip_image012

 

clip_image014

 

clip_image016

 

clip_image018

 

clip_image020

 

clip_image022

 

you must set the DNS suffix

 

clip_image024

 

clip_image026

 

clip_image028

 

clip_image030

 

clip_image032

 

clip_image034

 

clip_image036

 

Make sure that the managed server group has the IP range of the array

clip_image038

now you can harden the TMG by using the security wizard .

 

  next step the certificates . because the installation is in workgroup the machine don’t have any way to authenticate each other  . this is way we need certificates .

as a recommendation you  should be using internal PKI (CA) but what if you don’t have one installed ???

if you are interested give a look on my posts about ADCS

this guide will show you have to create self signed certificate . not only that but how to used it to sign other certificates  this will enable you to create certificate hierarchy without the need for CA . this is only supported in lab environment

down load windows 7 SDK we will be only using a small tool called makcert from it

you can get it from

Microsoft Windows SDK for Windows 7 and .NET Framework 4 (ISO)

http://www.microsoft.com/downloads/en/details.aspx?FamilyID=35aeda01-421d-4ba5-b44b-543dc8c33a20

for the full info about the tool please visit

http://msdn.microsoft.com/en-us/library/bfsktky3(VS.80).aspx

 

clip_image002_thumb

clip_image004_thumb

clip_image006_thumb

now go to

clip_image008_thumb

make sure that you are on c:\program files\Microsoft sdks\windows\v7.1\bin\

and run the following command

 

makecert -pe -n "CN=TMGArrayRootCA" -ss my -sr LocalMachine -a sha1 -sky signature -r "TMG Array Root CA"

this command will create the Root Certificate that we will use to sign other certificates

clip_image010_thumb

 

next we run

don’t forget to change the names

makecert -pe -n "CN=TMG1.TMG.local" -ss my -sr LocalMachine -a sha1 -sky exchange -eku 1.3.6.1.5.5.7.3.1  -in "TMGArrayRootCA" -is MY -ir LocalMachine -sp "Microsoft RSA SChannel Cryptographic Provider" -sy 12 "TMG1.cer"

makecert -pe -n "CN=TMG2.TMG.local" -ss my -sr LocalMachine -a sha1 -sky exchange -eku 1.3.6.1.5.5.7.3.1  -in "TMGArrayRootCA" -is MY -ir LocalMachine -sp "Microsoft RSA SChannel Cryptographic Provider" -sy 12 "TMG2.cer"

you don’t need to create a certificate for the second node . but you will need it in case of a DR when you try to make this node the array manager

clip_image014_thumb

clip_image016_thumb

clip_image018_thumb

clip_image020_thumb

clip_image022_thumb

clip_image024_thumb

clip_image026_thumb

clip_image028_thumb

for the root CA DON’T EXPORTTHE PRIVTE KEY

clip_image030_thumb

clip_image032_thumb

now we move each Certificate to its node

don’t forget to install the root CA in the  trusted root certification  authorities for this to work

clip_image034_thumb

clip_image036_thumb

now we have a valid certificates for us to proceed

Related Posts

One Response to “Deploying TMG Array in DMZ ( Workgroup ) Part 1”

  1. This was absolutely the best guide to tmg enterprise workgroup installation!
    Thank you very much, you saved my day! :)

Leave a Reply

*