<?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>nat0</title>
	<atom:link href="http://nat0.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://nat0.net</link>
	<description>a blog about networking, Cisco-solutions and security</description>
	<lastBuildDate>Mon, 11 Mar 2013 14:39:08 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4</generator>
		<item>
		<title>ASA Nat behavior with multiple public ip ranges changed after upgrade</title>
		<link>http://nat0.net/asa-nat-behavior-with-multiple-public-ip-ranges-changed-after-upgrade/</link>
		<comments>http://nat0.net/asa-nat-behavior-with-multiple-public-ip-ranges-changed-after-upgrade/#comments</comments>
		<pubDate>Mon, 11 Mar 2013 14:39:08 +0000</pubDate>
		<dc:creator>jimmy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://nat0.net/?p=1855</guid>
		<description><![CDATA[I recently upgraded a customer ASA from v8.2 to 9.0 and while doing that I found out that some (yeah!) of the static NAT translations didn´t work after the upgrade. Skilled ASA-upgraders knows that this happens a lot. That´s why we (yes I hereby include myself in the ´skilled´-group) more often than not start our [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>I recently upgraded a customer ASA from v8.2 to 9.0 and while doing that I found out that some (yeah!) of the static NAT translations didn´t work after the upgrade. Skilled ASA-upgraders knows that this happens a lot. That´s why we (yes I hereby include myself in the ´skilled´-group) more often than not start our post-upgrade with a ´clear configure nat´and rebuild everything from scratch (and paper notes). I did the same this time, with the only different that some services wasn´t reachable after me finishing my work.</p>
<p>&nbsp;</p>
<p>It took me a while to find out that the common thing with the non-working translations was that they were using one of the public subnets the ISP had assigned to the customer while all translations that used another public  ip subnet worked flawlessly. I isolated the problem by changing IP of one of the nat-statements to another IP in the other range and it ofcourse worked!</p>
<p>&nbsp;</p>
<p>So, what was this all about? I know from one of the late friday nights when I read the &#8216;ASA CLI configuration guide&#8217; (it´s great, everyone should read it!) that Cisco recommends what when using multiple public ip ranges the ISP should route the secondary subnet to the ASA interface address.</p>
<p>&nbsp;</p>
<p>But, I also know several customers that doesn´t follow these guidelines for historical reasons. Instead the ISP puts the second subnet as a secondary address on the interface facing the customer. And it has worked great, for years!</p>
<p>&nbsp;</p>
<p>Until now. Thanks to a colleague I got aware of the fact that Cisco in version 8.4.3 made the ARP-behaviour of non-connected subnets more restricted. There was a command added &#8216;<strong>arp permit-nonconnected</strong>&#8216;. This is documented <a href="https://supportforums.cisco.com/thread/2133340">here</a> and <a href="http://tools.cisco.com/Support/BugToolKit/search/getBugDetails.do?method=fetchBugDetails&amp;bugId=CSCty95468&amp;Submit=Search">here</a>.</p>
<p>&nbsp;</p>
<p><a href="http://nat0.net/wp-content/uploads/2013/03/ISP-Secondary.png"><img class="alignnone size-full wp-image-1856" title="ISP Secondary" src="http://nat0.net/wp-content/uploads/2013/03/ISP-Secondary.png" alt="" width="600" /></a></p>
<p>&nbsp;</p>
<p>So, what is the recommendations? I recommend:</p>
<p>&nbsp;</p>
<ol>
<li>If possible, do not use more than one subnet range of public ip addresses. If you do and it is because of a migration-from-one-range-to-another-has-stuck-halfways, please finish the work.</li>
<li>Make sure that the ISP does not configure the ranges as secondaries (See above). If they need to change config, ask them to do it during a maintenance window and change the firewall configuration accordingly, at the same time.</li>
<li>If the ISP uses secondaries, add the command &#8216;arp permit-nonconnected&#8217; to the configuration.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://nat0.net/asa-nat-behavior-with-multiple-public-ip-ranges-changed-after-upgrade/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cisco ASA Anyconnect licensing for dummies</title>
		<link>http://nat0.net/cisco-asa-anyconnect-licensing-for-dummies/</link>
		<comments>http://nat0.net/cisco-asa-anyconnect-licensing-for-dummies/#comments</comments>
		<pubDate>Fri, 01 Mar 2013 22:26:07 +0000</pubDate>
		<dc:creator>jimmy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://nat0.net/?p=1845</guid>
		<description><![CDATA[The picture below should be self-explaining. Click it for a larger version. &#160; The text below is just for Google indexing purposes, please ignore. Do you need to use the clientless SSLVPN portal? Anyconnect Essentials Licenses will be fine. L-ASA-AC-E-55xx= where xx is the hardware model. Example: L-ASA-AC-E-5510= for an ASA5510. This will give you [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>The picture below should be self-explaining. Click it for a larger version.</p>
<p><a href="http://nat0.net/wp-content/uploads/2013/03/ASA-licensing1.jpg"><img class="alignnone  wp-image-1846" title="ASA-licensing" src="http://nat0.net/wp-content/uploads/2013/03/ASA-licensing1.jpg" alt="" width="600" height="416" /></a></p>
<p>&nbsp;</p>
<p>The text below is just for Google indexing purposes, please ignore. <img src='http://nat0.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Do you need to use the clientless SSLVPN<br />
portal?</p>
<p>Anyconnect<br />
Essentials<br />
Licenses will be fine.<br />
L-ASA-AC-E-55xx=</p>
<p>where xx is the hardware model.</p>
<p>Example: L-ASA-AC-E-5510= for an ASA5510.</p>
<p>This will give you Y concurrent any connect sessions where Y is the maximum number supported by the hardware platform. For example 250 for an ASA5510.</p>
<p>You must have<br />
Anyconnect Premium licenses.<br />
Decide how many concurrent sessions (Anyconnect + portal) you need to support.</p>
<p>The fixed options are 10, 25, 50, 100, 250, 500, 750, 1000, 2500, 5000 and 10000.</p>
<p>Note! you cannot add more licences than the hardware supports! (for example 250 for a ASA 5510).</p>
<p>Have you added Premium licenses to the firewall before?</p>
<p>Buy licenses L-ASA-SSL-xx-yy=<br />
where xx is the current number of premium licenses in the box and yy is the number of licenses you want to have.</p>
<p>Example: L-ASA-SSL-100-250= to upgrade from 100 to 250 concurrent sessions.</p>
<p>Note! This license is the same for all hardware platforms.</p>
<p>Need for Advanced Endpoint Assessment?</p>
<p>Not sure? The answer is probably No.</p>
<p>Buy licenses L-ASA5500-SSLxx<br />
where xx is the number of concurrent sessions to support.</p>
<p>Example: L-ASA5500-SSL10 or L-ASA5500-SSL2500.</p>
<p>Add ASA-ADV-END-SEC=</p>
<p>Need anyconnect support for mobile devices like iPhones, iPads, Android-devices?</p>
<p>Add L-ASA-AC-M-55xx=<br />
where xx is the hardware model.</p>
<p>Example: L-ASA-AC-M-5510 for an ASA5510.</p>
<p>No matter if you use Premium or Essentials licensing, mobile devices will also be supported and will be included in the overall license counting of Essentials/Premium limits.</p>
]]></content:encoded>
			<wfw:commentRss>http://nat0.net/cisco-asa-anyconnect-licensing-for-dummies/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Cisco CLI access using Radius and ISE</title>
		<link>http://nat0.net/cisco-cli-access-using-radius-and-ise/</link>
		<comments>http://nat0.net/cisco-cli-access-using-radius-and-ise/#comments</comments>
		<pubDate>Thu, 14 Feb 2013 08:20:44 +0000</pubDate>
		<dc:creator>jimmy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://nat0.net/?p=1800</guid>
		<description><![CDATA[When releasing Cisco ISE as a &#8220;new ACS&#8221; questions quickly raised regarding the fact that there is no Tacacs+ support in ISE. With v1.0 of ISE Cisco said &#8220;Tacacs+ will come in a future version&#8221; but we haven´t seen it in v1.1, not in 1.1.1 and not in 1.2 either. Will it be added to [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>When releasing Cisco ISE as a &#8220;new ACS&#8221; questions quickly raised regarding the fact that there is no Tacacs+ support in ISE. With v1.0 of ISE Cisco said &#8220;Tacacs+ will come in a future version&#8221; but we haven´t seen it in v1.1, not in 1.1.1 and not in 1.2 either. Will it be added to v2.0? Maybe&#8230;</p>
<p>&nbsp;</p>
<p>So, why is Tacacs+ so important? First of all we need to look at a comparison between Tacacs+ and Radius.  The similarities between the two protocols are many. Both are are authentication protocols with the purpose of validating user identity (authentication), giving differentiated access (authorisation) and logging access (accounting). However, there are also large differences between the protocols which can be read <a href="http://www.cisco.com/en/US/tech/tk59/technologies_tech_note09186a0080094e99.shtml">here</a>.</p>
<p>&nbsp;</p>
<p>Historically most AAA implementations uses Radius for end user access, remote access to networks and 802.1x while the primary purpose for Tacacs+ is for device administration. When logging into a Cisco (it must be a Cisco-device since Tacacs+ is Cisco proprietary) device Tacacs+ has additional functions that Radius lacks. The most obvious difference is the command authorization function of Tacacs+ which makes it possible for the managed Cisco-device to send each issued command  (for example ´show run´) to the authentication server (ACS) and wait for respons before allowing the command to be executed or not.</p>
<p>&nbsp;</p>
<p>So, when migrating from ACS to ISE, Tacacs+ can no longer be used and there is no way to allow or disallow specific command on a Cisco device.</p>
<p>&nbsp;</p>
<p>In my opinion Tacacs+ is used for device administration authentication because &#8220;we have always done it that way&#8221;. But, command authorization is rarely implemented. And in most cases when command authorization is in used, the ACS policy just saids &#8220;these users are allowed to do all commands&#8221; and &#8220;these users are not allowed to access the device at all.&#8221;.</p>
<p>&nbsp;</p>
<p>So, what CAN we do with Radius based device administration authentication? This is possible:</p>
<ul>
<li>We can make each user allowed exec (CLI) access or not.</li>
<li>We can give each user session a specific privilege level.</li>
<li>We can do accounting to log which user accesses each device when.</li>
</ul>
<div>And if we configure ISE to send a specific privilege level (0-15) to the device, we can also move commands to specific privilege levels and by that give access to specific commands for specific users.</div>
<div></div>
<div>The configuration example I provide below is based on a Cisco-switch that uses Radius to authenticate exec (CLI) logins. By sending back a privilege level (in this case 7 or 15) to the device depending on which group the user belongs to, we make the users having different access.</div>
<div></div>
<div>What I do NOT do in this example is moving commands to specific privilege levels. I also do NOT authenticate the user from an external source (i.e Active Directory) but the users and groups are created locally on ISE.</div>
<div></div>
<div>The devices uses are a Cisco ISE (VM) v1.1.1 and a Cisco 2960 switch.</div>
<div></div>
<h4>Configuration of the switch</h4>
<p>Below are the configuration changes I have made to a switch in production environment. I have removed all non-relevant configuration. The goal with the configuration is to authenticate access using Radius and having a local authentication as a fallback. This means that if the ISE is non-responsive it is possible to login with the locally created user after a short timeout.</p>
<p>&nbsp;</p>
<p><code><br />
username jimmy password 0 MyLocalPassword<br />
</code><br />
A local username/password is created for fallback.<br />
<code><br />
aaa new-model<br />
</code><br />
This enables aaa configuration commands in the device<code><br />
aaa authentication login default none<br />
</code><br />
This command is important. It states that if not configured elsewhere no login is being uses. Practically this allow us to access the device from console no matter what.<br />
<code><br />
aaa authentication login VTY group radius local<br />
</code><br />
A new authentication list &#8220;VTY&#8221; uses radius primarily and &#8220;local&#8221; as fallback.<br />
<code><br />
aaa authorization exec default none<br />
</code><br />
The same for authorization. By default we don´t do it.<br />
<code><br />
aaa authorization exec VTY group radius local<br />
</code><br />
A new authorization list &#8220;VTY&#8221; uses radius and local.<br />
<code><br />
aaa accounting exec default start-stop group radius<br />
</code><br />
For each cli login (exec) we send an radius accounting packet. &#8220;start-stop&#8221; means that we also send a note when the user logs out.<code><br />
</code><br />
<code><br />
radius-server host 192.168.1.106 auth-port 1645 acct-port 1646 key cisco<br />
radius-server source-ports 1645-1646<br />
</code><br />
We define the radius server and the key to use to communicate with ISE.<br />
!<br />
<code><br />
line con 0<br />
line vty 0 15<br />
authorization exec VTY<br />
login authentication VTY<br />
</code></p>
<p>Specific on the vty lines (telnet/ssh access) we apply the authentication and exec authorization lists above. Note that this does not apply to con(sole) which still uses the default lists that does &#8220;none&#8221; authentication/authorization.</p>
<h5>Configuration of Cisco ISE</h5>
<p>&nbsp;</p>
<p>Below are the steps to configure Cisco ISE. The screen dumps below are from a newly installed fresh ISE config. In case of an in-production ISE please make sure that your changes does not impact existing functionality!</p>
<p>&nbsp;</p>
<p>First step is to configure Radius. We define a new device, gives it a name, enter its ip address and the same radius key that is defined in the device (See above). <img class="alignnone  wp-image-1818" title="ISE_Create_device" src="http://nat0.net/wp-content/uploads/2013/02/ISE_Create_device.jpg" alt="" width="567" height="502" /></p>
<p>&nbsp;</p>
<p>Next step is to create a device group. The purpose is to give all device that will use this configuration a specific attribute to use in the policy created later. By doing this we make sure that is is only devices in this device group &#8220;Managed Cisco-switch&#8221; that are allowed to use the authentication policy. We create a new device group and adds our switch to the group.</p>
<p><img class="alignnone  wp-image-1819" title="ISE_Create_device_group" src="http://nat0.net/wp-content/uploads/2013/02/ISE_Create_device_group.jpg" alt="" width="463" height="206" /></p>
<p>&nbsp;</p>
<p>Next step is to create a policy element called &#8220;Allowed protocols&#8221;. Exec logins in cisco-devices uses the PAP/Ascii protocol and by creating a policy only allowing this protocol we minimize the risk of our policy (not yet created) conflicting with other policies.</p>
<p><a href="http://nat0.net/wp-content/uploads/2013/02/ISE_Create_allowed_protocol.jpg"><img class="alignnone  wp-image-1817" title="ISE_Create_allowed_protocol" src="http://nat0.net/wp-content/uploads/2013/02/ISE_Create_allowed_protocol.jpg" alt="" width="529" height="465" /></a></p>
<p>&nbsp;</p>
<p>Now is the time to create the authentication policy. This is the first step in the login authentication process and the authentication policies differentiates different login sequences. This policy called &#8220;Cisco CLI-access&#8221; simply states that&#8221;if the device is in our group &#8216;Managed Cisco-switch&#8217; and the radius NAS-port is &#8216;Virtual&#8217; we allow only the PAP-protocol and authenticate the login by using the Internal Users database.</p>
<p>&nbsp;</p>
<p>The &#8216;Radius:NAS-Port-Type=Virtual&#8217; means &#8216;only for cli login&#8217; and is a precaution to not interfere with other authentications like 802.1x and RAS/Dialin.<img class="alignnone  wp-image-1812" title="ISE_Authentication_policy" src="http://nat0.net/wp-content/uploads/2013/02/ISE_Authentication_policy.jpg" alt="" width="632" height="316" /><img class="alignnone  wp-image-1813" title="ISE_Authentication_policy_closeup" src="http://nat0.net/wp-content/uploads/2013/02/ISE_Authentication_policy_closeup.jpg" alt="" width="331" height="140" /></p>
<p>&nbsp;</p>
<p>Now we have configured everything that has to do with the authentication process. Next step is to configure authorization.We create 2 different authorization policy results called &#8220;Shell_priv_15&#8243; and &#8220;Shell_priv_7&#8243;. And here is the secret behind all this: the policies sends either the Cisco AV-pair &#8220;shell:priv-lvl=15&#8243; or &#8220;shell:priv-lvl=7&#8243; to give different privilege level access. Also we send &#8220;Radius:Service Type=Login&#8221;.</p>
<p><img class="alignnone  wp-image-1815" title="ISE_Author_profile_15" src="http://nat0.net/wp-content/uploads/2013/02/ISE_Author_profile_15.jpg" alt="" width="563" height="389" /><img class="alignnone  wp-image-1814" title="ISE_Author_profile_7" src="http://nat0.net/wp-content/uploads/2013/02/ISE_Author_profile_7.jpg" alt="" width="563" height="389" /></p>
<p>&nbsp;</p>
<p>Now we create an authorization policy putting it all together. The rule states that &#8220;if user is member of the CiscoCLIUsers-group we use the authorization profile Shell_priv_15 (and sends the radius attributes defined in that)&#8221; and the same for Lvl7CLIUsers members.<img class="alignnone  wp-image-1816" title="ISE_Authorization_policy" src="http://nat0.net/wp-content/uploads/2013/02/ISE_Authorization_policy.jpg" alt="" width="811" height="338" /></p>
<p>&nbsp;</p>
<p>We also need to create the two different user groups and 2 users, on member of each group. Don´t forget to enter passwords for each user.<img class="alignnone  wp-image-1820" title="ISE_Create_Identity_group" src="http://nat0.net/wp-content/uploads/2013/02/ISE_Create_Identity_group.jpg" alt="" width="503" height="261" /><img class="alignnone  wp-image-1821" title="ISE_Create_users" src="http://nat0.net/wp-content/uploads/2013/02/ISE_Create_users.jpg" alt="" width="733" height="239" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Now everything is in place and a CLI login to the switch prooves wanted functionality.</p>
<p>&nbsp;</p>
<p><code><br />
User Access Verification</p>
<p>Username: CLIuser1</p>
<p>Password:</p>
<p>sw1#sh pri<br />
sw1#sh privilege<br />
Current privilege level is 15<br />
sw1#<br />
sw1#exit<br />
Connection closed by foreign host.<br />
macse00372:~ jimmy$ telnet 192.168.1.6<br />
Trying 192.168.1.6...<br />
Connected to 192.168.1.6.<br />
Escape character is '^]'.<br />
User Access Verification</p>
<p>Username: RestrictedCLIuser1</p>
<p>Password:</p>
<p>sw1#sh priv<br />
sw1#sh privilege<br />
Current privilege level is 7<br />
sw1#<br />
</code><br />
&nbsp;</p>
<p>So the user CLIuser1 gets privilege level 15 and user RestrictedCLIuser1 will only get privilege level 7.</p>
<p>&nbsp;</p>
<p>Finally, how does this look like in the ISE logs? If we look into the Live Authentications log we see the that the user CLIuser1 is successfully authenticated (green line) and that the Authorization profile Shell_priv_15 was applied. The same goes for the other users login. Unfortunately not in the screen dump below, though. <img src='http://nat0.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>&nbsp;</p>
<p><a href="http://nat0.net/wp-content/uploads/2013/02/ISE_Live_Authentications.png"><img class="alignnone  wp-image-1832" title="ISE_Live_Authentications" src="http://nat0.net/wp-content/uploads/2013/02/ISE_Live_Authentications.png" alt="" width="687" height="168" /></a></p>
<p>&nbsp;</p>
<p>Also, since we enabled radius accounting for exec on start-stop, an accounting packet is sent to ISE on every successfull login and logout of the switch CLI. This is logged and can be seen in the report &#8220;RADIUS Accounting&#8221; as seen below.</p>
<p>&nbsp;</p>
<p><a href="http://nat0.net/wp-content/uploads/2013/02/ISE_Report_AAA_Accounting.png"><img class="alignnone size-full wp-image-1833" title="ISE_Report_AAA_Accounting" src="http://nat0.net/wp-content/uploads/2013/02/ISE_Report_AAA_Accounting.png" alt="" width="1166" height="501" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><a href="http://nat0.net/wp-content/uploads/2013/02/ISE_Report_AAA_Accounting2.png"><img class="alignnone size-full wp-image-1834" title="ISE_Report_AAA_Accounting2" src="http://nat0.net/wp-content/uploads/2013/02/ISE_Report_AAA_Accounting2.png" alt="" width="1134" height="462" /></a></p>
<p>&nbsp;</p>
<p>This post prooves that AAA Radius for Cisco device administration serves as a good alternative to Tacacs+. However there is one major drawback with doing what I explained above: In order to allow different Authorization profiles to access different sets of CLI commands the commands needs to be &#8220;moved&#8221; to different privilegels. In the example above, even if the RestrictedCLIUser1 gets privilege level 7, there are no command available on that level. By default there are only commands assigned to privilege level 1 (the commands available at the &gt; prompt) and level 15 (the commands available at the # prompt). And moving commands to different privilege levels is a local configuration in each device (in comparison to Tacacs+ where we could put the &#8221; command policy&#8221; central on the ACS&#8221;). The drawbacks with this are obvious:</p>
<p>&nbsp;</p>
<ul>
<li>Since the configuration is local it needs to be managed on each device which is messy without some kind of management tool that makes all device´s configurations consistent.</li>
<li>The commands for moving commands to privilege levels are messy and tricky to configure. This is an obvious for an upcoming post. Stay tuned! <img src='http://nat0.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://nat0.net/cisco-cli-access-using-radius-and-ise/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Cisco Live &#8211; Management of ASA CX firewalls</title>
		<link>http://nat0.net/cisco-live-management-of-asa-cx-firewalls/</link>
		<comments>http://nat0.net/cisco-live-management-of-asa-cx-firewalls/#comments</comments>
		<pubDate>Sat, 02 Feb 2013 10:19:02 +0000</pubDate>
		<dc:creator>jimmy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://nat0.net/?p=1792</guid>
		<description><![CDATA[There is a lot of buzz around Cisco Prime. It&#8217;s obvious that Cisco put a lot of effort and money in this product. Primecisc will eventually be a whole suite of management tools under the same umbrella and my gut feeling is that this sooner and later will replace the entire Cisco Works suite. &#160; [...]]]></description>
			<content:encoded><![CDATA[<p></p><div>There is a lot of buzz around Cisco Prime. It&#8217;s obvious that Cisco put a lot of effort and money in this product. <a href="http://www.cisco.com/en/US/products/ps12239/index.html">Prime</a>cisc will eventually be a whole suite of management tools under the same umbrella and my gut feeling is that this sooner and later will replace the entire Cisco Works suite.</div>
<p>&nbsp;</p>
<div></div>
<div></div>
<div>As a security guy I&#8217;ve done a few notes though. When it comes to management of <a href="http://www.cisco.com/en/US/products/ps12521/index.html">Cisco ASA CX</a>, the firewall will still needs to be managed from ASDM. At the same time the CX function AVC (application visibility and control) is managed from <a href="http://www.cisco.com/en/US/products/ps12635/index.html">Prime Security Manager</a> (PRSM, pronounced &#8216;prism&#8217;, which by the way is not the same product as &#8216;Prime Infrastructure&#8217;). This means that the box had 2 different parts that are managed independent with different tools. The only integration between these sides is that the object groups in the firewall can be sucked into PRSM and re-used by the CX policies. That is neat.</div>
<p>&nbsp;</p>
<div></div>
<div></div>
<div>But what happens if You manage  your firewalls with <a href="http://www.cisco.com/en/US/products/ps6498/index.html">CSM</a> (Cisco Security Manager) and the object-groups are modified from PRSM? Let me guess: &#8216;out of band changes&#8217;-complaints from CSM.</div>
<p>&nbsp;</p>
<div></div>
<div></div>
<div>however, this is still a hypothetic issue since the current version of CSM does not support ASA code version 9.1 (which is required for CX). So currently if you have a ASA CX you have to manage the firewall from ASDM and the CX-stuff from PRSM. This is of course a temporary issue since there will probably be a new version of CSM out that supports ASA 9.1. (My guess is that it will be availably roughly when ASA 9.2 is released&#8230; *Grin*)</div>
<p>&nbsp;</p>
<div></div>
<div></div>
<div>With AVC in ASA, the firewall is a serious competitor to Checkpoint both when it comes to speed, functionality and price, and it is still my favorite firewall. And when migrating to a centralized management tool that can also manage the rest of the network (I see in a future that PRSM will be part of the general Prime software. I sure hope so!), Cisco ASA has a major advance compared to Checkpoint (which will always be &#8220;just a firewall&#8221;).</div>
<p>&nbsp;</p>
<div></div>
<div></div>
<div>But until Cisco has solved the management of ASA CX, I think that that most customers will implement AVC and web filtering in another way than using CX. Probably with Cloud Web Security (scansafe) or Scansafe WSA, which will both add antimalware/virus-scanning of web traffic, which is by the way not available in CX. If I stare into my magic glass ball I see a PRSM that manages everything in ASA. Beyond that PRSM will be part of Prime Infrastructure and CSM will fade away the same way as CS-MARS did. But my magic glass ball has a track record not without remarks. <img src='http://nat0.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </div>
<p>&nbsp;</p>
<div></div>
<div>Oh by the way! For everyone that plans to buy a ASA &#8211; don&#8217;t hesitate, it is great! And when you do, choose one of the X-models that supports CX. Then you will be able to add CX functions with a license and subscriptions later on. A X-ASA without CX is the same as a &#8216;non-X ASA&#8217;, only faster and cheaper!</div>
]]></content:encoded>
			<wfw:commentRss>http://nat0.net/cisco-live-management-of-asa-cx-firewalls/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cisco ASA 9.1 released</title>
		<link>http://nat0.net/cisco-asa-9-1-released/</link>
		<comments>http://nat0.net/cisco-asa-9-1-released/#comments</comments>
		<pubDate>Fri, 07 Dec 2012 10:41:21 +0000</pubDate>
		<dc:creator>jimmy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://nat0.net/?p=1788</guid>
		<description><![CDATA[Without any prior notice Cisco released software version 9.1 for the ASA firewall. &#160; The only new feature in 9.1 is CX support for other X-models than 5585-X. This probably means that it very soon will be possible to run CX-functionalities in all models from 5512-X up to 5585-X. I say ´soon´because still there doesn´t [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Without any prior notice Cisco released software version 9.1 for the ASA firewall.</p>
<p>&nbsp;</p>
<p>The only <a href="http://www.cisco.com/en/US/docs/security/asa/asa91/release/notes/asarn91.html#wp667967">new feature</a> in 9.1 is CX support for other X-models than 5585-X. This probably means that it very soon will be possible to run CX-functionalities in all models from 5512-X up to 5585-X. I say ´soon´because still there doesn´t seem to be any licenses for this available for purchase. I hold my breath while waiting!</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://nat0.net/cisco-asa-9-1-released/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Perverted NAT</title>
		<link>http://nat0.net/perverted-nat/</link>
		<comments>http://nat0.net/perverted-nat/#comments</comments>
		<pubDate>Tue, 06 Nov 2012 11:55:27 +0000</pubDate>
		<dc:creator>jimmy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://nat0.net/?p=1769</guid>
		<description><![CDATA[This is probably the most perverted form of NAT I have ever done. &#60;flamebait&#62; But, it serves as a proof that with proper NAT there is no need for routing &#60;/flamebait&#62; &#160; Scope: There is a Cisco ASA running code 8.3+ that divides my home network 192.168.1.0/24 from my lab networks. My home devices uses [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>This is probably the most perverted form of NAT I have ever done. &lt;flamebait&gt; But, it serves as a proof that with proper NAT there is no need for routing &lt;/flamebait&gt;</p>
<p>&nbsp;</p>
<p>Scope:</p>
<p>There is a Cisco ASA running code 8.3+ that divides my home network 192.168.1.0/24 from my lab networks. My home devices uses 192.168.1.1 as default gateway and has no other routes configured. Behind the Lab-firewall there is a host with dual NIC:s. The host is connected to my Lab-wirewall via a point2point-network 10.51.1.0/30 and has a default gateway pointing elsewhere.</p>
<p><a href="http://nat0.net/wp-content/uploads/2012/11/121106_perverted_nat_transparent.png"><img class="alignnone  wp-image-1777" title="121106_perverted_nat_transparent" src="http://nat0.net/wp-content/uploads/2012/11/121106_perverted_nat_transparent.png" alt="" width="335" height="470" /></a></p>
<p>Goal:</p>
<p>I want the lab-computer to reach my vSphere-server 192.168.1.112:444 and I do also want any computers on my home network to remote control the lab-computer with vnc. I do not want to add extra routes anywhere.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Solution:<br />
<code><br />
object network vCenter<br />
host 192.168.1.112<br />
object network pod1inside<br />
host 10.51.1.2<br />
!<br />
object service RDP<br />
service tcp destination eq 3389<br />
object service RDP_13389<br />
service tcp destination eq 13389<br />
!<br />
object service VNC<br />
service tcp destination eq 5900<br />
object service VNC_5901<br />
service tcp destination eq 5901<br />
object service vSphere<br />
service tcp destination eq 444<br />
!<br />
nat (pod1_151,inside168) source static pod1inside interface destination static interface vCenter service vSphere vSphere<br />
!<br />
nat (inside168,pod1_151) source dynamic any interface destination static interface pod1inside service VNC_5901 VNC<br />
</code><br />
The above configuration makes it possible to:</p>
<p>&nbsp;</p>
<ul>
<li>run the vSphere-client on the lab-computer and connect to 10.51.1.1:444. The source-address of the packet will be translated to the interface-address of inside168 (192.168.1.2) and the destination address will be translated to 192.168.1.112.<a href="http://nat0.net/wp-content/uploads/2012/11/121106_perverted_nat_vcenter_example_transparent.png"><img class="alignnone  wp-image-1778" title="121106_perverted_nat_vcenter_example_transparent" src="http://nat0.net/wp-content/uploads/2012/11/121106_perverted_nat_vcenter_example_transparent.png" alt="" width="335" height="470" /></a></li>
</ul>
<p>&nbsp;</p>
<ul>
<li>run VNC viewer on any computer on the 192.168.1.0/24-network and connect to 192.168.1.2:5901. The source address of the packet will be translated to the interface address of pod1_151 (10.51.1.1), the destination address will be translated to 10.51.1.2 and the destination port will be translated from 5901 to 5900.</li>
</ul>
<p><a href="http://nat0.net/wp-content/uploads/2012/11/121106_perverted_nat_vnc_example_transparent2.png"><img class="alignnone  wp-image-1784" title="121106_perverted_nat_vnc_example_transparent2" src="http://nat0.net/wp-content/uploads/2012/11/121106_perverted_nat_vnc_example_transparent2.png" alt="" width="308" height="241" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://nat0.net/perverted-nat/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cisco ASA v9.0 software released!</title>
		<link>http://nat0.net/cisco-asa-v9-0-software-released/</link>
		<comments>http://nat0.net/cisco-asa-v9-0-software-released/#comments</comments>
		<pubDate>Mon, 05 Nov 2012 14:41:40 +0000</pubDate>
		<dc:creator>jimmy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://nat0.net/?p=1753</guid>
		<description><![CDATA[The long awaited 9.0 software for Cisco ASA firewall is now released and available for download from cisco.com. Here is a short list of the most obvious new features: Scansafe integration From now on there is built-in support for Cisco Cloud Web Security (formerly known as ScanSafe). Up until now the any support in ASA [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>The long awaited 9.0 software for Cisco ASA firewall is now released and <a href="http://www.cisco.com/cisco/software/navigator.html?mdfid=279513386&amp;i=rm">available</a> for download from cisco.com. Here is a short list of the most obvious new features:</p>
<h2>Scansafe integration</h2>
<p>From now on there is built-in support for Cisco Cloud Web Security (formerly known as <a href="http://www.scansafe.com">ScanSafe</a>). Up until now the any support in ASA to redirect outbound web traffic to a ScanSafe-tower was to use destination NAT, which had some obvious limitations.</p>
<p>Now you create a policy-map that specifies interresting traffic with an ACL (which for example specified all web-traffic sourced from your internal networks) and the ASA automatically sends the traffic to Scansafe. In order to do that you have to specify a group ID as well as the hostname of one or two scansafe towers.</p>
<p>Together with IBFW (identity based firewall) there can be an AD-integration which gives group membership and other AD-parameters in the configuration GUI of Scansafe. This integration gives the ability to:</p>
<ol>
<li>Filter outbound web traffic based on web category so that the finance-department (members of that AD-group) are allowed to access banking sites, students are allowed to access facebook but not facebook games and so on.</li>
<li>Automatically scan all web traffic to/from your organisation for viruses/malwars/trojans.</li>
<li>Automatically block traffic to the darkest corener of internet by using the bulit-in<a href="http://www.senderbase.org"> web reputation classification</a> in Scansafe which is updated 24/7/365.</li>
</ol>
<p>&nbsp;</p>
<h2>Clustering</h2>
<p>This is probably the one single feature that is most wanted and longed for! In previous versions, the only way to load-share traffic between multiple hardwares was the &#8220;active-active&#8221;-solution that has the following limitations:</p>
<ol>
<li>There can only be 2 boxes in a &#8220;cluster&#8221;.</li>
<li>They need to run multiple context mode.</li>
<li>Each context is at any given time only active in one box.</li>
</ol>
<p>Now it is possible to group multiple (up to 8!) boxes together so that they act as one single unit with dynamic load-sharing between the boxes (in single- OR multiple-context mode!). So from now on there can be REAL clustering in ASA-firewalls. Unfortunately at the moment only for 5580 and 5585-X firewalls but hopefully this will change!</p>
<h2></h2>
<h2>New features in mutiple context mode</h2>
<p>Some previous limitations of running the ASA in multiple context mode has now been removed so that from now on a virtual context can do:</p>
<ol>
<li>Dynamic routing with EIGRP and OSPF (there are limitations in making adjacencies between contexts communication over a shared interface because of multicast limitation in multiple context mode!).</li>
<li>VPN. There is now ipsec-support in contexts. Lan2Lan-tunnels only, no remote-access.</li>
</ol>
<p>&nbsp;</p>
<h2>IPv6-features</h2>
<p>The number of new IPv6-features in ASA 9.0 is massive! If you are interrested in this please see the release notes linked in the bottom of this post. A few examples of new features:</p>
<ol>
<li>Ipv4 and ipv6 in the same acl:s/ruleset. This also includes that you can make an object &#8220;Webserver&#8221; that inclueds both the servers v4- AND v6-address in the same object and you only use the object in your acl:s.</li>
<li>NAT beween ipv4 and ipv6.</li>
<li>DHCP relay and OSPFv4.</li>
</ol>
<p>&nbsp;</p>
<h2>Upgrading</h2>
<p>The upgrade from 8.x to 9.0 includes a migration that is not reversable. Most notable the any-keyword in acl:s is replaced with &#8220;any4&#8243; and that &#8220;any&#8221; from now on means &#8220;all v4 AND v6&#8243;. Upgrading is possible directly from any previous version without intermediate steps.</p>
<p>References:</p>
<p>The release notes for ASA version 9.0:<br />
<a href="http://www.cisco.com/en/US/docs/security/asa/asa90/release/notes/asarn90.html" target="_blank">www.cisco.com/en/US/docs/security/asa/asa90/release/notes/asarn90.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://nat0.net/cisco-asa-v9-0-software-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cisco IPSec VPN-client ports</title>
		<link>http://nat0.net/cisco-ipsec-vpn-client-ports/</link>
		<comments>http://nat0.net/cisco-ipsec-vpn-client-ports/#comments</comments>
		<pubDate>Wed, 11 Apr 2012 09:43:33 +0000</pubDate>
		<dc:creator>jimmy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://nat0.net/?p=1721</guid>
		<description><![CDATA[&#8220;I cannot connect with my Cisco IPSec VPN-client when I am behind a firewall&#8221; &#8220;I can connect my VPN-client but can´t get any traffic thru&#8221; &#8220;I have changed the settings on the Transport-tab and now I don´t know which settings are correct&#8221; &#160; Have you heard them all? I have, plenty of times! In fact, [...]]]></description>
			<content:encoded><![CDATA[<p></p><p><a href="http://nat0.net/wp-content/uploads/2012/04/VPN-client.png"><br />
<img class="alignleft  wp-image-1725" title="VPN-client" src="http://nat0.net/wp-content/uploads/2012/04/VPN-client.png" alt="" width="264" height="231" /></a></p>
<p><em>&#8220;I cannot connect with my Cisco IPSec VPN-client when I am behind a firewall&#8221;</em></p>
<p><em>&#8220;I can connect my VPN-client but can´t get any traffic thru&#8221;</em></p>
<p><em>&#8220;I have changed the settings on the Transport-tab and now I don´t know which settings are correct&#8221;</em></p>
<p>&nbsp;</p>
<p>Have you heard them all? I have, plenty of times! In fact, IPSec can be really messy to get to work, because when it was invented there was no such thing as NAT devices and IPSec doesn´t play very well with address translations. There are workarounds. Alot of them. And that´s why it is a bit messy.</p>
<p>&nbsp;</p>
<h1></h1>
<h1>Client settings</h1>
<p>&nbsp;</p>
<p>In the client there are settings under the transport tab tha changes how the client communicates with the head end. Unfortunately, these settings are not protected which means that the end use can (and will!) changes these settings. So, what does the different settings mean?</p>
<p>&nbsp;</p>
<h2>Enable Transparent Tunneling: No</h2>
<p><img class="alignleft size-full wp-image-1724" title="tunnel_no" src="http://nat0.net/wp-content/uploads/2012/04/tunnel_no.png" alt="" width="227" height="83" /></p>
<p>This mode is the vanilla way of IPSec by the book. The tunnel is setup by using ISAKMP (<strong>udp/500</strong>) and the actual data is sent as ESP (<strong>ip/50</strong>).</p>
<p>Because of the way ESP works it doesn´t work well if the client is behind a firewall or other NAT device. If outbound ISAKMP is allowed, the client can connect and authenticate. But the ESP-data will never get thru and the user will experience that the tunnel is broken even if he was able to login.</p>
<p>&nbsp;</p>
<h2>Enable Transparent Tunneling over UDP</h2>
<p><img class="alignleft size-full wp-image-1723" title="tunnel_udp" src="http://nat0.net/wp-content/uploads/2012/04/tunnel_udp.png" alt="" width="228" height="74" /> This is the most common way to overcome the limitations of ESP. The tunnel setup is still being done over ISAKMP (<strong>udp/500</strong>) but the actual data is encapsulated in udp-packets (<strong>udp/4500</strong>).</p>
<p>For this to work, the head end must be configured with &#8216;<strong>crypto isakmp nat-traversal</strong>&#8216;. This command will cause the head end to tell the client during tunnel setup to send data over udp/4500 instead of ESP. Without this configured in the head end, the client will experience the same thing as when Transparent tunneling is disabled (see above) because it will still use ESP for data-transfer unless told otherwise by the head end.</p>
<p>&nbsp;</p>
<h2>Enable Transparent Tunneling over TCP</h2>
<p><img class="alignleft size-full wp-image-1722" title="tunnel_tcp" src="http://nat0.net/wp-content/uploads/2012/04/tunnel_tcp.png" alt="" width="235" height="80" /></p>
<p>This setting is rarely being used. It was invented in the Cisco VPN3000 concentrator and is also supported in pix/ASA. By tunneling traffic over a TCP/port both the tunnel setup and the actual data is sent over that port. That means that ISAKMP (udp/500) is not being used when doing IPSec over TCP. The default port (and most common) is <strong>tcp/10000</strong> but any port will do good. But, the port must be specified in the head end with the &#8216;<strong>crypto isakmp ipsec-over-tcp port 10000&#8242;</strong> command.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h1>Answers</h1>
<p>&nbsp;</p>
<p>So, what are the answers for the end user questions on top of this post? I would say:</p>
<p><em>Q: &#8220;I cannot connect with my Cisco IPSec VPN-client when I am behind a firewall&#8221;</em></p>
<p>A: Make sure that the firewall administrator at the current location makes sures that the following ports are opened outbound:</p>
<ul>
<li>udp/500 (ISAKMP)</li>
<li>udp/4500 (IPSec nat-traversal)</li>
<li>udp/10000 (IPSec over TCP)</li>
</ul>
<p>&nbsp;</p>
<p><em>Q: &#8220;I can connect my VPN-client but can´t get any traffic thru&#8221;</em></p>
<p>A: Enable transport tunneling over UDP in the Transport-tab and try again. If you can still connect but not communicate, make sure that the firewall administrator (at the site to which you are trying to connect!) enables nat-traversal with the &#8216;crypto isakmp nat-traversal&#8217;-command.</p>
<p>&nbsp;</p>
<p><em>Q: &#8220;I have changed the settings on the Transport-tab and now I don´t know which settings are correct&#8221;</em></p>
<p>A: Duh! How would I know? <img src='http://nat0.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  Ask your firewall administrator or IT helpdesk. If you still has a copy of the original .pcf-file, try to delete your current profile in the vpn-client and import the .pcf-file again.</p>
<p>&nbsp;</p>
<h1>My recommendations</h1>
<p>Since there are a number of ways to configure the VPN client and the central firewall, which one should we use? Which one gives us least headache? I would say that you should choose from the below, in given order:</p>
<p>&nbsp;</p>
<ol>
<li>Don´t. <img src='http://nat0.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  Use AnyConnect instead of the old IPSec-client. There are zillions of reasons why, but they doesn´t fit into this blog post. Anyway. Migrate to AnyConnect if possible!</li>
<li>Use Transparent Tunneling over UDP. Make sure that the central firewall is configured with NAT-traversal as explained above.</li>
<li>Use Transparent Tunneling over TCP. But don´t. There is an extra overhead in encapsulating the end user traffic in yet another layer of TCP-sessions. UDP is better. But if you want to use TCP, use port 10000 because it is already entered by default in the vpn client.</li>
<li>Use the client without transparent tunneling. You use GRE and will never get the client to work from behind a firewall. <img src='http://nat0.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </li>
</ol>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://nat0.net/cisco-ipsec-vpn-client-ports/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>New product: Cisco ASA CX</title>
		<link>http://nat0.net/new-product-cisco-asa-cx/</link>
		<comments>http://nat0.net/new-product-cisco-asa-cx/#comments</comments>
		<pubDate>Wed, 29 Feb 2012 07:53:28 +0000</pubDate>
		<dc:creator>jimmy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://nat0.net/?p=1713</guid>
		<description><![CDATA[Yesterday at the RSA Conference Cisco released a new product named ASA CX. As usual when Cisco releases information about new products you have to dig alot to see thru all marketing material and find technical details. And so is defenately the case here also. &#160; There are a few videos recentely uploaded to Youtube [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Yesterday at the<a href="http://www.cisco.com/web/learning/le21/le34/rsa/2012/index.html"> RSA Conference</a> Cisco released a new product named <a href="http://www.cisco.com/en/US/prod/collateral/vpndevc/ps6032/ps6094/ps6120/white_paper_c11-700240.html">ASA CX</a>. As usual when Cisco releases information about new products you have to dig alot to see thru all<a href="http://www.cisco.com/en/US/prod/vpndevc/ps6032/ps6094/ps6120/context_aware_security.html"> marketing material</a> and find technical details. And so is defenately the case here also.</p>
<p>&nbsp;</p>
<p>There are a few <a href="http://www.youtube.com/watch?v=4yYlJnJhTVg&amp;feature=uploademail">videos recentely uploaded to Youtube by Cisco</a> that describes the product, and a few links in the marketing material cross-referencing eachother. But not much more than that. Yet. However, this is what I have found (and what I can guess by reading between the lines):</p>
<p>&nbsp;</p>
<p>ASA CX is Micro Application Aware. This means that it should be able to filter traffic based on Layer7-information to for example block Facebook Chat, but allow Facebook Updates. Allow Skype, but block Bittorrent. And so on&#8230;</p>
<p>ASA CX also saids to be web reputation aware and to be able to block 0 day malwares. Together with Identity Based Firewalling (allow/deny traffic baesd on user/group-belongings rather than just ip addresses) and URL filtering it smells alot like they have put a Cisco Ironport WSA-box inside of the ASA.</p>
<p>&nbsp;</p>
<p>Cisco ASA CX is by Cisco Prime Security Manager which is shipped with (within!) the ASA CX, which means no more ASDM!</p>
<p>&nbsp;</p>
<p><del>What confuses me most is that even though there is information on Ciscos website that ASA CX comes as 2 modules (&#8220;CX SSP-10&#8243; and &#8220;CX SSP-20&#8243;) there is also a new product line of ASA:s visible on the<a href="http://www.cisco.com/en/US/products/ps6120/prod_models_comparison.html#~tab-a"> product comparison chart</a>: 5512-X, 5515-X and so on&#8230; And with yet no information available on in which models of ASA you can put the CX SSP-modules, I still cant tell what´s needed to run ASA CX. Can I upgrade my existing ASA-firewall to CX with a module? And if so, which models can be upgraded? If not, what models of ASA CX appliances are available? Does an ASA5512-X contain an XS SSP-10? And so on&#8230;.</del></p>
<p>&nbsp;</p>
<p>A conclusion: It´s really thrilling that the next generation of ASA Firewalls can do this granular application inspections that hasn´t been possible yet. And together with functions available in the WSA, ASA CX can be a really potent threat to it competitors! ASA is no longer a packet filtering firewall!</p>
<p>&nbsp;</p>
<p><em><strong>Update!</strong></em></p>
<p><em><strong>According to a anonymous but normally highly trustworthy source (who prefer to call himself Deep Throat <img src='http://nat0.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  ), the CX will at first be a module available only for the high-end 5585-X ASA:s. At a next step the CX will be a software function available in the newly released 5505-X ASA-models. There will probably not be any CX-support in the legacy ASA:s.</strong></em></p>
]]></content:encoded>
			<wfw:commentRss>http://nat0.net/new-product-cisco-asa-cx/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Basic ASA Lan2Lan VPN Example</title>
		<link>http://nat0.net/basic-asa-lan2lan-vpn-example/</link>
		<comments>http://nat0.net/basic-asa-lan2lan-vpn-example/#comments</comments>
		<pubDate>Mon, 27 Feb 2012 18:55:11 +0000</pubDate>
		<dc:creator>jimmy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://nat0.net/?p=1687</guid>
		<description><![CDATA[Or &#8211; ASA Lan2Lan-VPN for dummies. &#160; I often get questions related to Lan2Lan-tunnels in ASA. This post serves as a cheat-sheet for different software versions. Pix v6.x &#160; isakmp enable outside isakmp policy 1 authentication pre-share isakmp policy 1 encryption des isakmp policy 1 hash md5 isakmp policy 1 group 1 isakmp policy 1 [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Or &#8211; ASA Lan2Lan-VPN for dummies.</p>
<p>&nbsp;</p>
<p>I often get questions related to Lan2Lan-tunnels in ASA. This post serves as a cheat-sheet for different software versions.</p>
<h3><a href="http://nat0.net/wp-content/uploads/2012/02/l2l.png"><img class=" wp-image-1688 alignnone" title="l2l" src="http://nat0.net/wp-content/uploads/2012/02/l2l.png" alt="" width="276" height="347" /></a><br />
Pix v6.x</h3>
<p>&nbsp;</p>
<pre>isakmp enable outside
isakmp policy 1 authentication pre-share
isakmp policy 1 encryption des
isakmp policy 1 hash md5
isakmp policy 1 group 1
isakmp policy 1 lifetime 86400

isakmp key cisco123 address <span style="color: #32cd32;">5.6.7.8</span> netmask 255.255.255.255

access-list 100 permit ip <span style="color: #ff0000;">10.0.X.0 255.255.255.0</span> <span style="color: #0000cd;">10.0.Y.0 255.255.255.0</span>
crypto ipsec transform-set MYTSET esp-des esp-md5-hmac

crypto map CMAP_OUTSIDE 10 ipsec-isakmp
crypto map CMAP_OUTSIDE match address 100
crypto map CMAP_OUTSIDE set peer <span style="color: #32cd32;">5.6.7.8</span>
crypto map CMAP_OUTSIDE interface outside

access-list nonat_inside permit ip <span style="color: #ff0000;">10.0.X.0 255.255.255.0</span> <span style="color: #4169e1;">10.0.Y.0 255.255.255.0</span>
nat (inside) 0 access-list nonat_inside

sysopt connection permit-ipsec</pre>
<p>&nbsp;</p>
<h3>Pix/ASA v7.0 &#8211; 8.2</h3>
<pre>isakmp enable outside
isakmp policy 1 authentication pre-share
isakmp policy 1 encryption des
isakmp policy 1 hash md5
isakmp policy 1 group 1
isakmp policy 1 lifetime 86400

tunnel-group <span style="color: #32cd32;">5.6.7.8</span> type ipsec-l2l
tunnel-group <span style="color: #32cd32;">5.6.7.8</span> ipsec-attributes
pre-shared-key cisco123

access-list VPN permit ip <span style="color: #ff0000;">10.0.X.0 255.255.255.0</span> <span style="color: #0000cd;">10.0.Y.0 255.255.255.0</span>

crypto ipsec transform-set MYTSET esp-des esp-md5-hmac

crypto map CMAP_OUTSIDE 10 ipsec-isakmp
crypto map CMAP_OUTSIDE 10 set transform-set MYTSET
crypto map CMAP_OUTSIDE 10 match address VPN
crypto map CMAP_OUTSIDE 10 set peer <span style="color: #32cd32;">5.6.7.8</span>
crypto map CMAP_OUTSIDE interface outside

access-list nonat_inside permit ip <span style="color: #ff0000;">10.0.X.0 255.255.255.0</span> <span style="color: #4169e1;">10.0.Y.0 255.255.255.0</span>
nat (inside) 0 access-list nonat_inside</pre>
<h3>ASA v8.3+</h3>
<pre>crypto ikev1 enable outside
crypto ikev1 policy 1
authentication pre-share
encryption des
hash md5
group 1
lifetime 86400

tunnel-group <span style="color: #32cd32;">5.6.7.8</span> type ipsec-l2l
tunnel-group <span style="color: #32cd32;">5.6.7.8</span> ipsec-attributes
ikev1 pre-shared-key cisco123

access-list VPN permit ip <span style="color: #ff0000;">10.0.X.0 255.255.255.0</span> <span style="color: #0000cd;">10.0.Y.0 255.255.255.0</span>

crypto ipsec ikev1 transform-set MYTSET esp-des esp-md5-hmac

crypto map CMAP_OUTSIDE 10 ipsec-isakmp
crypto map CMAP_OUTSIDE 10 set ikev1 transform-set MYTSET
crypto map CMAP_OUTSIDE 10 match address VPN
crypto map CMAP_OUTSIDE 10 set peer <span style="color: #32cd32;">5.6.7.8</span>
crypto map CMAP_OUTSIDE interface outside

object network <span style="color: #ff0000;">MY-LAN</span>
subnet <span style="color: #ff0000;">10.0.X.0 255.255.255.0</span>
object network<span style="color: #4169e1;"> HIS-LAN</span>
subnet <span style="color: #4169e1;">10.0.Y.0 255.255.255.0</span>
nat (inside,outside) source static <span style="color: #ff0000;">MY-LAN MY-LAN</span> destination static <span style="color: #4169e1;">HIS-LAN HIS-LAN</span></pre>
]]></content:encoded>
			<wfw:commentRss>http://nat0.net/basic-asa-lan2lan-vpn-example/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
