Page 1 of 1

Windows 10 L2TP Client Setup not working

Posted: Tue Oct 03, 2017 5:16 am
by sevpn
Hello,

I've got a working installation of SoftEther VPN running on a remote server, and I've been able to successfully connect using the proprietary SoftEther Client for Windows, so I know the server is running correctly.

In the SoftEther server manager, I've allowed L2TP and set a pre-shared key.

On the client machine, I've followed all the directions here...
https://www.softether.org/4-docs/2-howt ... ient_Setup

...performing the equivalent settings for the Windows 10 VPN UI, including:
- ensuring the host IP is correct
- entering the correct user/password
- changing the adapter to use L2TP/IPSec and setting the pre-shared key

When I try to connect, it looks like Windows VPN client succesfully authenticates, but then it sits on "Connecting..." and never completes the connection. What's wrong?

Re: Windows 10 L2TP Client Setup not working

Posted: Tue Oct 03, 2017 9:18 pm
by sevpn
Any ideas?

Re: Windows 10 L2TP Client Setup not working

Posted: Fri Oct 06, 2017 4:55 am
by sevpn
Giving up on SoftEther for now.

Re: Windows 10 L2TP Client Setup not working

Posted: Sun Oct 15, 2017 10:17 am
by raafat
What about checking the logs of your machine?

Re: Windows 10 L2TP Client Setup not working

Posted: Sun Oct 15, 2017 4:50 pm
by sevpn
Yes, I looked. Nothing in the logs.

Re: Windows 10 L2TP Client Setup not working

Posted: Thu Oct 26, 2017 6:50 am
by thisjun
>In the SoftEther server manager, I've allowed L2TP and set a pre-shared key.

Please enable L2TP/IPSec not L2TP.

Did you configure port forwarding?

Re: Windows 10 L2TP Client Setup not working

Posted: Thu Jun 27, 2019 12:10 am
by larasker
Hi, sevpn, it's been a long time since your post, but even so it seems important to me to translate the solution that I found to the same problem, in this way it helps other people to solve it as well. First of all you must open the following ports on your router:

5555, SoftEther Management
500, SoftEther L2TP / IPSec
1701, SoftEther L2TP / IPSec
4500, SoftEther L2TP / IPSec

Then you must open a command window (CMD) in administrator mode and enable the following record:

REG ADD HKLM \ SYSTEM \ CurrentControlSet \ Services \ PolicyAgent / v AssumeUDPEncapsulationContextOnSendRule / t REG_DWORD / d 0x2 / f

Source: https://superuser.com/questions/1298513 ... ine-on-ios

Then, to create the connection of your client to your server I recommend the following video (duration 5 minutes):

https://www.youtube.com/watch?v=c0eqR0Q7e6I

Note that in the video the example is made with Windows 10, not with Windows 7 (in your link comes how to configure it with W7).

regards