Increase RasClient initial request timeout

Hi,

I am using the builtin VPN client to connect to a strongswan VPN gateway. When authenticating with certificates strongswan checks the revokation status. This can take a while, leading the RasClient into quiting with error 809 (the other side did not answer). Is there a way to increase the "initiation timeout"?

Cheers

__CRISTIAN


  • Edited by __CRISTIAN Saturday, April 11, 2015 2:44 PM
April 11th, 2015 2:42pm

Hi CRIS,

This is not a simple question, it may take a while to locate and as you said often if it is the default value there is no "tweakable" registry key and I am supposing you are using PPTP for VPN client.

Since there is only one article about this timehold value, however it is very old. I had to dig it in registry and I think it is MaxConfigure

HKEY_LOCAL_MACHINE\System\CurrentControlset\services\RasMan\PPP

In this article it mentioned that to alter the default, the user must add the following registry parameters to the system.

https://support.microsoft.com/en-us/kb/193841/en-us

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Raspptpe\Parameters \Configuration\

InactivityIdleSeconds: REG_DWORD: default: 60 Number of seconds PPTP will go with no activity on the control channel.

EchoReplyTimeoutSeconds: REG_DWORD: default: 60 Number of seconds PPTP will wait for a reply from an echo request. If reply is not received, PPTP drops the connection.

I didnt find this value in Windows 7 and Windows 8, but I am supposing you could give it a try by create a new value in

HKEY_LOCAL_MACHINE\System\CurrentControlset\services\RasMan\Parameters

IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs.

For information on how to do this

https://support.microsoft.com/en-us/kb/322756

Regards,

D. Wu

Free Windows Admin Tool Kit Click here and download it now
April 14th, 2015 6:03am

Hi Deason,

thank you for your reply. I am using the AgileVPN client aka IKEv2. Sorry for not pointing that out.

I have been rifling through the registry myself. I found:

HKLM\SYSTEM\CurrentControlSet\Services\RasMan\PPP\NegotiateTime

https://technet.microsoft.com/en-us/library/cc962370.aspx

But this is only for PPP connecitons. The default is already at 150 seconds and it seems to work for PPP connections. For IKEv2 with computer certificates this seems to have no effect.

Greetings 

__CRISTIAN

April 14th, 2015 6:44am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics