We have a windows 7 64 bit machine.
It connects fine the first time. 1hour later it drops connection. Config file and log below. works fine on windows xp. Any help would be much appreciated as we are not sure what is happening
LOG
Wed Apr 04 07:15:15 2012 OpenVPN 2.2.2 Win32-MSVC++ [SSL] [LZO2] [PKCS11] built on Dec 15 2011
Wed Apr 04 07:15:15 2012 WARNING: No server certificate verification method has been enabled. See
http://openvpn.net/howto.html#mitm for more info.
Wed Apr 04 07:15:15 2012 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Wed Apr 04 07:15:15 2012 LZO compression initialized
Wed Apr 04 07:15:15 2012 Control Channel MTU parms [ L:1542 D:138 EF:38 EB:0 ET:0 EL:0 ]
Wed Apr 04 07:15:15 2012 Socket Buffers: R=[8192->8192] S=[8192->8192]
Wed Apr 04 07:15:15 2012 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
Wed Apr 04 07:15:15 2012 Local Options hash (VER=V4): '41690919'
Wed Apr 04 07:15:15 2012 Expected Remote Options hash (VER=V4): '530fdded'
Wed Apr 04 07:15:15 2012 UDPv4 link local: [undef]
Wed Apr 04 07:15:15 2012 UDPv4 link remote: 72.55.145.241:1164
Wed Apr 04 07:15:15 2012 TLS: Initial packet from 72.55.145.241:1164, sid=02537c20 87541a39
Wed Apr 04 07:15:15 2012 VERIFY OK: depth=1, /C=CA/ST=ONTARIO/L=Brampton/O=OpenVPN-Amjay/CN=1164/emailAddress=
amja@rogers.com
Wed Apr 04 07:15:15 2012 VERIFY OK: depth=0, /C=CA/ST=ONTARIO/O=OpenVPN-Amjay/CN=1164/emailAddress=
amja@rogers.com
Wed Apr 04 07:15:15 2012 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Wed Apr 04 07:15:15 2012 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Wed Apr 04 07:15:15 2012 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Wed Apr 04 07:15:15 2012 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Wed Apr 04 07:15:15 2012 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA
Wed Apr 04 07:15:15 2012 [1164] Peer Connection Initiated with 72.55.145.241:1164
Wed Apr 04 07:15:18 2012 SENT CONTROL [1164]: 'PUSH_REQUEST' (status=1)
Wed Apr 04 07:15:18 2012 PUSH: Received control message: 'PUSH_REPLY,route 10.2.0.0 255.255.0.0,route 10.2.164.0 255.255.255.0,topology net30,ping 10,ping-restart 120,ifconfig 10.2.164.101 10.2.164.102'
Wed Apr 04 07:15:18 2012 OPTIONS IMPORT: timers and/or timeouts modified
Wed Apr 04 07:15:18 2012 OPTIONS IMPORT: --ifconfig/up options modified
Wed Apr 04 07:15:18 2012 OPTIONS IMPORT: route options modified
Wed Apr 04 07:15:18 2012 ROUTE default_gateway=192.168.11.1
Wed Apr 04 07:15:18 2012 TAP-WIN32 device [Local Area Connection 2] opened: \\.\Global\{C6753FF4-C847-45F7-9A95-714CBB0E68AF}.tap
Wed Apr 04 07:15:18 2012 TAP-Win32 Driver Version 9.9
Wed Apr 04 07:15:18 2012 TAP-Win32 MTU=1500
Wed Apr 04 07:15:18 2012 Notified TAP-Win32 driver to set a DHCP IP/netmask of 10.2.164.101/255.255.255.252 on interface {C6753FF4-C847-45F7-9A95-714CBB0E68AF} [DHCP-serv: 10.2.164.102, lease-time: 31536000]
Wed Apr 04 07:15:18 2012 Successful ARP Flush on interface [17] {C6753FF4-C847-45F7-9A95-714CBB0E68AF}
Wed Apr 04 07:15:23 2012 TEST ROUTES: 2/2 succeeded len=2 ret=1 a=0 u/d=up
Wed Apr 04 07:15:23 2012 C:\WINDOWS\system32\route.exe ADD 10.2.0.0 MASK 255.255.0.0 10.2.164.102
Wed Apr 04 07:15:23 2012 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=30 and dwForwardType=4
Wed Apr 04 07:15:23 2012 Route addition via IPAPI succeeded [adaptive]
Wed Apr 04 07:15:23 2012 C:\WINDOWS\system32\route.exe ADD 10.2.164.0 MASK 255.255.255.0 10.2.164.102
Wed Apr 04 07:15:23 2012 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=30 and dwForwardType=4
Wed Apr 04 07:15:23 2012 Route addition via IPAPI succeeded [adaptive]
Wed Apr 04 07:15:23 2012 Initialization Sequence Completed
Wed Apr 04 08:15:15 2012 TLS: soft reset sec=0 bytes=83770/0 pkts=910/0
Wed Apr 04 08:15:15 2012 VERIFY OK: depth=1, /C=CA/ST=ONTARIO/L=Brampton/O=OpenVPN-Amjay/CN=1164/emailAddress=
amja@rogers.com
Wed Apr 04 08:15:15 2012 VERIFY OK: depth=0, /C=CA/ST=ONTARIO/O=OpenVPN-Amjay/CN=1164/emailAddress=
amja@rogers.com
Wed Apr 04 08:15:15 2012 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Wed Apr 04 08:15:15 2012 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Wed Apr 04 08:15:15 2012 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Wed Apr 04 08:15:15 2012 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Wed Apr 04 08:15:15 2012 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA
CONFIG
# 1. set the correct port number here
remote xxx.xxx.xxx xxxx
# 2. set the correct file name matching the port above
ca ca.crt
# 3. set the following 2 lines to the correct key files
cert 1164_1.crt
key 1164_1.key
#don't touch the following lines
client
dev tun
proto udp
resolv-retry infinite
nobind
persist-key
persist-tun
comp-lzo
verb 3