<?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>./cmsimike &#187; vpn</title>
	<atom:link href="http://www.cmsimike.com/blog/tag/vpn/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cmsimike.com/blog</link>
	<description>thoughts from a computer scientist</description>
	<lastBuildDate>Sun, 08 Jan 2012 22:20:29 +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>Enabling Internet Access on Ubuntu with an Active VPN, and Slow Internet Problems</title>
		<link>http://www.cmsimike.com/blog/2008/12/18/enabling-internet-access-on-ubuntu-with-an-active-vpn-and-slow-internet-problems/</link>
		<comments>http://www.cmsimike.com/blog/2008/12/18/enabling-internet-access-on-ubuntu-with-an-active-vpn-and-slow-internet-problems/#comments</comments>
		<pubDate>Thu, 18 Dec 2008 21:11:06 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[intrepid ibex]]></category>
		<category><![CDATA[pptp]]></category>
		<category><![CDATA[slow internet]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[vpn]]></category>
		<category><![CDATA[vpnclient]]></category>

		<guid isPermaLink="false">http://www.cmsimike.com/blog/?p=76</guid>
		<description><![CDATA[This is just a quick follow up to my previous post about connecting to a Windows VPN (pptp) from Ubuntu 8.10 (Intrepid Ibex). Using the tip from lloles that was left in the comments, I managed to go to this post on the Ubuntu forums dealing with configuring routing for the VPN. Thankfully, it has [...]]]></description>
			<content:encoded><![CDATA[<p>This is just a quick follow up to my previous post about <a href="http://www.cmsimike.com/blog/2008/11/16/connect-to-a-windows-vpn-pptp-from-ubuntu-810-intrepid-ibex/" target="_blank">connecting to a Windows VPN (pptp) from Ubuntu 8.10 (Intrepid Ibex).</a> Using the tip from lloles that was left in the comments, I managed to go to this post on the Ubuntu forums dealing with <a href="http://ubuntuforums.org/showthread.php?t=934946" target="_blank">configuring routing for the VPN</a>. Thankfully, it has worked. However by doing this, I&#8217;ve run into another problem. Insteading of pasting my entire problem here, I will link to the post dealing with my <a href="http://ubuntuforums.org/showthread.php?t=1011236" target="_blank">Internet being very slow after I connect to a windows VPN server</a>. It&#8217;s such a weird problem. I haven&#8217;t looked much into it, but I&#8217;m just so confused. Hopefully I will have some sort of good news to report once I figure things out.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cmsimike.com/blog/2008/12/18/enabling-internet-access-on-ubuntu-with-an-active-vpn-and-slow-internet-problems/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Connect to a Windows VPN (pptp) from Ubuntu 8.10 (Intrepid Ibex)</title>
		<link>http://www.cmsimike.com/blog/2008/11/16/connect-to-a-windows-vpn-pptp-from-ubuntu-810-intrepid-ibex/</link>
		<comments>http://www.cmsimike.com/blog/2008/11/16/connect-to-a-windows-vpn-pptp-from-ubuntu-810-intrepid-ibex/#comments</comments>
		<pubDate>Mon, 17 Nov 2008 02:30:51 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[intrepid ibex]]></category>
		<category><![CDATA[pptp]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[vpn]]></category>
		<category><![CDATA[vpnclient]]></category>

		<guid isPermaLink="false">http://www.cmsimike.com/blog/?p=55</guid>
		<description><![CDATA[Back in April, I wrote a post about how to connecct your Ubuntu box to a Windows VPN server linking back to another person&#8217;s blog explaining the setup. The install itself was pretty bumpy, but ultimately worked. If I recall correctly, the information in that post was mainly for Gutsy Gibbon. After upgrading to Hardy [...]]]></description>
			<content:encoded><![CDATA[<p>Back in April, I wrote a post about <a href="http://www.cmsimike.com/blog/2008/04/07/connect-ubuntu-to-a-windows-based-vpn/#more-18" target="_blank">how to connecct your Ubuntu box to a Windows VPN server</a> linking back to another person&#8217;s blog explaining the setup. The install itself was pretty bumpy, but ultimately worked. If I recall correctly, the information in that post was mainly for Gutsy Gibbon. After upgrading to Hardy Haron, I was never able to get the VPN working again. I kind of left it like that. Now that I&#8217;ve installed Intrepid Ibex, I started working on trying to get VPN to work again. And thankfully after a few hours of work, I got it working in Gnome. I make no assurances that this will work with KDE or any other enviornment. Here is the process.</p>
<p><span id="more-55"></span></p>
<p>Assumptions:</p>
<ul>
<li>Connecting to a Windows Server 2003-based VPN with a domain configured with defaults</li>
<li>Short/Friendly Authentication Domain Name: XXCompany</li>
<li>Username: usera</li>
<li>password: passworda</li>
<li>VPN host: vpn.example.com</li>
</ul>
<p>If you click on your network icon -&gt; VPN connections -&gt; Configure VPN, you would expect to be able to click add and start filling in information. From a new, vanilla installation the Add box will be grayed out. This is because a VPN manager has yet to be installed. Open a Terminal and type in</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> network-manager-pptp</pre></div></div>

<p>If you get a message saying &#8220;E: Couldn&#8217;t find package network-manager-pptp&#8221; you may need to <a href="https://help.ubuntu.com/community/Repositories/CommandLine" target="_blank">enable more repository locations</a>. Once that package, and any related packages are installed, restart your computer. Then, you&#8217;ll be happy to see that the Add button under Configure VPN is now activated.</p>
<p>Click the Add button and for a Windows VPN, leave the server type as PPTP:</p>
<div id="attachment_56" class="wp-caption aligncenter" style="width: 491px"><a href="http://www.cmsimike.com/blog/wp-content/uploads/2008/11/vpn1.png"><img class="size-full wp-image-56" title="ADd VPN Connection" src="http://www.cmsimike.com/blog/wp-content/uploads/2008/11/vpn1.png" alt="VPN Connection Information" width="481" height="264" /></a><p class="wp-caption-text">VPN Connection Type</p></div>
<p>Clicking create brings you to the next screen in which you define your VPN credentials.</p>
<div id="attachment_57" class="wp-caption aligncenter" style="width: 391px"><a href="http://www.cmsimike.com/blog/wp-content/uploads/2008/11/vpn2.png"><img class="size-full wp-image-57" title="VPN Connection Information" src="http://www.cmsimike.com/blog/wp-content/uploads/2008/11/vpn2.png" alt="VPN Connection Information" width="381" height="557" /></a><p class="wp-caption-text">VPN Connection Information</p></div>
<p>The Gateway is your VPN host. For username, I&#8217;ve only got authentication working when the domain name is added to your username in the tradional Windows domain format (&lt;domain&gt;\&lt;user name&gt;). There may be a different name for that format, but most corporate users should understand that notation. Obviously the show password doesn&#8217;t need to be clicked, but for the sake of completeness, I included where the password should go. You can also leave the Password field blank and just enter it every time you start the VPN Connection. I&#8217;m sure that this is much more secure. Leave the NT Domain field empty.</p>
<p>Lastly clicking the Advanced will get you to this following screen:</p>
<div id="attachment_58" class="wp-caption aligncenter" style="width: 322px"><a href="http://www.cmsimike.com/blog/wp-content/uploads/2008/11/vpn3.png"><img class="size-full wp-image-58" title="PPTP Advanced Screen" src="http://www.cmsimike.com/blog/wp-content/uploads/2008/11/vpn3.png" alt="PPTP Advanced Screen" width="312" height="455" /></a><p class="wp-caption-text">PPTP Advanced Screen</p></div>
<p>Make sure to uncheck PAP under Authentication Methods as well as check &#8220;Use Point-to-Point encryption.&#8221;</p>
<p>If everything has gone well, then you should be able to save all your changes and start the VPN up and have it connect. A little lock icon will appear on your connection indicating that a secure VPN connection has been made.</p>
<p>Keep in mind that this method forces all traffic to be tunneled to the VPN host, which means that in the base case, your internet will stop working until you disconnect from the VPN. There must be a way around this, but I have yet to come across it. Enabling the VPN changes your computer&#8217;s route table. There is an option under &#8220;IPv4 Settings&#8221; -&gt; &#8220;Routes&#8221; that ignore automatically obtained routes, but that doesn&#8217;t help in this case, nor is it what we want (I don&#8217;t think). If you happen to get an error while attempting to connect to your VPN host, open a terminal and issue this command and watch the log of the attempted VPN connection.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tail</span> <span style="color: #660033;">-f</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>log<span style="color: #000000; font-weight: bold;">/</span>syslog</pre></div></div>

<p>This proved invaluable to me while trying to configure my VPN client.<br />
More information regarding setting up a VPN client within Ubuntu can be located on <a href="http://www.cmsimike.com/blog/wp-admin/post-new.php" target="_blank">Launchpad article about VPNCLients</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cmsimike.com/blog/2008/11/16/connect-to-a-windows-vpn-pptp-from-ubuntu-810-intrepid-ibex/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Connect Ubuntu to a Windows-based VPN</title>
		<link>http://www.cmsimike.com/blog/2008/04/07/connect-ubuntu-to-a-windows-based-vpn/</link>
		<comments>http://www.cmsimike.com/blog/2008/04/07/connect-ubuntu-to-a-windows-based-vpn/#comments</comments>
		<pubDate>Tue, 08 Apr 2008 01:19:05 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[vpn]]></category>

		<guid isPermaLink="false">http://www.xekm.com/blog/?p=18</guid>
		<description><![CDATA[Now one of my biggest problems with having any GNU/Linux-based operating system is that, for work purposes, I need to connect to a Windows-based VPN (Windows Server 2003). About a year and a half of on again and off again searching lead me to many dead ends. That is until I found Happy Linux Thoughts [...]]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal">Now one of my biggest problems with having any GNU/Linux-based operating system is that, for work purposes, I need to connect to a Windows-based VPN (Windows Server 2003).<span> </span>About a year and a half of on again and off again searching lead me to many dead ends. That is until I found <a title="Happy Linux Thoughts" href="http://happylinuxthoughts.blogspot.com/" target="_blank">Happy Linux Thoughts</a> and the post about using network-manager-pptp called <a title="Connecting to a Windows VPN with Debian-based Distributions." href="http://happylinuxthoughts.blogspot.com/2007/10/connecting-to-windows-vpn-server-with.html" target="_blank">connecting to a Windows VPN server with Debian-based distros</a> a few weeks ago. I was going to reiterate the steps, but I doubt I&#8217;d do a good of job as the author.</p>
<p class="MsoNormal"><span id="more-18"></span></p>
<p class="MsoNormal">One problem I ran into is that, after adding the new VPN connection, it did not appear as a connection once I was done (at least with Ubuntu 7.10). I tried to add and delete it multiple times, however it was as far as I could tell impossible to connect to. So in my frustration I shut down my laptop. As the fates would have it, my desktop system would crash a day later, causing me to have to use my laptop until my desktop was up and running. I decided that I might as well play with the connections again and see if I can get it working. Luckily for me the connection was just there. I was able to connect to my work VPN and RDC to my computer at work. It is pretty amazing.</p>
<p>The only other problem encountered (though not a problem, but more of an annoyance) is that once connected to the VPN, the internet on the local machine dies out. I bet that it is because of security (modeled after Cisco&#8217;s VPN client) rather than stupidity (modeled after Windows&#8217; &#8220;Use gateway on remote machine&#8221; checkbox) that this choice was made.. I am not sure if it is just the internet or all networking as I didn&#8217;t test connecting to another computer on my home network, but I guess that will force me to work when I should be working. As of this writing I haven&#8217;t played around with the VPN connection anymore other than the initial 20 or so minutes trying to get local internet up and running again.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cmsimike.com/blog/2008/04/07/connect-ubuntu-to-a-windows-based-vpn/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

