<?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>/dev/null &#187; Cisco</title>
	<atom:link href="http://www.nulldevice.de/tag/cisco/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nulldevice.de</link>
	<description>Static is evil.</description>
	<lastBuildDate>Fri, 18 Nov 2011 17:28:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Howto: Connect to a Cisco VPN using Ubuntu Linux 10.04</title>
		<link>http://www.nulldevice.de/2010/06/cisco-client-vpn-vpnc-ubuntu-linux-10-04/</link>
		<comments>http://www.nulldevice.de/2010/06/cisco-client-vpn-vpnc-ubuntu-linux-10-04/#comments</comments>
		<pubDate>Mon, 21 Jun 2010 19:03:39 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Vpn]]></category>

		<guid isPermaLink="false">http://www.nulldevice.de/?p=1131</guid>
		<description><![CDATA[Argh, I spent the whole day figuring out how to connect to the VPN of my current customer. The Windows client on my other computer works just fine, at least after selecting the UDP option. But it is quite some overhead to install Windows on my Linux box just to connect to a VPN. The [...]]]></description>
			<content:encoded><![CDATA[<p>Argh, I spent the whole day figuring out how to connect to the VPN of my current customer. The Windows client on my other computer works just fine, at least after selecting the UDP option. But it is quite some overhead to install Windows on my Linux box just to connect to a VPN. The proprietary Cisco VPN client for Linux works until kernel version 2.6.25 AFAIK. Therefore, This is no option for all users of Ubuntu 10.04.</p>
<p>There is an Open Source client for the cisco vpn concentrator that replaces the Cisco client: <strong>vpnc</strong></p>
<p>It can be installed on the command line using</p>
<blockquote><p>sudo apt-get update &amp;&amp; sudo apt-get install vpnc resolvconf</p></blockquote>
<p>Once you&#8217;ve done this, you will want to create a config file for your VPN:</p>
<blockquote><p>/usr/share/vpnc/pcf2vpnc ciscovpnconfigfile.pcf &gt; default.conf</p></blockquote>
<p>Now move that file to /etc/vpnc:</p>
<blockquote><p>sudo mv default.conf /etc/vpnc</p></blockquote>
<p>Theoretically you should be able to use the VPN now like this:</p>
<blockquote><p>sudo vpnc</p></blockquote>
<p>And terminate it like that:</p>
<blockquote><p>sudo vpnc-disconnect</p></blockquote>
<p>Of course it would be too easy this way. There were a couple of changes I had to apply to the config file:</p>
<p>First of all and most importantly, the line</p>
<blockquote><p>Application version Cisco Systems VPN Client 5.0.07.0240:WinNT</p></blockquote>
<p>simulates a Windows client, which the Cisco concentrator at my customer&#8217;s network checked for. If that is the case and it refuses the connection, you won&#8217;t see any error that tells you about it, vpnc just won&#8217;t connect properly and say &#8220;no response from target&#8221; after several seconds! It took a long time until I figured that out, but just because I had a similar problem with an older Windows client previously. Also it&#8217;s hard to find out, how the version string is supposed to look like.</p>
<p>The other line I added was &#8220;NAT Traversal Mode cisco-udp&#8221; and if you like &#8220;Xauth password XXX&#8221; to store your password in the config file, so that you don&#8217;t need to enter it each time you connect.</p>
<p>Hope that works for you!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nulldevice.de/2010/06/cisco-client-vpn-vpnc-ubuntu-linux-10-04/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>

