Windows 10: L2TP VPN with pre-shared key connection error

Discus and support L2TP VPN with pre-shared key connection error in Windows 10 Software and Apps to solve the problem; Hello,I desperately try to connect to one of the subsidiaries of my company through a VPN.First they sent me all the parameters to set up the... Discussion in 'Windows 10 Software and Apps' started by JulienMnt, Jul 4, 2023.

  1. JulienMnt Win User

    L2TP VPN with pre-shared key connection error


    Hello,I desperately try to connect to one of the subsidiaries of my company through a VPN.First they sent me all the parameters to set up the connection and it was a L2TP/IPsec with certificate configuration.We configured our firewall to allow the connection I also tried outside of our network.I kept having the error "The L2TP connection attempt failed because the security layer encountered a processing error during initial negotiations with the remote computer."I did some research and tried to apply all the solutions found on many forums:Enable LCP extensionsAllow protocol Microsoft CHAP Ve

    :)
     
    JulienMnt, Jul 4, 2023
    #1

  2. L2TP VPN on Lumia 950 giving error code 812

    Hello,

    I recently purchased a Lumia 950 (AT&T running Windows 10 Mobile build 10.0.10586.0.

    When I configure my work IPSec L2TP VPN connection on my phone and then attempt to connect, it attempts to connect, then fails displaying the error:

    The VPN connection failed with error code 812.

    This seems to happen after the credentials are accepted.

    During the connection attempt on the phone, the status display progresses as follows:

    • Connecting to <address of my VPN server>
    • Verifying your credentials
    • Connecting to <address of my VPN server>
    • The VPN connection failed with error code 812.
    When I look at the logs of my VPN server, a connection is actually established successfully by the client, then immediately terminated.

    I'm not positive who is terminating the connection on who (client or server).

    VPN Settings configured on the Lumia 950 are as follows:

    Connection name: My Work

    Server name or address: <address of my VPN server>

    VPN Type: L2TP/IPsec with pre-shared key

    Pre-shared key: <pre-shared key that is configured on my VPN server & working on other devices>

    Type of sign-in info: User name and password

    I have typed the username & password in again multiple times to confirm it is correct. It is.

    Furthermore, I have a Lumia 925 running Windows Phone 8.1. It connects perfectly using these same settings.

    It seems something changed in Windows 10 Mobile that caused this VPN connection to stop working.

    Do you have any suggestions on how I might be able to get this resolved?

    I really need the VPN to be working.

    Thanks!

    -

    Doug Mortensen

    Impala Networks
     
    Douglas Mortensen, Jul 4, 2023
    #2
  3. Error: 788, when connecting to L2TP VPN

    Hi there, recently I got this error when connecting to "L2TP/IPSec with certificate" VPN. I'm not sure what cause this.

    I have already follow some of this steps with no luck :

    • Adding AssumeUDPEncapsulationContextOnSendRule
    • Restarting both IKE and IPSec services
    • Allowing both CHAP and MS-CHAP v2
    • Reset network connection
    • Connect to different provider
    • Re-adding VPN settings
    There also little bit information can be found in the event viewer :

    CoId={AEE0E2A8-34DF-41BB-B5F0-0458EFD41751}: The user xxx\xxx has started dialing a VPN connection using a per-user connection profile named yes. The connection settings are:

    Dial-in User = *\

    VpnStrategy = L2TP

    DataEncryption = Requested

    PrerequisiteEntry =

    AutoLogon = No

    UseRasCredentials = Yes

    Authentication Type = PAP

    Ipv4DefaultGateway = Yes

    Ipv4AddressAssignment = By Server

    Ipv4DNSServerAssignment = By Server

    Ipv6DefaultGateway = Yes

    Ipv6AddressAssignment = By Server

    Ipv6DNSServerAssignment = By Server

    IpDnsFlags =

    IpNBTEnabled = Yes

    UseFlags = Private Connection

    ConnectOnWinlogon = No

    IPsec authentication for L2TP = Machine certificate.

    CoId={AEE0E2A8-34DF-41BB-B5F0-0458EFD41751}: The user xxx\xxx is trying to establish a link to the Remote Access Server for the connection named yes using the following device:

    Server address/Phone Number = xxx.xxx.xxx.xxx

    Device = WAN Miniport (L2TP)

    Port = VPN3-1

    MediaType = VPN.

    CoId={AEE0E2A8-34DF-41BB-B5F0-0458EFD41751}: The user xxx\xxx dialed a connection named yes which has failed. The error code returned on failure is 788.

    ***Original title: VPN Error 788***
     
    Syafii Azami, Jul 4, 2023
    #3
  4. L2TP VPN with pre-shared key connection error

    L2TP/IPsec with pre-shared key refuses to connect

    I am running Win 10 Home, 10.0.18393 Build 18363. I am trying to connect to my work VPN L2TP/IPsec with pre-shared key. Back in March I was able to connect. I then I switched to my work PC and connected to the same VPN with no issues. Now that I moved my
    work PC to my office, I am trying to use my personal PC to connect to the VPN and it refuses to. I have done most of the "fixes" out there, i.e. disable Xbox network, regedit adding a line, turned off firewall (defender, not using an other), checked ports
    etc... I feel I have tried them all and it will not connect. I keep getting the same error 809. I am hoping someone can give me some insight since my last resort is to reinstall windows (I don't want to do this). Oh and I am able to connect on my phone on
    wifi to the VPN.

    Thank in advance.

    EDIT:

    I am not sure if this was a fix or just coincidence but I upgraded to Win10 pro and it works.
     
    Wolv3rin381, Jul 4, 2023
    #4
Thema:

L2TP VPN with pre-shared key connection error

Loading...
  1. L2TP VPN with pre-shared key connection error - Similar Threads - L2TP VPN pre

  2. L2TP VPN with pre-shared key connection error

    in Windows 10 Gaming
    L2TP VPN with pre-shared key connection error: Hello,I desperately try to connect to one of the subsidiaries of my company through a VPN.First they sent me all the parameters to set up the connection and it was a L2TP/IPsec with certificate configuration.We configured our firewall to allow the connection I also tried...
  3. The L2TP connection attempt failed error VPN

    in Windows 10 Gaming
    The L2TP connection attempt failed error VPN: Hi,I just recently got instructions from my company to install VPN, everything worked fine for few days and now i got this message:The L2TP connection attempt failed because the security layer encountered a processing error during the initial negotiations with the remote...
  4. The L2TP connection attempt failed error VPN

    in Windows 10 Software and Apps
    The L2TP connection attempt failed error VPN: Hi,I just recently got instructions from my company to install VPN, everything worked fine for few days and now i got this message:The L2TP connection attempt failed because the security layer encountered a processing error during the initial negotiations with the remote...
  5. Can't connect with Vpn L2TP

    in Windows 10 Gaming
    Can't connect with Vpn L2TP: Can anyone help me? I have a vpn problem with this error message capture below. I found a post saying it's because of windows update KB5009543. But I don't have this update in my system. Even after uninstalling the other recent update, still the same error.I still have access...
  6. Can't connect with Vpn L2TP

    in Windows 10 Software and Apps
    Can't connect with Vpn L2TP: Can anyone help me? I have a vpn problem with this error message capture below. I found a post saying it's because of windows update KB5009543. But I don't have this update in my system. Even after uninstalling the other recent update, still the same error.I still have access...
  7. Can't connect with Vpn L2TP

    in Windows 10 Network and Sharing
    Can't connect with Vpn L2TP: Can anyone help me? I have a vpn problem with this error message capture below. I found a post saying it's because of windows update KB5009543. But I don't have this update in my system. Even after uninstalling the other recent update, still the same error.I still have access...
  8. Unable to connect to L2TP/IPSEC VPN

    in Windows 10 Network and Sharing
    Unable to connect to L2TP/IPSEC VPN: Hi there, I was hoping someone here could help me troubleshoot the issue as I have exhausted my internet search powers :-The issue is this:- I have a Win10, a Mac and a Linux computer. - The Windows computer cannot connect to the VPN via the home network.- The Windows...
  9. L2TP/IPsec with pre-shared key refuses to connect

    in Windows 10 Network and Sharing
    L2TP/IPsec with pre-shared key refuses to connect: I am running Win 10 Home, 10.0.18393 Build 18363. I am trying to connect to my work VPN L2TP/IPsec with pre-shared key. Back in March I was able to connect. I then I switched to my work PC and connected to the same VPN with no issues. Now that I moved my work PC to my office,...
  10. Error: 788, when connecting to L2TP VPN

    in Windows 10 Network and Sharing
    Error: 788, when connecting to L2TP VPN: Hi there, recently I got this error when connecting to "L2TP/IPSec with certificate" VPN. I'm not sure what cause this. I have already follow some of this steps with no luck : Adding AssumeUDPEncapsulationContextOnSendRule Restarting both IKE and IPSec services Allowing...