I have a VPS running windows server 2012 R2. I need to connect to a VPN throw L2TP on this machine.

I connect to this server with remote desktop and everything is good. Also I created VPN connection. But when I enter VPN username and password and press connect, remote desktop hangs and disconnects instantly. And server needs to reboot to use again.

Any idea how to solve it?


2 Answers 2


Problem solved. By unchecking "Use default gateway" in IPv4 and IPv6 settings of VPN properties.


This happened to me too. I don't have a "Use default gateway on remote network" checkbox to check. There is a solid workaround: use an alternate method to remote into the machine like GoToMyPC. It uses a different method of connecting, and in my case I was able to connect with it and then initiate the VPN connection without trouble.

Not the answer you're looking for? Browse other questions tagged or ask your own question.