After installing OpenVPN 2.0 on a Linux Server and 2 windows desktops (1 Win2K and 1 WinXP) I noticed that from time to time my VPN connection were unable to get an IP address and would just hang forever (more so on XP the Win2K). Upon doing further research, it appears that it is exactly the same problem as the post from almost a year ago regarding 2.0 beta 11 at: http://openvpn.net/archive/openvpn-users/2004-08/msg00592.html and indicated by the repetitive log entries:
Tue May 24 12:26:00 2005 TEST ROUTES: 0/0 succeeded len=3 ret=0 a=0 u/d=down Tue May 24 12:26:00 2005 Route: Waiting for TUN/TAP interface to come up... Tue May 24 12:26:01 2005 TEST ROUTES: 0/0 succeeded len=3 ret=0 a=0 u/d=down Tue May 24 12:26:01 2005 Route: Waiting for TUN/TAP interface to come up... Tue May 24 12:26:02 2005 TEST ROUTES: 0/0 succeeded len=3 ret=0 a=0 u/d=down Tue May 24 12:26:02 2005 Route: Waiting for TUN/TAP interface to come up... Tue May 24 12:26:04 2005 TEST ROUTES: 0/0 succeeded len=3 ret=0 a=0 u/d=down Tue May 24 12:26:04 2005 Route: Waiting for TUN/TAP interface to come up... Tue May 24 12:26:05 2005 TEST ROUTES: 0/0 succeeded len=3 ret=0 a=0 u/d=down I found that there were a couple of things that made this problem go away and wanted to share them with the group: First, adding the following options to my windows clients helped (but didn't solve the problem): keepalive 10 20 route-delay 30 30 float What really solved the problem, was to add the windows "Dhcp" service and any other relatedservices (such as VMWare's DHCP client) to the dependencies for the OpenVPN service. This can be done by editing the registry key located at HKLM\SYSTEM\CurrentControlSet\Services\OpenVPNService\DependOnService, and adding the following lines: Dhcp VMnet VMnetDHCP VMnetx While the problem appears to be somewhat random, it happens most when starting up the PC (as indicated by the service dependencies) and repeatedly un-plugging the Ethernet cable in rapid succession (why you would ever do this other then for testing is beyond me). As a result, I would suggestion that the Windows installer for OpenVPN add the "Dhcp" service as a dependency. I hope that helps. Cullin J. Wible Algorim Technologies, LLC