Page 1 of 1

improving speed at which windows client connect

Posted: Mon Mar 14, 2011 6:10 pm
by chrismcv
Hi,
I was wondering if I could ask for advice on improving speed on Windows for establishing the connection. Is there anything that can be done.

For a local VPN Server, it can take 10s to assign the TAP IP, add the routes and so forth.

I'm going to try and remove the route addition, but I don't think this will help. In my ubuntu VM, the connection time is less than 1s.

Config file below fyi.

Regards,
Chris


#OpenVPN Server conf
tls-client
client
dev tun
proto udp
tun-mtu 1500
mssfix 1300
remote 192.168.1.240 1194
pkcs12 test.p12
cipher BF-CBC
comp-lzo
verb 3
ns-cert-type server

Re: improving speed at which windows client connect

Posted: Tue Mar 15, 2011 2:10 pm
by maikcat
hi there,

when you built your keys,
which key size you choose for diffie-hellman parameters? 1024? 2048?

try 512....;) (not too good for security though)

michael.

Re: improving speed at which windows client connect

Posted: Tue Mar 15, 2011 2:24 pm
by chrismcv
I used 1024. I'm not inclined to shrink this, as security is important.

Is Windows particularly slow at this? (Using a ubuntu VM on same machine is much faster, so it can't be a hardware issue)

Cheers,
Chris