improving speed at which windows client connect

This forum is for admins who are looking to build or expand their OpenVPN setup.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
chrismcv
OpenVpn Newbie
Posts: 18
Joined: Mon Mar 14, 2011 6:05 pm

improving speed at which windows client connect

Post by chrismcv » Mon Mar 14, 2011 6:10 pm

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

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: improving speed at which windows client connect

Post by maikcat » Tue Mar 15, 2011 2:10 pm

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.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

chrismcv
OpenVpn Newbie
Posts: 18
Joined: Mon Mar 14, 2011 6:05 pm

Re: improving speed at which windows client connect

Post by chrismcv » Tue Mar 15, 2011 2:24 pm

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

Post Reply