<?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>phirebird &#187; vpdn</title>
	<atom:link href="http://www.phirebird.net/tag/vpdn/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.phirebird.net</link>
	<description>Yet Another IT &#039;How-To&#039; Site</description>
	<lastBuildDate>Wed, 29 Dec 2010 11:37:22 +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>Configuring a client-to-site VPN through PPTP on a Cisco router</title>
		<link>http://www.phirebird.net/2009/05/configuring-a-client-to-site-vpn-through-pptp-on-a-cisco-router/</link>
		<comments>http://www.phirebird.net/2009/05/configuring-a-client-to-site-vpn-through-pptp-on-a-cisco-router/#comments</comments>
		<pubDate>Wed, 27 May 2009 21:19:21 +0000</pubDate>
		<dc:creator>shands</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[pptp]]></category>
		<category><![CDATA[vpdn]]></category>
		<category><![CDATA[vpn]]></category>

		<guid isPermaLink="false">http://www.phirebird.net/?p=53</guid>
		<description><![CDATA[When config&#8217;ing up a new Cisco router, turning on the VPN server functionality is a really handy feature to have &#8211; but again it&#8217;s one of them that you only need once-in-a-while. There are millions of different things that you can tweak &#8211; authentication, IP allocation, etc &#8211; but I&#8217;ll run through how to configure it up [...]]]></description>
			<content:encoded><![CDATA[<p>When config&#8217;ing up a new Cisco router, turning on the VPN server functionality is a really handy feature to have &#8211; but again it&#8217;s one of them that you only need once-in-a-while. There are millions of different things that you can tweak &#8211; authentication, IP allocation, etc &#8211; but I&#8217;ll run through how to configure it up for use in a small office enviroment.</p>
<p>First off, you&#8217;ll want to make sure that you have VPN server functionality. Again, this is determined by your IOS image. Check your feature set on the Cisco feature navigator:</p>
<blockquote><p><a href="http://tools.cisco.com/ITDIT/CFN/jsp/index.jsp"><span style="color: #3a87dd;">http://tools.cisco.com/ITDIT/CFN/jsp/index.jsp</span></a></p></blockquote>
<p>Once you&#8217;ve done that &#8211; on to the configuration. I&#8217;ll point out anything that&#8217;s worth noting.</p>
<p>Enter configuration mode, set some basic aaa and enable vpdn:</p>
<blockquote><p>phbrouter#conf t<br />
phbrouter(config)#aaa new-model<br />
phbrouter(config)#aaa authentication ppp default local<br />
phbrouter(config)#aaa authorization network default if-authenticated<br />
phbrouter(config)#vpdn enable<br />
phbrouter(config)#</p></blockquote>
<p>As mentioned, this is a fairly basic config. You&#8217;ll notice that we&#8217;re authenticating against the local userlist (which we&#8217;ll define later). If you wanted to, you could use RADIUS instead (which is outside the scope of this article! Maybe I&#8217;ll cover it some other time!). Next we need to setup a VPDN group, tell it that we accept dialin, define what protocol it should use and which virtual interface template to use for incoming connections (which we&#8217;ll do later):</p>
<blockquote><p>phbrouter(config)#vpdn-group 1<br />
phbrouter(config-vpdn)#accept-dialin<br />
phbrouter(config-vpdn-acc-in)#protocol pptp<br />
phbrouter(config-vpdn-acc-in)#virtual-template 1<br />
phbrouter(config-vpdn-acc-in)#exit<br />
phbrouter(config-vpdn)#exit<br />
phbrouter(config)#</p></blockquote>
<p>Great! Half way there. The next stage is to create a virtual interface that will be brought up when a user connects. This includes the address allocation and what authentication we want to accept. MS-Chap and MS-Chap v2 is good enough for our purposes:</p>
<blockquote><p>phbrouter(config)#int Virtual-Template1<br />
phbrouter(config-if)#desc VPN Virtual Interface<br />
phbrouter(config-if)#ip unnumbered FastEthernet0/0<br />
phbrouter(config-if)#peer default ip address pool vpnpool<br />
phbrouter(config-if)#ppp encrypt mppe auto<br />
phbrouter(config-if)#ppp authentication ms-chap ms-chap-v2<br />
phbrouter(config-if)#exit<br />
phbrouter(config)#</p></blockquote>
<p>You&#8217;ll notice that it&#8217;ll try to grab an address from a pool (rather creatively) named vpnpool. We&#8217;ll define this now &#8211; but be sure to change this to a free address range on your network (also big enough to accomodate your number of users):</p>
<blockquote><p>phbrouter(config)#ip local pool vpnpool 192.168.1.150 192.168.1.160<br />
phbrouter(config)#</p></blockquote>
<p>The final stage is to define some users. Seeing as we&#8217;re going to be using the local userlist, it&#8217;s a really good idea to set these users to privilege level 0 (for obvious reasons):</p>
<blockquote><p>phbrouter(config)#username joebloggs privilege 0 password joebloggsrules<br />
phbrouter(config)#username jackbloggs privilege 0 password brownbear</p></blockquote>
<p>And you&#8217;re finished! You can either use the Cisco VPN Client to connect from remote locations &#8211; but I find the in-built Windows &#8216;Connection Wizard&#8217; is a lot lighter (!) and is more than suffice.</p>
<p>This was done on a router with an existing aaa policy. If I&#8217;ve missed anything out &#8211; please post your feedback!</p>
<p>&nbsp;</p>
<p>Are you looking to learn more about Cisco equipment? Well, here&#8217;s a selection of a few books that I&#8217;ve found useful over the years:</p>
<table width="100%">
<tr>
<td valign="top" align="center"><a href="http://www.amazon.co.uk/gp/product/0072263830?ie=UTF8&#038;tag=beabi-21"><img src="http://ecx.images-amazon.com/images/I/51a9cEpt97L._BO2,204,203,200_PIsitb-sticker-arrow-click,TopRight,35,-76_AA150_SH20_OU02_.jpg" border="0"><br />
Cisco: A Beginner&#8217;s Guide</a></td>
<td>&nbsp;</td>
<td valign="top" align="center"><a href="http://www.amazon.co.uk/gp/product/0470110082?ie=UTF8&#038;tag=beabi-21"><img src="http://ecx.images-amazon.com/images/I/51hoZmqfLKL._BO2,204,203,200_PIsitb-sticker-arrow-click,TopRight,35,-76_AA150_SH20_OU02_.jpg" border="0"><br />
CCNA &#8211; Cisco Certified Network Associate Study Guide</a></td>
<td>&nbsp;</td>
<td valign="top" align="center"><a href="http://www.amazon.co.uk/gp/product/076451668X?ie=UTF8&#038;tag=beabi-21"><img src="http://ecx.images-amazon.com/images/I/51yzvygWW8L._BO2,204,203,200_PIsitb-sticker-arrow-click,TopRight,35,-76_AA150_SH20_OU02_.jpg" border="0"><br />
Cisco Networking for Dummies</a></td>
<td>&nbsp;</td>
<td valign="top" align="center"><a href="http://www.amazon.co.uk/gp/product/0596527225?ie=UTF8&#038;tag=beabi-21"><img src="http://ecx.images-amazon.com/images/I/51tMNtlYIeL._BO2,204,203,200_PIsitb-sticker-arrow-click,TopRight,35,-76_AA150_SH20_OU02_.jpg" border="0"><br />
Cisco IOS in a Nutshell &#8211; O&#8217;Reilly</a></td>
</tr>
</table>
<p>&nbsp;</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://www.phirebird.net/2009/05/configuring-a-client-to-site-vpn-through-pptp-on-a-cisco-router/&amp;n=Configuring+a+client-to-site+VPN+through+PPTP+on+a+Cisco+router&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://www.phirebird.net/2009/05/configuring-a-client-to-site-vpn-through-pptp-on-a-cisco-router/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.phirebird.net/2009/05/configuring-a-client-to-site-vpn-through-pptp-on-a-cisco-router/&amp;title=Configuring+a+client-to-site+VPN+through+PPTP+on+a+Cisco+router" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.phirebird.net/2009/05/configuring-a-client-to-site-vpn-through-pptp-on-a-cisco-router/&amp;title=Configuring+a+client-to-site+VPN+through+PPTP+on+a+Cisco+router" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.phirebird.net/2009/05/configuring-a-client-to-site-vpn-through-pptp-on-a-cisco-router/&amp;t=Configuring+a+client-to-site+VPN+through+PPTP+on+a+Cisco+router" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.phirebird.net/2009/05/configuring-a-client-to-site-vpn-through-pptp-on-a-cisco-router/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.phirebird.net/2009/05/configuring-a-client-to-site-vpn-through-pptp-on-a-cisco-router/&amp;title=Configuring+a+client-to-site+VPN+through+PPTP+on+a+Cisco+router" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.phirebird.net/2009/05/configuring-a-client-to-site-vpn-through-pptp-on-a-cisco-router/&amp;title=Configuring+a+client-to-site+VPN+through+PPTP+on+a+Cisco+router" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.phirebird.net/2009/05/configuring-a-client-to-site-vpn-through-pptp-on-a-cisco-router/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Configuring+a+client-to-site+VPN+through+PPTP+on+a+Cisco+router+-+http://www.phirebird.net/2009/05/configuring-a-client-to-site-vpn-through-pptp-on-a-cisco-router/&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.phirebird.net/2009/05/configuring-a-client-to-site-vpn-through-pptp-on-a-cisco-router/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
	</channel>
</rss>

