SSTP client disconnects shortly after successfully connected to VPN

Posted by Eran Betzalel on Server Fault See other posts from Server Fault or by Eran Betzalel
Published on 2012-07-26T23:44:17Z Indexed on 2012/12/10 5:08 UTC
Read the original article Hit count: 3107

Filed under:
|
|

I'm successfully authenticating and connecting to a SSTP VPN (on windows 2008) from my windows 7 machine, but for some reason, the connection is disconnected about a 1-2 seconds after it's established.

I've done the following:

  • Defined a SSTP VPN on my windows server 2008.
  • Defined the same machine as CA.
  • Issued the needed certificates and published them on the client.
  • I'm currently testing this VPN inside my LAN so all the needed ports are opened.

Here are the event log entries when trying to connect:

Error Log (Client):

The user HOME\User dialed a connection named Home VPN which has terminated. The reason code returned on termination is 829.

Error Log (Server-VPN):

The user HOME\User connected on port VPN0-0 on 7/27/2012 at 1:57 AM and disconnected on 7/27/2012 at 1:57 AM. The user was active for 0 minutes 0 seconds. 312 bytes were sent and 4528 bytes were received. The reason for disconnecting was user request.

What would be the issue? How can I resolve or debug it?

UPDATE: I've found an event log (Log=System, Source=RasSstp) message on the windows 7 machine that tries to connect to the VPN:

The SSTP-based VPN connection to the remote access server was terminated because of a security check failure. Security settings on the remote access server do not match settings on this computer. Contact the system administrator of the remote access server and relay the following information:

SHA1 Certificate Hash: 065D681...520375552F

SHA256 Certificate Hash: 18DED363...EEEE28CFD00

© Server Fault or respective owner

Related posts about windows-server-2008

Related posts about vpn