Jump to content

This is the support site for Andrews & Arnold Ltd, a UK Internet provider. Information on these pages is generally for our customers but may be useful to others, enjoy!

L2TP Client: Windows: Difference between revisions

m
== Windows 10 ==
 
Windows 10 has a built in L2TP client, there are a couple of extra bits that may be needed to get this to work once you've set up the initial connections - there are two extra steps below regarding ipsec and CHAP.
Windows 10 seems very keen on using IPsec with L2TP. To turn this off, in an Administrator Command Prompt do: (Click start, type cmd, press Ctrl-Shift-Enter)
<syntaxhighlight lang=shell>
SC STOP RASMAN ; you may have to wait a bit for this to stop
SC QUERY RASMAN ; ensure it is STOPPED
REG ADD HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Rasman\Parameters /v ProhibitIpSec /t REG_DWORD /d 1 /f
SC START RASMAN
</syntaxhighlight>
 
==Initial setup==
Also, once the connection has been created, ensure CHAP authentication is enabled:
*Start
*Control Panel (cog icon)
*Network and Internet
*VPN (link on left panel)
*Add a VPN connection, with these details:
**VPN Provider = built in
**Connection Name: AAISP L2TP
**Server name: l2tp.aa.net.uk
**Type: L2TP (With certificate (we'll disable ipsec later))
** username: your xxx@a.1 username
** your password
*Click save
 
You should then be able to connect via the Network icon in your Start bar.
 
However, the following two steps may be needed too:
 
==Enable CHAP==
 
Also, onceOnce the connection has been created, ensure CHAP authentication is enabled:
 
# Open Network and Sharing Centre
# Select the 'Allow these protocols' radio button
# Ensure 'Challenge Handshake Authentication Protocol (CHAP)' is checked.
 
==Disable IPsec==
 
Windows 10 seems very keen on using IPsec with L2TP. To turn this off, in an Administrator Command Prompt do: (Click start, type cmd, press Ctrl-Shift-Enter)
<syntaxhighlight lang=shell>
SC STOP RASMAN ; you may have to wait a bit for this to stop
SC QUERY RASMAN ; ensure it is STOPPED
REG ADD HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Rasman\Parameters /v ProhibitIpSec /t REG_DWORD /d 1 /f
SC START RASMAN
</syntaxhighlight>
 
== Windows 7 ==
autoreview, Bureaucrats, editor, Interface administrators, reviewer, Administrators
12,270

edits