L2TP Client: Windows: Difference between revisions
Appearance
Content deleted Content added
mNo edit summary |
|||
| (14 intermediate revisions by the same user not shown) | |||
| Line 5: | Line 5: | ||
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 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. |
||
==Initial setup== |
==Initial connection setup== |
||
[[File:L2TP-windows2.PNG|thumb]] |
|||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
[[File:L2TP-windows1.PNG|thumb]] |
|||
You should then be able to connect and disconnect via the Network icon in your Start bar. |
You should then be able to connect and disconnect via the Network icon in your Start bar. |
||
| Line 26: | Line 28: | ||
Once the connection has been created, ensure CHAP authentication is enabled: |
Once the connection has been created, ensure CHAP authentication is enabled: |
||
[[File:L2TP-windows3.PNG|thumb]] |
|||
# Open Network and Sharing Centre |
# Open Network and Sharing Centre |
||
# Click Change adapter settings |
# Click Change adapter settings |
||
| Line 37: | Line 39: | ||
==Disable IPsec== |
==Disable IPsec== |
||
The A&A L2TP service does not support IPsec, so this needs to be turned off. |
|||
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) |
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) |
||
| Line 45: | Line 48: | ||
SC START RASMAN |
SC START RASMAN |
||
</syntaxhighlight> |
</syntaxhighlight> |
||
==Split tunnel routing== |
|||
This is more of an advanced topic, and if you're looking in to this then you probably know what you're doing already! |
|||
It's possible to only send certain traffic over the L2TP and send the rest of your traffic over your normal internet connection. |
|||
You can do this by disabling the option to use the default gateway of the L2TP - this is a setting found in the TCPIP settings of the L2TP connection Adaptor settings: |
|||
#Start |
|||
#Control Panel (cog icon) |
|||
#Network & Internet |
|||
#VPN (link on left panel) |
|||
#Change adaptor settings |
|||
#Right-click on AA L2TP, click properties |
|||
#Networking tab |
|||
#Double click TCP/IP |
|||
#Advanced |
|||
#Untick 'Use default gateway on remote network |
|||
You can then use various commands to route specific traffic over the L2TP, eg, for example if you only want to send "81.187.30.81/32 over the L2TP, then you can use this PowerShell command: |
|||
Add-VpnConnectionRoute -ConnectionName "AA L2TP" -DestinationPrefix "81.187.30.81/32" -PassThru |
|||
You can then go to http://ip4.help.me.uk (which is hosted on that IP) and it will show your L2TP IP address. |
|||
== Windows 7 == |
== Windows 7 == |
||
'''(Upgrade to Windows 10, or later!)''' |
|||
This probably applies to Windows 8 too. |
This probably applies to Windows 8 too. |
||