This is my test:
Start VPN client on ubuntu server 10 at 10.59
client connected but at 11.34 disconnected. See log:
Sat Dec 24 11:34:24 2011 us=752333 Fatal TLS error (check_tls_errors_co), restarting
Sat Dec 24 11:34:24 2011 us=752975 TCP/UDP: Closing socket
Sat Dec 24 11:34:24 2011 us=753119 SIGUSR1[soft,tls-error] received, process restarting
Sat Dec 24 11:34:24 2011 us=753192 Restart pause, 5 second(s)
Sat Dec 24 11:34:29 2011 us=753329 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Sat Dec 24 11:34:29 2011 us=753474 Re-using SSL/TLS context
Sat Dec 24 11:34:29 2011 us=753537 LZO compression initialized
Sat Dec 24 11:34:29 2011 us=753666 Control Channel MTU parms [ L:1544 D:140 EF:40 EB:0 ET:0 EL:0 ]
Sat Dec 24 11:34:29 2011 us=753746 Socket Buffers: R=[87380->131072] S=[16384->131072]
Sat Dec 24 11:34:29 2011 us=753802 Data Channel MTU parms [ L:1544 D:1450 EF:44 EB:135 ET:0 EL:0 AF:3/1 ]
Sat Dec 24 11:34:29 2011 us=753866 Local Options String: 'V4,dev-type tun,link-mtu 1544,tun-mtu 1500,proto TCPv4_CLIENT,comp-lzo,cipher BF-CBC,auth SHA1,keysize 128,key-method 2,tls-client'
Sat Dec 24 11:34:29 2011 us=753895 Expected Remote Options String: 'V4,dev-type tun,link-mtu 1544,tun-mtu 1500,proto TCPv4_SERVER,comp-lzo,cipher BF-CBC,auth SHA1,keysize 128,key-method 2,tls-server'
Sat Dec 24 11:34:29 2011 us=753944 Local Options hash (VER=V4): '69109d17'
Sat Dec 24 11:34:29 2011 us=753987 Expected Remote Options hash (VER=V4): 'c0103fa8'
Sat Dec 24 11:34:29 2011 us=754028 Attempting to establish TCP connection with [AF_INET]109.233.121.102:1723 [nonblock]
Sat Dec 24 11:34:30 2011 us=754261 TCP connection established with [AF_INET]109.233.121.102:1723
Sat Dec 24 11:34:30 2011 us=754388 TCPv4_CLIENT link local: [undef]
Sat Dec 24 11:34:30 2011 us=754425 TCPv4_CLIENT link remote: [AF_INET]109.233.121.102:1723
WRSat Dec 24 11:34:30 2011 us=814143 TLS Error: unknown opcode received from [AF_INET]109.233.121.102:1723 op=0
Log is the same from 11.34 to 11.47 and client is disconnected. Then client connect automatically to VPN... Se log
Sat Dec 24 11:47:19 2011 us=798451 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Sat Dec 24 11:47:19 2011 us=798605 Re-using SSL/TLS context
Sat Dec 24 11:47:19 2011 us=798647 LZO compression initialized
Sat Dec 24 11:47:19 2011 us=798766 Control Channel MTU parms [ L:1544 D:140 EF:40 EB:0 ET:0 EL:0 ]
Sat Dec 24 11:47:19 2011 us=798874 Socket Buffers: R=[87380->131072] S=[16384->131072]
Sat Dec 24 11:47:19 2011 us=798931 Data Channel MTU parms [ L:1544 D:1450 EF:44 EB:135 ET:0 EL:0 AF:3/1 ]
Sat Dec 24 11:47:19 2011 us=798984 Local Options String: 'V4,dev-type tun,link-mtu 1544,tun-mtu 1500,proto TCPv4_CLIENT,comp-lzo,cipher BF-CBC,auth SHA1,keysize 128,key-method 2,tls-client'
Sat Dec 24 11:47:19 2011 us=799012 Expected Remote Options String: 'V4,dev-type tun,link-mtu 1544,tun-mtu 1500,proto TCPv4_SERVER,comp-lzo,cipher BF-CBC,auth SHA1,keysize 128,key-method 2,tls-server'
Sat Dec 24 11:47:19 2011 us=799059 Local Options hash (VER=V4): '69109d17'
Sat Dec 24 11:47:19 2011 us=799101 Expected Remote Options hash (VER=V4): 'c0103fa8'
Sat Dec 24 11:47:19 2011 us=799139 Attempting to establish TCP connection with [AF_INET]109.233.121.102:1723 [nonblock]
Sat Dec 24 11:47:20 2011 us=799352 TCP connection established with [AF_INET]109.233.121.102:1723
Sat Dec 24 11:47:20 2011 us=799471 TCPv4_CLIENT link local: [undef]
Sat Dec 24 11:47:20 2011 us=799508 TCPv4_CLIENT link remote: [AF_INET]109.233.121.102:1723
WRSat Dec 24 11:47:20 2011 us=861876 TLS: Initial packet from [AF_INET]109.233.121.102:1723, sid=f2ab9ca9 d38eb760
WWRWRRRWWRWRWRRWWRWRWRRWWRWRWRRWWRWRWRRWWRWRSat Dec 24 11:47:21 2011 us=947460 VERIFY OK: depth=1, /C=IT/ST=Italy/L=Napoli/O=pezzotto/OU=pezzotto/CN=pezzotto_CA/name=pezzotto_CA/emailAddress=k3v1n.hack@gmail.com
Sat Dec 24 11:47:21 2011 us=948655 VERIFY OK: nsCertType=SERVER
Sat Dec 24 11:47:21 2011 us=948740 VERIFY OK: depth=0, /C=IT/ST=Italy/L=Napoli/O=pezzotto/OU=pezzotto/CN=server/name=server/emailAddress=k3v1n.hack@gmail.com
WRRWWRWRWRRWWWWWRWRRRWWWRWRWRRWWRWRWRRWWRWRWRRWWRWRWRRWWRRRRRRRWWRWRWRRWWRWRWRRWWRWWWWRRRRRRSat Dec 24 11:47:24 2011 us=180425 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Sat Dec 24 11:47:24 2011 us=180532 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Sat Dec 24 11:47:24 2011 us=180678 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Sat Dec 24 11:47:24 2011 us=180743 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
WWSat Dec 24 11:47:24 2011 us=180997 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA
Sat Dec 24 11:47:24 2011 us=181103 [server] Peer Connection Initiated with [AF_INET]109.233.121.102:1723
Sat Dec 24 11:47:26 2011 us=449655 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
WRRRSat Dec 24 11:47:26 2011 us=603926 PUSH: Received control message: 'PUSH_REPLY,route 10.8.0.0 255.255.255.0,topology net30,ping 10,ping-restart 120,ifconfig 10.8.0.6 10.8.0.5'
Sat Dec 24 11:47:26 2011 us=604050 OPTIONS IMPORT: timers and/or timeouts modified
Sat Dec 24 11:47:26 2011 us=604080 OPTIONS IMPORT: --ifconfig/up options modified
Sat Dec 24 11:47:26 2011 us=604106 OPTIONS IMPORT: route options modified
Sat Dec 24 11:47:26 2011 us=604133 Preserving previous TUN/TAP instance: tun0
Sat Dec 24 11:47:26 2011 us=604161 Initialization Sequence Completed
WWRWRwrWRwrWRwrWRwrWRwrWRwrW
Can ou help me?
Thanks