<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Kernel Confusion &#187; Forefront Threat Management Gateway</title>
	<atom:link href="http://fitzzz.de/index.php/category/microsoft/forefront-threat-management-gateway/feed/" rel="self" type="application/rss+xml" />
	<link>http://fitzzz.de</link>
	<description>If you see a bluescreen, you are most likely drunk.</description>
	<lastBuildDate>Wed, 14 Sep 2011 19:42:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Direct Access and OCS problems after TMG RC to RTM migration</title>
		<link>http://fitzzz.de/index.php/2009/12/17/direct-access-and-ocs-problems-after-tmg-rc-to-rtm-migration/</link>
		<comments>http://fitzzz.de/index.php/2009/12/17/direct-access-and-ocs-problems-after-tmg-rc-to-rtm-migration/#comments</comments>
		<pubDate>Thu, 17 Dec 2009 17:52:22 +0000</pubDate>
		<dc:creator>Christoph Schmidt</dc:creator>
				<category><![CDATA[Direct Access]]></category>
		<category><![CDATA[Forefront Threat Management Gateway]]></category>
		<category><![CDATA[Office Communication Server]]></category>
		<category><![CDATA[Forefront]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Migration]]></category>
		<category><![CDATA[OCS]]></category>
		<category><![CDATA[Threat Management Gateway]]></category>
		<category><![CDATA[TMG]]></category>

		<guid isPermaLink="false">http://fitzzz.de/?p=155</guid>
		<description><![CDATA[Last night I had to upgrade our existing Threat Management Gateway RC machine to the ]]></description>
			<content:encoded><![CDATA[<p>Last night I had to upgrade our existing Threat Management Gateway RC machine to the final version of the product. According to <a href="http://technet.microsoft.com/en-us/library/dd440995.aspx" target="_blank">TechNet</a> this seemed to be a simple task, only a few steps are needed:</p>
<ol>
<li> Exporting the Forefront TMG RC configuration.</li>
<li> Uninstalling Forefront TMG RC from the server.</li>
<li> Installing Forefront TMG RTM on the server.</li>
<li> Importing the Forefront TMG RC configuration into Forefront TMG RTM.</li>
</ol>
<p>Step one was simple enough. Just follow the TechNet instructions:<br />
</br><br />
<span> </span></p>
<h4>To export the Forefront TMG RC configuration</h4>
<div>
<ol>
<li>In the Forefront TMG Management console access the root node:
<ul>
<li> On a Forefront TMG server, expand <strong>Microsoft Forefront Threat Management Gateway</strong>, and then click <strong>Server_Name</strong>.</li>
<li> On an EMS server, click <strong>Microsoft Forefront Threat Management Gateway</strong>.</li>
</ul>
</li>
<li>On the <strong>Tasks</strong> tab, click <strong>Export (Back Up) Configuration</strong>.</li>
<li>In the Export Wizard, on the <strong>Export Preferences</strong> page:
<ol>
<li> Select <strong>Export confidential information</strong>, then specify a password of at least eight characters.</li>
<li> Select <strong>Export user permission settings</strong>. When you export confidential information, the following information is included in the exported data:</li>
</ol>
<ul>
<li> Credentials used for alerts, logging, reports, report jobs, primary and backup routes, dial-up connections, and Web publishing.</li>
<li> The shared secret specified if a RADIUS server is used.</li>
<li> The preshared key specified for Internet Protocol security (IPsec) configuration.</li>
</ul>
<p>Confidential information is encrypted during the export process. The password is used to decrypt the information during the import process.<span> </span></li>
<li>In <strong>Save the data to this file</strong>, specify the folder in which the export file will be saved.</li>
</ol>
</div>
<p></br><br />
The deinstallation was not that easy, however. First, the TMG itself was deinstalled. Next the SQL Server had it&#8217;s turn, but failed with some wired errors. Unfortunately, I don&#8217;t have the logs anymore, so I can&#8217;t post them here. As the TMG wasn&#8217;t listed in the contral panel at &#8220;Installed Software&#8221;, I guessed I could try to install the RTM right away&#8230; and was wrong. It failed AGAIN when installing the SQL Server.</p>
<p>To solve this, I had to manually remove any SQL components left over and I renamed any SQL related directories under %programfiles% and %programfiles(x86)%. This time the setup did it&#8217;s work as expected and I imported the system-configuration back into the Firewall. At the first start, cancel the wizard and follow these steps:<br />
</br><br />
<span> </span></p>
<h4>To import the Forefront TMG RC configuration</h4>
<div>
<ol>
<li>In the Forefront TMG Management console, access the root node:
<ul>
<li> On a Forefront TMG server, expand <strong>Microsoft Forefront Threat Management Gateway</strong>, and then click <strong>Server_Name</strong>.</li>
<li> On an EMS server, click <strong>Microsoft Forefront Threat Management Gateway</strong>.</li>
</ul>
</li>
<li>On the <strong>Tasks</strong> tab, click <strong>Import (Restore) Configuration</strong>.</li>
<li>In <strong>Look in</strong>, browse to the folder with the file you are importing.</li>
<li>In <strong>File name</strong>, specify the file name of the .xml file you are importing.</li>
<li>Specify the password required to decrypt confidential information.</li>
<li>On the <strong>Apply Changes</strong> bar, click <strong>Apply</strong>.</li>
</ol>
</div>
<p></br><br />
At a first look, it all worked well. Internet-Access was available again and the Exchange started to receive and send E-Mails again. But my Microsoft Office Communicator 2007 R2 was unable to connect. Also, my virtual test-machine failed to establish the IPHTTPS tunnel for Direct Access while 6to4 apparently worked. The IPHTTPS tunnel the the most use way for us, so it had it&#8217;s importance.</p>
<p><strong>Solution to the unresponsive Office Communication Server (OCS)</strong></p>
<p>As a matter of fact, all settings were imported, but apparently NOT IN THE RIGHT ORDER. While the normal policies looked right, the network rules were ordered randomly. The rule regulating the traffic between DMZ and internal LAN (routing) was below a NAT rule and thus not functional. Restoring the original rule order solved the connection problem.</p>
<p><strong>Solution to the nonfunctional DirectAccess (DA)</strong></p>
<p>Let me note here, that we have both the TMG and the DA on the same machine, so this problem might be unique to this environment. I tried to open the IPHTTPS URL in the Browser and got a certificate error. As you may already know, certificates are a pain and absolutely important for any DA connection. I found out the wrong cert was presented to the client. So I checked the DirectAccess MMC and made sure the setting were correct. I even went through all four configuration panels and applied the newly generated config XML. But the certificate didn&#8217;t change. After endless tries, I surprisingly messed up the config so badly, that the wizard wasn&#8217;t able to apply it anymore and told me to undo the current configuration. I did as told and even had to manually remove both the DA GPOs left over. After that, I rebuild the config (with the exact same details as before)&#8230; and it worked. New GPOs were created and the right certificate was published. I don&#8217;t really know what went wrong, but this is how you can solve it.</p>
]]></content:encoded>
			<wfw:commentRss>http://fitzzz.de/index.php/2009/12/17/direct-access-and-ocs-problems-after-tmg-rc-to-rtm-migration/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

