<?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>A Million Monkeys &#187; pptp</title>
	<atom:link href="http://www.monkeedev.co.uk/blog/tag/pptp/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.monkeedev.co.uk/blog</link>
	<description>Surviving life as a sysadmin.</description>
	<lastBuildDate>Mon, 16 May 2011 09:49:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Setting up a debian PPTP VPN</title>
		<link>http://www.monkeedev.co.uk/blog/2007/08/10/setting-up-a-debian-pptp-vpn/</link>
		<comments>http://www.monkeedev.co.uk/blog/2007/08/10/setting-up-a-debian-pptp-vpn/#comments</comments>
		<pubDate>Fri, 10 Aug 2007 21:36:50 +0000</pubDate>
		<dc:creator>Kris</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[pptp]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[vpn]]></category>

		<guid isPermaLink="false">http://www.monkeedev.co.uk/blog/2007/08/10/setting-up-a-debian-pptp-vpn/</guid>
		<description><![CDATA[This article follows on from my hamachi based VPN tutorial. PPTP is much easier to set up on a debian server, and very easy to connect to from a Windows XP machine. With the ease of use though, there are some downfalls. PPTP is known to be less secure than other VPN&#8217;s such as OpenVPN [...]]]></description>
			<content:encoded><![CDATA[<p>This article follows on from my <a href="http://www.monkeedev.co.uk/blog/2007/06/22/setting-up-a-hamachi-vpn/">hamachi based VPN</a> tutorial. PPTP is much easier to set up on a debian server, and very easy to connect to from a Windows XP machine.</p>
<p>With the ease of use though, there are some downfalls. PPTP is known to be less secure than other VPN&#8217;s such as OpenVPN and IPSEC, but for most uses it should be fine. One advantage over my hamachi VPN is that you will end up with an IP on the remote LAN (instead of the 5.0.0.0/8 address you have from hamachi), meaning you don&#8217;t need to do any routing tweaks.</p>
<p>First, set up the server:</p>
<blockquote><p><em>apt-get install pptpd</em></p></blockquote>
<p>That&#8217;s it! Now, to configure, you just need to edit 2 files:</p>
<blockquote><p>/etc/pptpd.conf<br />
Just add 2 lines to the bottom of the file, for the internal IP address of the server, and a range of IP&#8217;s which the remote connections will use.<br />
<em>localip 10.1.0.50<br />
remoteip 10.1.0.90-99</em></p></blockquote>
<p>The comments at the bottom of the file show some other ways of assigning ranges of IP&#8217;s in the remoteip section.</p>
<p>Finally, to add a user, edit /etc/ppp/chap-secrets and add a line for a remote user in the format:</p>
<blockquote><p>username pptpd password *</p></blockquote>
<p>To limit connections from specific hosts, use them instead of the * at the end.</p>
<p>To set up the connection on a windows XP client, do the following (from Control Panel):</p>
<blockquote><p> <em>Network Connections</em><br />
Create a New Connection<br />
Next<br />
Connect to the network at my workplace<br />
Virtual Private Network connection<br />
Enter your connection name<br />
Do not dial the initial connection<br />
Enter the IP of your server</p></blockquote>
<p>Then run the connection with the username and password you entered into /etc/ppp/chap-secrets</p>
<p>By default this will route all your traffic (including normal web browsing) through the tunnel. If you don&#8217;t want this, go to the connection properties, then the networking tab. Choose TCP/IP properties, and click &#8216;Advanced&#8217;, then finally untick the &#8216;Use default gateway on remote network&#8217; tickbox.</p>
<p>That should be all you need.</p>
<p>Soon, I&#8217;ll give OpenVPN a try, and try to write up a nice guide here.</p>
<p>Most of the information above came from other sites, and by googling. If anyone knows of a better or more secure way of using PPTP then please post comments below.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a><strong><em>Bookmark It</em></strong></a>
<br />
<div class="d">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http%3A%2F%2Fwww.monkeedev.co.uk%2Fblog%2F2007%2F08%2F10%2Fsetting-up-a-debian-pptp-vpn%2F&amp;title=Setting+up+a+debian+PPTP+VPN" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://www.monkeedev.co.uk/blog/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.monkeedev.co.uk%2Fblog%2F2007%2F08%2F10%2Fsetting-up-a-debian-pptp-vpn%2F&amp;title=Setting+up+a+debian+PPTP+VPN" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://www.monkeedev.co.uk/blog/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.monkeedev.co.uk%2Fblog%2F2007%2F08%2F10%2Fsetting-up-a-debian-pptp-vpn%2F" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://www.monkeedev.co.uk/blog/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fwww.monkeedev.co.uk%2Fblog%2F2007%2F08%2F10%2Fsetting-up-a-debian-pptp-vpn%2F&amp;title=Setting+up+a+debian+PPTP+VPN" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://www.monkeedev.co.uk/blog/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http%3A%2F%2Fwww.monkeedev.co.uk%2Fblog%2F2007%2F08%2F10%2Fsetting-up-a-debian-pptp-vpn%2F&amp;title=Setting+up+a+debian+PPTP+VPN" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://www.monkeedev.co.uk/blog/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.monkeedev.co.uk%2Fblog%2F2007%2F08%2F10%2Fsetting-up-a-debian-pptp-vpn%2F&amp;title=Setting+up+a+debian+PPTP+VPN" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://www.monkeedev.co.uk/blog/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http%3A%2F%2Fwww.monkeedev.co.uk%2Fblog%2F2007%2F08%2F10%2Fsetting-up-a-debian-pptp-vpn%2F" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://www.monkeedev.co.uk/blog/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+Setting+up+a+debian+PPTP+VPN+@+http%3A%2F%2Fwww.monkeedev.co.uk%2Fblog%2F2007%2F08%2F10%2Fsetting-up-a-debian-pptp-vpn%2F" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://www.monkeedev.co.uk/blog/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://www.monkeedev.co.uk/blog/2007/08/10/setting-up-a-debian-pptp-vpn/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

