<?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>jklogic.net &#187; VPN</title>
	<atom:link href="http://jklogic.net/tag/vpn/feed/" rel="self" type="application/rss+xml" />
	<link>http://jklogic.net</link>
	<description>logical reality</description>
	<lastBuildDate>Tue, 07 Oct 2008 19:43:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Cisco ASA iPhone VPN Config</title>
		<link>http://jklogic.net/cisco-asa-iphone-vpn-config/</link>
		<comments>http://jklogic.net/cisco-asa-iphone-vpn-config/#comments</comments>
		<pubDate>Tue, 07 Oct 2008 19:43:58 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[ASA]]></category>
		<category><![CDATA[VPN]]></category>

		<guid isPermaLink="false">http://jklogic.net/?p=23</guid>
		<description><![CDATA[I recently purchased a shiny new iPhone 3G and wanted to be able to connect back to my house where I have a Cisco ASA 5505.  I have noticed a lot of questions about how to get this to work, so here it is&#8230;
 
First, make sure you are running ASA Software version 8.0(3) or better. [...]]]></description>
			<content:encoded><![CDATA[<p>I recently purchased a shiny new iPhone 3G and wanted to be able to connect back to my house where I have a Cisco ASA 5505.  I have noticed a lot of questions about how to get this to work, so here it is&#8230;</p>
<p><span id="more-23"></span> </p>
<p>First, make sure you are running ASA Software version 8.0(3) or better. The previous versions have a bug when the iPhone connects that will boot all other users connected to the VPN.</p>
<p> </p>
<p>On the ASA, we need to get the VPN configured.  First, the ACLs for split-tunneling, no NAT and VPN access:</p>
<div class="code">access-list RA_VPN_ACL extended permit ip any 172.30.30.0 255.255.255.0<br />
access-list RA_VPN_SplitTunnel_ACL standard permit 172.25.25.0 255.255.255.0<br />
access-list NoNAT_ACL extended permit ip 172.25.25.0 255.255.255.0 172.30.30.0 255.255.255.0<br />
nat (inside) 0 access-list NoNAT_ACL</div>
<p> </p>
<p>Since this config will authenticate to the local ASA, we need to have a username and password setup:</p>
<div class="code">username iPhone password your_password</div>
<p> </p>
<p>Now setup a DHCP pool for VPN clients:</p>
<div class="code">ip local pool RA_VPN_POOL 172.30.30.100-172.30.30.200</div>
<p> </p>
<p>Now create the crypto maps and apply them to the outside interface:</p>
<div class="code">crypto ipsec transform-set RA_VPN_SET esp-aes esp-sha-hmac<br />
crypto dynamic-map RA_VPN_MAP 1 match address RA_VPN_ACL<br />
crypto dynamic-map RA_VPN_MAP 1 set transform-set RA_VPN_SET<br />
crypto dynamic-map RA_VPN_MAP 1 set reverse-route<br />
crypto map RA_VPN 65535 ipsec-isakmp dynamic RA_VPN_MAP<br />
crypto map RA_VPN interface outside</div>
<p> </p>
<p>Setup ISAKMP:</p>
<div class="code">crypto isakmp enable outside<br />
crypto isakmp policy 65535<br />
  authentication pre-share<br />
  encryption 3des<br />
  hash sha<br />
  group 2<br />
  lifetime 86400<br />
crypto isakmp nat-traversal 20</div>
<p> </p>
<p>Now create a remote access VPN policy. Make sure to add the split-dns value for your local domian. If you leave this out, the iPhone will not resolve DNS on the internal network!</p>
<div class="code">group-policy RA_VPN_Policy internal<br />
group-policy RA_VPN_Policy attributes<br />
  dns-server value DNS_Server_IP<br />
  vpn-tunnel-protocol IPSec<br />
  split-tunnel-policy tunnelspecified<br />
  split-tunnel-network-list value RA_VPN_SplitTunnel_ACL<br />
  split-dns value domain.local</div>
<p> </p>
<p>Add the tunnel-group to allow the VPN connection:</p>
<div class="code">tunnel-group RA_VPN type ipsec-ra<br />
tunnel-group RA_VPN general-attributes<br />
  address-pool RA_VPN_POOL<br />
  default-group-policy RA_VPN_Policy<br />
tunnel-group RA_VPN ipsec-attributes<br />
  pre-shared-key your_password<em></em></div>
<p> </p>
<p>Now to configure the iPhone. First, go to Settings -&gt; General -&gt; Network -&gt; VPN. Then Add VPN Configuration. Select IPSec at the top and enter your information. The Server is the IP address or hostname of the ASA. The Account is the Username you created in the config above. The Group Name is the tunnel-group name created on the ASA.</p>
<p> </p>
<p><img class="aligncenter" src="/content/images/iPhoneVPN1.jpg" alt="iPhone VPN Config" /></p>
<p> </p>
<p> </p>
<p><img class="aligncenter" src="/content/images/iPhoneVPN2.jpg" alt="iPhone VPN Config" /></p>
<p> </p>
<p><img class="aligncenter" src="/content/images/iPhoneVPN3.jpg" alt="iPhone VPN Config" /></p>
<p> </p>
<p> </p>
<p>To connect the VPN, go to Settings -&gt; VPN (this appears after you create a VPN connection).  Just change the option to ON.</p>
<p><img class="aligncenter" src="/content/images/iPhoneVPN4.jpg" alt="iPhone VPN Config" /></p>
<p> </p>
<p> </p>
<p><img class="aligncenter" src="/content/images/iPhoneVPN5.jpg" alt="iPhone VPN Config" /></p>
<p> <br />
<img class="aligncenter" src="/content/images/iPhoneVPN6.jpg" alt="iPhone VPN Config" /> </p>
<p> </p>
<p>Once you see the VPN icon on the top bar, you are connected!</p>
<p> </p>
<p> </p>
]]></content:encoded>
			<wfw:commentRss>http://jklogic.net/cisco-asa-iphone-vpn-config/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Vista VPN to Cisco Pix devices</title>
		<link>http://jklogic.net/vista-vpn-to-cisco-pix-devices/</link>
		<comments>http://jklogic.net/vista-vpn-to-cisco-pix-devices/#comments</comments>
		<pubDate>Fri, 05 Oct 2007 14:46:50 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Vista]]></category>
		<category><![CDATA[ASA]]></category>
		<category><![CDATA[Pix]]></category>
		<category><![CDATA[PPTP]]></category>
		<category><![CDATA[VPN]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://jklogic.net/vista-vpn-to-cisco-pix-devices/</guid>
		<description><![CDATA[While trying to setup Vista to connect to new client’s network using a VPN, I kept running into problems and could not get it to connect.  I was attempting to connect to a PPTP VPN on a Pix 500 series firewall.  The error I kept getting was “Failed to connect to VPN Connection”. [...]]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal">While trying to setup Vista to connect to new client’s network using a VPN, I kept running into problems and could not get it to connect.<span>  </span>I was attempting to connect to a PPTP VPN on a Pix 500 series firewall.<span>  </span>The error I kept getting was “Failed to connect to VPN Connection”.<span> </span>I tested the connection with XP and was able to connect without any issues.</p>
<p class="MsoNormal"><span id="more-11"></span></p>
<p class="MsoNormal">Come to find out, Microsoft deprecated MSCHAP v1 from Vista!<span>  </span>Vista only supports MSCHAP v2, CHAP, and PAP.<span>  </span>Cisco does not support MSCHAP v2 in the 6.x line of software for the PIX.<span>  </span>Unfortunately, I was connecting to a Pix 501 and did not have the option to upgrade to version 7.x software which does support MSCHAP v2.</p>
<p class="MsoNormal">Since the only option left is to use CHAP, I had reconfigured the VPN connection in Vista.<span>  </span>To do this:</p>
<p class="MsoNormal">Go to Properties of the VPN connection</p>
<p class="MsoNormal">-&gt; Security Tab</p>
<p class="MsoNormal">-&gt; Select Advanced (custom settings)</p>
<p class="MsoNormal">-&gt; Click Settings</p>
<p class="MsoNormal">-&gt; Set Data encryption to optional</p>
<p class="MsoNormal">-&gt; Then check CHAP under Allow these protocols</p>
<p class="MsoNormal">Now I am able to connect without any problems.</p>
<p class="MsoNormal">Please note that CHAP should not be considered secure.<span>  </span>While it is better than PAP in that is uses encryption, it is only one-way and therefore should be used with caution.</p>
]]></content:encoded>
			<wfw:commentRss>http://jklogic.net/vista-vpn-to-cisco-pix-devices/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

