irrelevant
The L2TP connection attempt failed because the security layer could not negotiate compatible parameters with the remote computer.
1. check the configuration of router is correct
#
Modify the regedit of Win11 as follows:
1
2
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PolicyAgent
Edit-->New-->dword
Set value of AssumeUDPEncapsulationContextOnSendRule 2
3:Find this path
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RasMan\Parameters
Edit-->New-->dword
Set value of ProhibitIPSec 1
Set value of AllowL2TPWeakCrypto 1
Start the relevant services:
1
IPsec Policy Agent和Routing
and Remote Access
Modify the vpn parameter,