<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>http://vwiki.co.uk/index.php?action=history&amp;feed=atom&amp;title=PPTP_VPN_%28Vyatta%29</id>
	<title>PPTP VPN (Vyatta) - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://vwiki.co.uk/index.php?action=history&amp;feed=atom&amp;title=PPTP_VPN_%28Vyatta%29"/>
	<link rel="alternate" type="text/html" href="http://vwiki.co.uk/index.php?title=PPTP_VPN_(Vyatta)&amp;action=history"/>
	<updated>2026-05-29T21:10:44Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>http://vwiki.co.uk/index.php?title=PPTP_VPN_(Vyatta)&amp;diff=2408&amp;oldid=prev</id>
		<title>Sstrutt: Initial creation</title>
		<link rel="alternate" type="text/html" href="http://vwiki.co.uk/index.php?title=PPTP_VPN_(Vyatta)&amp;diff=2408&amp;oldid=prev"/>
		<updated>2013-11-26T14:16:29Z</updated>

		<summary type="html">&lt;p&gt;Initial creation&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Instructions on how to set-up a client/user PPTP VPN solution using a Vyatta router.  For anymore than a handful of users, its best to use centralised user account management, eg RADIUS running on a Win2008 DC.&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
* Range of internal addresses to be assigned to users when they connect&lt;br /&gt;
* IP of RADIUS server and shared secret (if using RADIUS authentication)&lt;br /&gt;
* DNS server IP&amp;#039;s for VPN clients&lt;br /&gt;
* VPN address (external IP of router)&lt;br /&gt;
&lt;br /&gt;
Even if you expect to use RADIUS configuration, its probably best to configure using local authentication and a test account, so that you can test its basically working.  Then add the two lines for RADIUS authentication.&lt;br /&gt;
&lt;br /&gt;
== Firewall Configuration ==&lt;br /&gt;
Create a rule to allow the initial connection...&lt;br /&gt;
 set firewall name eth0-local rule 10 description &amp;quot;PPTP access - Initial&amp;quot;&lt;br /&gt;
 set firewall name eth0-local rule 10 destination port 1723&lt;br /&gt;
 set firewall name eth0-local rule 10 protocol tcp&lt;br /&gt;
 set firewall name eth0-local rule 10 action accept&lt;br /&gt;
&lt;br /&gt;
There should be an existing rule to allow established and related connections.  Show the config and look for &lt;br /&gt;
&lt;br /&gt;
 rule 10 {&lt;br /&gt;
    action accept&lt;br /&gt;
    description ESTABLISHED&lt;br /&gt;
    state {&lt;br /&gt;
      established enable&lt;br /&gt;
      related enable&lt;br /&gt;
     }&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
You can either add missing rule above, o0r create on specifically for PPTP Data traffic...&lt;br /&gt;
 set firewall name eth0-local rule 60 description &amp;quot;PPTP access - Data&amp;quot;&lt;br /&gt;
 set firewall name eth0-local rule 60 protocol gre (or &amp;quot;protocol 47&amp;quot;)&lt;br /&gt;
 set firewall name eth0-local rule 60 action accept&lt;br /&gt;
&lt;br /&gt;
== PPTP Configuration ==&lt;br /&gt;
=== Local Authentication ===&lt;br /&gt;
Example using local accounts for authentication.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
set vpn pptp&lt;br /&gt;
set vpn pptp remote-access client-ip-pool start 192.168.11.100&lt;br /&gt;
set vpn pptp remote-access client-ip-pool stop 192.168.11.149&lt;br /&gt;
set vpn pptp remote-access authentication mode local&lt;br /&gt;
set vpn pptp remote-access authentication local-users username user1 password pass1&lt;br /&gt;
set vpn pptp remote-access dns-servers server-1 192.168.11.10&lt;br /&gt;
set vpn pptp remote-access dns-servers server-2 192.168.11.20&lt;br /&gt;
set vpn pptp remote-access outside-address 88.164.78.54&lt;br /&gt;
commit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Repeat the &amp;lt;code&amp;gt;set vpn pptp remote-access authentication local-users&amp;lt;/code&amp;gt; line for each required user.&lt;br /&gt;
&lt;br /&gt;
=== RADIUS Authentication ===&lt;br /&gt;
Example using centrally managed RADIUS for authentication.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
set vpn pptp&lt;br /&gt;
set vpn pptp remote-access client-ip-pool start 192.168.11.100&lt;br /&gt;
set vpn pptp remote-access client-ip-pool stop 192.168.11.149&lt;br /&gt;
set vpn pptp remote-access authentication mode radius&lt;br /&gt;
set vpn pptp remote-access authentication radius-server 10.255.96.5 key 456479vrf&lt;br /&gt;
set vpn pptp remote-access dns-servers server-1 192.168.11.10&lt;br /&gt;
set vpn pptp remote-access dns-servers server-2 192.168.11.20&lt;br /&gt;
set vpn pptp remote-access outside-address 88.164.78.54&lt;br /&gt;
commit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== MS NPS Setup ==&lt;br /&gt;
Microsoft Network Policy Server setup guidance.  Use the following as a guide...&lt;br /&gt;
* http://www.ranjodh.com/networking/setup-windows-server-2008-r2-as-radius-server-for-cisco-asa/&lt;br /&gt;
&lt;br /&gt;
Make sure you remove the following attributes&lt;br /&gt;
* Framed-Protocol PPP&lt;br /&gt;
* Service-Type Framed&lt;br /&gt;
&lt;br /&gt;
Ensure that the only Network Policy | Settings encryption option ticked is&lt;br /&gt;
* Strongest encryption (MPPE 128-Bit)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
If connections are not completing properly use &amp;lt;code&amp;gt;show log&amp;lt;/code&amp;gt; to see the Vyatta activity log.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;MPPE required, but keys are not available.  Possible plugin problem?&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
** Make sure that &amp;#039;&amp;#039;only&amp;#039;&amp;#039; 128 bit MPPE Encryption is configured in the connection profile on the RADIUS server.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Vyatta]]&lt;/div&gt;</summary>
		<author><name>Sstrutt</name></author>
	</entry>
</feed>