<?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>Carlos&#039; Corner &#187; esx4i</title>
	<atom:link href="http://cars.lostroncos.org/tag/esx4i/feed/" rel="self" type="application/rss+xml" />
	<link>http://cars.lostroncos.org</link>
	<description>The tired geek-dad in the corner</description>
	<lastBuildDate>Wed, 12 May 2010 19:46:13 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Simulating a more interesting environment with Vyatta and VMware ESXi &#8211; pt 3</title>
		<link>http://cars.lostroncos.org/2010/03/27/simulating-a-more-interesting-environment-with-vyatta-and-vmware-pt-3/</link>
		<comments>http://cars.lostroncos.org/2010/03/27/simulating-a-more-interesting-environment-with-vyatta-and-vmware-pt-3/#comments</comments>
		<pubDate>Sun, 28 Mar 2010 07:21:33 +0000</pubDate>
		<dc:creator>cars</dc:creator>
				<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Home Lab]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[vyatta]]></category>
		<category><![CDATA[esx3i]]></category>
		<category><![CDATA[esx4i]]></category>
		<category><![CDATA[esxi]]></category>

		<guid isPermaLink="false">http://cars.lostroncos.org/?p=446</guid>
		<description><![CDATA[Background
<p>[consider this fair warning that this post is a bit long]</p>
<p>In the first part of this series I planned out my &#8220;enterprise&#8221; environment for an Exchange 2003 to 2010 upgrade. In the second part I built the internal router and verified it was working with directly connected subnets. At this point I have something resembling [...]]]></description>
			<content:encoded><![CDATA[<h2>Background</h2>
<p><em>[consider this fair warning that this post is a bit long]</em></p>
<p>In the<a href="http://cars.lostroncos.org/2010/02/17/a-more-interesting-environment-with-vyatta-and-vmware/"> first part of this series</a> I planned out my &#8220;enterprise&#8221; environment for an Exchange 2003 to 2010 upgrade. In the <a href="http://cars.lostroncos.org/2010/02/18/a-more-interesting-environment-with-vyatta-and-vmware-pt2/">second part</a> I built the internal router and verified it was working with directly connected subnets. At this point I have something resembling the following.<br />
<a href="http://cars.lostroncos.org/wp-content/uploads/2010/03/032810_0720_Simulatinga1.png"><img class="alignnone size-full wp-image-447" title="Environment to date" src="http://cars.lostroncos.org/wp-content/uploads/2010/03/032810_0720_Simulatinga1.png" alt="Environment to date" width="401" height="188" /></a></p>
<p>In this entry I&#8217;ll work on adding the DMZ router, enabling the firewall on one of its interfaces and adding static routers to it and<strong><em> rtr-home</em></strong> so that it&#8217;s reachable from my home LAN (essentially the stuff in the red box below). There are two phases to this.<a href="#configuringrouter"> The first phase</a> consists of setting up the router and verifying that it is able to reach hosts on the respective subnets it&#8217;s  directly attached to. As part of this I&#8217;ll also  set up static routing between<strong><em> rtr-dmz</em></strong> and <strong><em>rtr-home</em></strong> so that we can pass traffic from one subnet to another traversing both routers. <a href="#configuringfirewall">In the second phase</a> we&#8217;ll set up a very simple firewall ruleset to limit traffic coming out of the DMZ.</p>
<p><img src="http://cars.lostroncos.org/wp-content/uploads/2010/03/032810_0720_Simulatinga2.png" alt="" /></p>
<p><a name="configuringrouter"></a></p>
<h2>Configuring the router</h2>
<p>To start I need to create new router rtr-dmz (much as I did in Part 2), with three interfaces. One interface will be on the intranet to DMZ network/VLAN (192.168.4.1/30), another on the DMZ to internet VLAN (192.168.5.1/30)) and the third connected to the DMZ network itself(192.168.254.254/24).</p>
<p><img src="http://cars.lostroncos.org/wp-content/uploads/2010/03/032810_0720_Simulatinga3.png" alt="" /></p>
<p>After starting up the VM I assign the IP addresses and enable ssh.</p>
<p><img src="http://cars.lostroncos.org/wp-content/uploads/2010/03/032810_0720_Simulatinga4.png" alt="" /></p>
<p>Now I want to verify that I can ping devices on the two interface that are connected to the DMZ subnet(192.168.254.254) and the DMZ to intranet switch (192.168.4.1). I could also check the  DMZ to internet interface but don&#8217;t have anything else on that side yet whereas I do have a machine in the DMZ and rtr-home is also on the DMZ-to-intranet switch.</p>
<p><img src="http://cars.lostroncos.org/wp-content/uploads/2010/03/032810_0720_Simulatinga5.png" alt="" /></p>
<p>Now turning to my PC back on the &#8220;Home&#8221; LAN I can try to ping the interface of the new dmz router….</p>
<p><img src="http://cars.lostroncos.org/wp-content/uploads/2010/03/032810_0720_Simulatinga6.png" alt="" /></p>
<p>Oops! that didn&#8217;t work. .. As before I need to add a route on my PC so that it know how to get traffic to that interface through  rtr-home.</p>
<p><img src="http://cars.lostroncos.org/wp-content/uploads/2010/03/032810_0720_Simulatinga7.png" alt="" /></p>
<p>Now let my try again….</p>
<p><img src="http://cars.lostroncos.org/wp-content/uploads/2010/03/032810_0720_Simulatinga8.png" alt="" /></p>
<p>Still no joy… what does traceroute say?</p>
<p><img src="http://cars.lostroncos.org/wp-content/uploads/2010/03/032810_0720_Simulatinga9.png" alt="" /></p>
<p>Ok it looks as if traffic is headed in the right direction.</p>
<p>For grins lets ping the DMZ to intranet interface of rtr-home…</p>
<p><img src="http://cars.lostroncos.org/wp-content/uploads/2010/03/032810_0720_Simulatinga10.png" alt="" /></p>
<p>Ok so that works and we can see from the traceroute that it&#8217;s starting its journey headed in the right direction.  The issue is that much like my PC the <strong><em>rtr-dmz</em></strong> needs to know where to send packets destined to come back to a subnet it&#8217;s not attached to. To fix this I need to add a static route on <strong><em>rtr-dmz</em></strong> back to my PC.  I also need to add routes to  the HQ and Remote LANs as well.  I&#8217;ll start by adding the route to the router:</p>
<p><img src="http://cars.lostroncos.org/wp-content/uploads/2010/03/032810_0720_Simulatinga11.png" alt="" /></p>
<p>Now if I try to ping  the router from my PC it works as we would expect it to.</p>
<p><img src="http://cars.lostroncos.org/wp-content/uploads/2010/03/032810_0720_Simulatinga12.png" alt="" /></p>
<p>With that working its time to add the routes for the HQ and Remote LANs as well.</p>
<p><img src="http://cars.lostroncos.org/wp-content/uploads/2010/03/032810_0720_Simulatinga13.png" alt="" /></p>
<p>Now if I look at what I have configured again I&#8217;m noticing that <strong><em>rtr-home</em></strong> will also need to have a static route added to get to the DMZ and the DMZ to Internet network (red-lines). This is also true of my PC.</p>
<p><img src="http://cars.lostroncos.org/wp-content/uploads/2010/03/032810_0720_Simulatinga14.png" alt="" /><br />
After adding the static routes to<strong><em> rtr-home</em></strong> using 192.168.4.1 as the gateway I&#8217;m now able to ping a machine in the DMZ from <strong><em>rtr-home</em></strong>.</p>
<p><img src="http://cars.lostroncos.org/wp-content/uploads/2010/03/032810_0720_Simulatinga15.png" alt="" /></p>
<p><em><span style="color: #ff0000;"><strong>Note: Typically for the scenario I&#8217;m trying to simulate there would be two sets of traffic flows. One between hosts on the &#8220;internet&#8221; and &#8220;DMZ&#8221; and the other between the DMZ and the intranet (HQ and Remote LANs).  This means I wouldn&#8217;t normally have any traffic coming across  rtr-home headed to/thru the 192.168.5.1 interface and so wouldn&#8217;t need to add a route for it to rtr-home. But since this my home lab and I prefer being able to ssh/RDP to hosts in the Internet directly rather than using the VM console(s) I&#8217;m going to go ahead and add it.</strong></span></em></p>
<p>After doing the same on my PC ( this time using 192.168.1.254 as the gateway) I&#8217;m also able to ping the machine in the DMZ.</p>
<p><img src="http://cars.lostroncos.org/wp-content/uploads/2010/03/032810_0720_Simulatinga16.png" alt="" /><br />
Because machines in the DMZ and on the HQ and Remote LANs will use the rtr-dmz and rtr-home as their default gateways we don&#8217;t need to add manual routes to those machines.</p>
<p><span id="more-446"></span></p>
<p><a name="configuringfirewall"></a></p>
<h2>Setting up the internal firewall</h2>
<h3>Planning</h3>
<p>While I want to use the firewall  capability in Vyatta to simulate my production environment,  I also want to keep things simple.  Since I&#8217;m really more interested in the Exchange 2010 portion of the environment I&#8217;m going to take a few liberties with the rules. I&#8217;m planning on ending up with two different machines in the DMZ.  An Exchange 2003 server providing Outlook Web Access (OWA) functionality, and a box running Forefront  Threat Management Gateway (TMG).  The Exchange 2003 server would ordinarily need to have a number of ports opened up back to the domain controller(s) and other Exchange servers to be able to function properly.  Since I&#8217;ve got the Exchange 2003 server and the Domain Controller for each site installed on a single machine, I&#8217;m going to opt to let the  OWA server free access to each combined machine by IP address and not worry about specifying ports.  For the TMG box I&#8217;ll limit it to being able to communicate with the new Exchange 2010 servers by ports (443/80).  I&#8217;ll also want to make sure that I can connect to the DMZ boxes via RDP/Terminal Services.</p>
<p>My preliminary ruleset will look something like:</p>
<ol>
<li>OWA:* to 2K3-HQ:* [OWA to the combined DC/Exchange server in the HQ Lan]</li>
<li>OWA:* to 2K3-Remote:* [OWA to the combined DC/Exchange server in the Remote Lan]</li>
<li>DMZLAN:3389 to HOMELAN:*  [Traffic from any machine/port combination in the Home Lan bound for/coming  the RDP port of any machine in the DMZ]</li>
<li>TMG:* to E2KX-HQ:80 [</li>
<li>
<div>TMG:* to E2KX-HQ:443</div>
</li>
</ol>
<p>I&#8217;ll also need to add rules for traffic coming from the &#8220;Internet&#8221; but will tackle that when I build the Internet LAN.</p>
<p>A rule in Vyatta requires a minimum of three pieces of information.</p>
<ol>
<li>An action: accept packet, reject packet or drop the packet.</li>
<li>A destination (Network, host, range, etc)</li>
<li>A source (network, host, range, etc)</li>
</ol>
<p>In some of the rules I&#8217;ll be adding to the rule set I will also be specifying ports. (ex: 443 for HTTPS, 3389 for RDP, etc). Vyatta allows me to specify which interface I&#8217;ll apply a particular ruleset to, as well as what direction the traffic it&#8217;ll be applied to is going(inbound from outside the router or outbound through the interface) . In this case  I&#8217;ll apply the rules to inbound traffic on the interface attached to the DMZ subnet and not worry about restricting traffic coming into the DMZ LAN since the inbound rules will prevent a reply. I bring this up because Its important to make a decision before I start  about which traffic flow (inbound or outbound) I&#8217;ll be applying because that affects how the rules get written, specifically the source and destination parts.  For inbound traffic, the host in the DMZ will always be the source.</p>
<h3>The actual configuration</h3>
<p>To start the process I need to &#8220;create&#8221; a new ruleset.  To do this I give it a name (line 1).  Then I&#8217;ll add a description (Line 2) so that I&#8217;ll have clue as to what it does when I come back in a few months and look at it again.</p>
<p>Once the ruleset is created I can start to add individual rules by using the &#8220;modify&#8221; keyword to modify the ruleset. I start the first rule by specifying an action(Line 3), in this case it&#8217;s &#8220;accept&#8221; since we want to pass this particular traffic through.  Again I&#8217;ll add a description to this particular rule (Line 4) for allowing the OWA server to connect to the combined DC/Exchange 2003 server in the HQ LAN.   Next I&#8217;ll specify the packet source I want the rule to apply to(Line 5). In this case it&#8217;s the OWA server itself so I&#8217;ll use the IP address of the OWA server as the source.  Then I need to specify the destination (Line 6), the combined server, by IP address as well.</p>
<div class="codecolorer-container bash blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">set</span> firewall name DMZ Ruleset<br />
<span style="color: #000000; font-weight: bold;">set</span> firewall name DMZ-Ruleset description <span style="color: #ff0000;">&quot;Rule to allow OWA Server to communicate with DC/E2KX3 boxes&quot;</span><br />
<span style="color: #000000; font-weight: bold;">set</span> firewall name DMZ-Ruleset rule <span style="color: #000000;">1</span> action accept<br />
<span style="color: #000000; font-weight: bold;">set</span> firewall name DMZ-Ruleset rule <span style="color: #000000;">1</span> description <span style="color: #ff0000;">&quot;Allow OWA to HQ DC/E2K3&quot;</span><br />
<span style="color: #000000; font-weight: bold;">set</span> firewall name DMZ-Ruleset rule <span style="color: #000000;">1</span> <span style="color: #7a0874; font-weight: bold;">source</span> address 192.168.254.10<br />
<span style="color: #000000; font-weight: bold;">set</span> firewall name DMZ-Ruleset rule <span style="color: #000000;">1</span> destination address 192.168.2.10</div></td></tr></tbody></table></div>
<p>The second rule which allows OWA traffic to the DC/E2K3 server in the Remote LAN  differs from rule 1 only in the destination.</p>
<div class="codecolorer-container bash blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">set</span> firewall name DMZ-Ruleset rule <span style="color: #000000;">2</span> action accept<br />
<span style="color: #000000; font-weight: bold;">set</span> firewall name DMZ-Ruleset rule <span style="color: #000000;">2</span> description <span style="color: #ff0000;">&quot;Allow &nbsp;OWA to Remote DC/E2K3&quot;</span><br />
<span style="color: #000000; font-weight: bold;">set</span> firewall name DMZ-Ruleset rule <span style="color: #000000;">2</span> <span style="color: #7a0874; font-weight: bold;">source</span> address 192.168.254.10<br />
<span style="color: #000000; font-weight: bold;">set</span> firewall name DMZ-Ruleset rule <span style="color: #000000;">2</span> destination address 192.168.2.10</div></td></tr></tbody></table></div>
<p>The third rule, to allow RDP traffic to anything in the DMZ from the Home Lan, is a little bit different from the first two in that it&#8217;s one for which I a) specify a port and b) specify networks for the source and destination.  As before I start with the action (Line 1) and a description  (Line2). Then because I&#8217;m going to specify a port I also need to specify a protocol, here it&#8217;s TCP (Line3).  Because the source can be any machine in the network I specify a network (192.168.254.0) and netmask( 255.255.255.0  a.k.a /24).  I then add the port (Line 5). For the destination I specify the Home Lan network and appropriate netmask, 192.168.1.0/24  (Line 6).</p>
<div class="codecolorer-container bash blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">set</span> firewall name DMZ-Ruleset rule <span style="color: #000000;">3</span> action accept<br />
<span style="color: #000000; font-weight: bold;">set</span> firewall name DMZ-Ruleset rule <span style="color: #000000;">3</span> description <span style="color: #ff0000;">&quot;Allow RDP traffic back to Home LAN&quot;</span><br />
<span style="color: #000000; font-weight: bold;">set</span> firewall name DMZ-Ruleset rule <span style="color: #000000;">3</span> protocol tcp<br />
<span style="color: #000000; font-weight: bold;">set</span> firewall name DMZ-Ruleset rule <span style="color: #000000;">3</span> <span style="color: #7a0874; font-weight: bold;">source</span> address 192.168.254.0<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">24</span><br />
<span style="color: #000000; font-weight: bold;">set</span> firewall name DMZ-Ruleset rule <span style="color: #000000;">3</span> <span style="color: #7a0874; font-weight: bold;">source</span> port <span style="color: #000000;">3389</span><br />
<span style="color: #000000; font-weight: bold;">set</span> firewall name DMZ-Ruleset rule <span style="color: #000000;">3</span> destination address 192.168.1.0<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">24</span></div></td></tr></tbody></table></div>
<p>The fourth rule specifies an IP address for both the source and destination like rules 1 and 2, but also incorporates a port option like rule 3.  The only difference between Rules 4 and  5 is that the specified port changes.</p>
<div class="codecolorer-container bash blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">set</span> firewall name DMZ-Ruleset rule <span style="color: #000000;">4</span> action accept<br />
<span style="color: #000000; font-weight: bold;">set</span> firewall name DMZ-Ruleset rule <span style="color: #000000;">4</span> description <span style="color: #ff0000;">&quot;TMG HTTP to &nbsp;E2KX-HQ&quot;</span><br />
<span style="color: #000000; font-weight: bold;">set</span> firewall name DMZ-Ruleset rule <span style="color: #000000;">4</span> protocol tcp<br />
<span style="color: #000000; font-weight: bold;">set</span> firewall name DMZ-Ruleset rule <span style="color: #000000;">4</span> <span style="color: #7a0874; font-weight: bold;">source</span> address 192.168.254.20<br />
<span style="color: #000000; font-weight: bold;">set</span> firewall name DMZ-Ruleset rule <span style="color: #000000;">4</span> destination address 192.168.2.20<br />
<span style="color: #000000; font-weight: bold;">set</span> firewall name DMZ-Ruleset rule <span style="color: #000000;">4</span> destination port <span style="color: #000000;">80</span></div></td></tr></tbody></table></div>
<p>Rule 5</p>
<div class="codecolorer-container bash blackboard codecolorer-noborder" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">set</span> firewall name DMZ-Ruleset rule <span style="color: #000000;">5</span> action accept<br />
<span style="color: #000000; font-weight: bold;">set</span> firewall name DMZ-Ruleset rule <span style="color: #000000;">5</span> description <span style="color: #ff0000;">&quot;TMG HTTPS to &nbsp;E2KX-HQ&quot;</span><br />
<span style="color: #000000; font-weight: bold;">set</span> firewall name DMZ-Ruleset rule <span style="color: #000000;">5</span> protocol tcp<br />
<span style="color: #000000; font-weight: bold;">set</span> firewall name DMZ-Ruleset rule <span style="color: #000000;">5</span> <span style="color: #7a0874; font-weight: bold;">source</span> address 192.168.254.20<br />
<span style="color: #000000; font-weight: bold;">set</span> firewall name DMZ-Ruleset rule <span style="color: #000000;">5</span> destination address 192.168.2.20<br />
<span style="color: #000000; font-weight: bold;">set</span> firewall name DMZ-Ruleset rule <span style="color: #000000;">5</span> destination port <span style="color: #000000;">443</span></div></td></tr></tbody></table></div>
<h3>How I go about things</h3>
<p>Rather than entering all the rules at once, I like to commit each rule  to the running Vyatta configuration so that I can test it before I start the next rule.</p>
<p><img src="http://cars.lostroncos.org/wp-content/uploads/2010/03/032810_0720_Simulatinga18.png" alt="" /></p>
<p>Above I&#8217;ve create the first rule. Now to I need to actually apply the ruleset to the DMZ facing interface .  This is done using the set interfaces command similar to when I assign an IP Address to an interface.  In this case I&#8217;ll be assigning the ruleset to the eth1 ethernet interface for inbound traffic.  I can then run the show firewalls command  to verify its in effect.</p>
<p><img src="http://cars.lostroncos.org/wp-content/uploads/2010/03/032810_0720_Simulatinga19.png" alt="" /></p>
<p>Now I want do a simple test and ping the one box I should be able to reach as well as one I shouldn&#8217;t (on the Remote LAN). I do this by logging into the OWA server in the DMZ.</p>
<p><img src="http://cars.lostroncos.org/wp-content/uploads/2010/03/032810_0720_Simulatinga20.png" alt="" /></p>
<p>Because I&#8217;m paranoid and want to make sure it&#8217;s a valid test, I&#8217;ll try to ping both the HQ and Remote servers from my desktop PC as well.  I would expect both of these pings to succeed.</p>
<p><img src="http://cars.lostroncos.org/wp-content/uploads/2010/03/032810_0720_Simulatinga21.png" alt="" /></p>
<p>And they&#8217;re both successful. Just for good measure I&#8217;ll try to ping the OWA server in the DMZ from my desktop as well.</p>
<p><strong><span style="color: #ff0000;">Note &#8211; Because I&#8217;ve chose to take a simplistic approach to my firewalls it helps to understand what&#8217;s actually happening.  If I ping the OWA server from my desktop  I expect the ping to fail as show below.</span></strong></p>
<p><strong><span style="color: #ff0000;"> </span></strong><strong><span style="color: #ff0000;"><img src="http://cars.lostroncos.org/wp-content/uploads/2010/03/032810_0720_Simulatinga22.png" alt="" /></span></strong></p>
<p><strong><span style="color: #ff0000;">What is happening here is that because there isn&#8217;t an outbound rule on dmz-rtr&#8217;s DMZ interface the packet from my PC to the OWA server is actually making it to the OWA server.  It&#8217;s the returning traffic that&#8217;s getting blocked by the firewall.</span></strong></p>
<p><a href="http://cars.lostroncos.org/wp-content/uploads/2010/03/032810_0720_Simulatinga17.png"> <strong><span style="color: #ff0000;"><img class="alignnone size-full wp-image-440" title="032810_0720_Simulatinga17.png" src="http://cars.lostroncos.org/wp-content/uploads/2010/03/032810_0720_Simulatinga17.png" alt="032810_0720_Simulatinga17.png" width="272" height="436" /></span></strong></a></p>
<p><strong><span style="color: #ff0000;">In a production environment you&#8217;d probably want to control the outbound traffic to the DMZ as well as traffic coming in from it.</span></strong></p>
<p>I can test the first and second rules using a couple of different methods. Since these rules govern traffic from the OWA server to the DCs simply trying to join it to the domain would be a good test if it hasn&#8217;t already been joined. If it has ensuring that I can still log on to the domain from it would tell me things seem to be working. Some more manual options would include ping, nslookup against the DNS server on the DC, an LDAP browser etc. The third rule I can test by trying to connect to the server via the Terminal Services client from my desktop PC.   The fourth and fifth rules I can simply test using a browser.</p>
<h2>Summary</h2>
<p>With this initial set of rules in place I now have my two internal networks and DMZ connected together with a  rudimentary firewall in place. Though I&#8217;ve taken some liberties with how laxly I&#8217;ve put the firewall together it sufficient to have the end result that I&#8217;ll want as I go through this process of migrating from Exchange 2003 to 2010.  In the next entry I&#8217;ll add the &#8220;Internet&#8221; and another simple firewall configuration. I&#8217;ll also need to further modify the firewall ruleset on <strong><em>rtr-dmz</em></strong> for communication between the DMZ and &#8220;Internet&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://cars.lostroncos.org/2010/03/27/simulating-a-more-interesting-environment-with-vyatta-and-vmware-pt-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nagios ESX3i Scripts and ESX4i</title>
		<link>http://cars.lostroncos.org/2009/06/29/nagios-esx3i-scripts-and-esx4i/</link>
		<comments>http://cars.lostroncos.org/2009/06/29/nagios-esx3i-scripts-and-esx4i/#comments</comments>
		<pubDate>Mon, 29 Jun 2009 22:57:09 +0000</pubDate>
		<dc:creator>cars</dc:creator>
				<category><![CDATA[NAgios]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[monitoring]]></category>
		<category><![CDATA[3i]]></category>
		<category><![CDATA[4i]]></category>
		<category><![CDATA[ESX]]></category>
		<category><![CDATA[esx3i]]></category>
		<category><![CDATA[esx4i]]></category>
		<category><![CDATA[esxi]]></category>

		<guid isPermaLink="false">http://cars.lostroncos.org/?p=193</guid>
		<description><![CDATA[<p>This is just an update, but the scripts I wrote for use with Nagios and ESX3i seem to work just fine with ESX4i (at least in my home lab environment using Dell Poweredge 2850s).</p>
]]></description>
			<content:encoded><![CDATA[<p>This is just an update, but the <a href="http://cars.lostroncos.org/2008/03/07/updated-esx-3i-scripts-for-nagios/">scripts I wrote for use with Nagios and ESX3i</a> seem to work just fine with ESX4i (at least in my home lab environment using Dell Poweredge 2850s).</p>
]]></content:encoded>
			<wfw:commentRss>http://cars.lostroncos.org/2009/06/29/nagios-esx3i-scripts-and-esx4i/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
