Page 1 of 1

OpenVpn Client keeps connecting and disconnecting

Posted: Thu Jan 17, 2013 1:14 am
by bigesta
Hello everyone. I am new to the forum, i have been using openvpn for a little over a month now. I am using Openvpn client with a Hauwei 3G Modem to connect to vpnbook free vpn services on windows7... everything has been working just fine until 3days back. The internet is extremly slow, sometimes it doesnt go through. I have been getting a lot of the same 2 errors in the event Viewer. Openvpn has been connecting and disconnecting almost every minute. what could be the problem and how do i solve it?

Config
client
dev tun41
proto udp
remote 93.114.44.253 53 # - Server2
remote 93.115.84.198 53 # - Server1
resolv-retry infinite
nobind
persist-key
persist-tun
ca vpnbook.crt
auth-user-pass pass.txt
comp-lzo
verb 3
cipher AES-128-CBC
fast-io
pull
remote-random
route-delay 2
redirect-gateway
Log File
Thu Jan 17 00:26:30 2013 OpenVPN 2.3.0 i686-w64-mingw32 [SSL (OpenSSL)] [LZO] [PKCS11] [eurephia] [IPv6] built on Jan 8 2013
Enter Management Password:
Thu Jan 17 00:26:30 2013 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25351
Thu Jan 17 00:26:30 2013 Need hold release from management interface, waiting...
Thu Jan 17 00:26:30 2013 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25351
Thu Jan 17 00:26:30 2013 MANAGEMENT: CMD 'state on'
Thu Jan 17 00:26:30 2013 MANAGEMENT: CMD 'log all on'
Thu Jan 17 00:26:30 2013 MANAGEMENT: CMD 'hold off'
Thu Jan 17 00:26:30 2013 MANAGEMENT: CMD 'hold release'
Thu Jan 17 00:26:30 2013 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Thu Jan 17 00:26:30 2013 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Thu Jan 17 00:26:30 2013 NOTE: --fast-io is disabled since we are running on Windows
Thu Jan 17 00:26:30 2013 Socket Buffers: R=[8192->8192] S=[8192->8192]
Thu Jan 17 00:26:30 2013 UDPv4 link local: [undef]
Thu Jan 17 00:26:30 2013 UDPv4 link remote: [AF_INET]93.115.84.198:53
Thu Jan 17 00:26:30 2013 MANAGEMENT: >STATE:1358375190,WAIT,,,
Thu Jan 17 00:26:31 2013 MANAGEMENT: >STATE:1358375191,AUTH,,,
Thu Jan 17 00:26:31 2013 TLS: Initial packet from [AF_INET]93.115.84.198:53, sid=1c1cdcdf f3fafce6
Thu Jan 17 00:26:31 2013 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Thu Jan 17 00:26:34 2013 VERIFY OK: depth=1, C=EU, ST=RO, L=Bucharest, O=VPNBook.com, OU=changeme, CN=ns.vpnbook.com, name=changeme, emailAddress=contact@vpnbook.com
Thu Jan 17 00:26:34 2013 VERIFY OK: depth=0, C=EU, ST=RO, L=Bucharest, O=VPNBook.com, OU=changeme, CN=ns.vpnbook.com, name=changeme, emailAddress=contact@vpnbook.com
Thu Jan 17 00:26:36 2013 Data Channel Encrypt: Cipher 'AES-128-CBC' initialized with 128 bit key
Thu Jan 17 00:26:36 2013 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Thu Jan 17 00:26:36 2013 Data Channel Decrypt: Cipher 'AES-128-CBC' initialized with 128 bit key
Thu Jan 17 00:26:36 2013 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Thu Jan 17 00:26:36 2013 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA
Thu Jan 17 00:26:36 2013 [ns.vpnbook.com] Peer Connection Initiated with [AF_INET]93.115.84.198:53
Thu Jan 17 00:26:37 2013 MANAGEMENT: >STATE:1358375197,GET_CONFIG,,,
Thu Jan 17 00:26:38 2013 SENT CONTROL [ns.vpnbook.com]: 'PUSH_REQUEST' (status=1)
Thu Jan 17 00:26:38 2013 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1,dhcp-option DNS 195.60.76.114,dhcp-option DNS 195.60.76.115,route 10.8.0.1,topology net30,ping 5,ping-restart 30,ifconfig 10.8.0.126 10.8.0.125'
Thu Jan 17 00:26:38 2013 OPTIONS IMPORT: timers and/or timeouts modified
Thu Jan 17 00:26:38 2013 OPTIONS IMPORT: --ifconfig/up options modified
Thu Jan 17 00:26:38 2013 OPTIONS IMPORT: route options modified
Thu Jan 17 00:26:38 2013 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Thu Jan 17 00:26:38 2013 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Thu Jan 17 00:26:38 2013 MANAGEMENT: >STATE:1358375198,ASSIGN_IP,,10.8.0.126,
Thu Jan 17 00:26:38 2013 open_tun, tt->ipv6=0
Thu Jan 17 00:26:38 2013 TAP-WIN32 device [Local Area Connection 2] opened: \\.\Global\{C4CC1147-52CC-4C28-9DD0-97BBB5C4BAD2}.tap
Thu Jan 17 00:26:38 2013 TAP-Windows Driver Version 9.9
Thu Jan 17 00:26:38 2013 Notified TAP-Windows driver to set a DHCP IP/netmask of 10.8.0.126/255.255.255.252 on interface {C4CC1147-52CC-4C28-9DD0-97BBB5C4BAD2} [DHCP-serv: 10.8.0.125, lease-time: 31536000]
Thu Jan 17 00:26:38 2013 Successful ARP Flush on interface [29] {C4CC1147-52CC-4C28-9DD0-97BBB5C4BAD2}
Thu Jan 17 00:26:41 2013 TEST ROUTES: 2/2 succeeded len=1 ret=1 a=0 u/d=up
Thu Jan 17 00:26:41 2013 C:\Windows\system32\route.exe ADD 93.115.84.198 MASK 255.255.255.255 192.168.1.1
Thu Jan 17 00:26:41 2013 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=25 and dwForwardType=4
Thu Jan 17 00:26:41 2013 Route addition via IPAPI succeeded [adaptive]
Thu Jan 17 00:26:41 2013 C:\Windows\system32\route.exe ADD 0.0.0.0 MASK 128.0.0.0 10.8.0.125
Thu Jan 17 00:26:41 2013 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=30 and dwForwardType=4
Thu Jan 17 00:26:41 2013 Route addition via IPAPI succeeded [adaptive]
Thu Jan 17 00:26:41 2013 C:\Windows\system32\route.exe ADD 128.0.0.0 MASK 128.0.0.0 10.8.0.125
Thu Jan 17 00:26:41 2013 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=30 and dwForwardType=4
Thu Jan 17 00:26:41 2013 Route addition via IPAPI succeeded [adaptive]
Thu Jan 17 00:26:41 2013 MANAGEMENT: >STATE:1358375201,ADD_ROUTES,,,
Thu Jan 17 00:26:41 2013 C:\Windows\system32\route.exe ADD 10.8.0.1 MASK 255.255.255.255 10.8.0.125
Thu Jan 17 00:26:41 2013 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=30 and dwForwardType=4
Thu Jan 17 00:26:41 2013 Route addition via IPAPI succeeded [adaptive]
Thu Jan 17 00:26:41 2013 Initialization Sequence Completed
Thu Jan 17 00:26:41 2013 MANAGEMENT: >STATE:1358375201,CONNECTED,SUCCESS,10.8.0.126,93.115.84.198
Thu Jan 17 00:28:21 2013 [ns.vpnbook.com] Inactivity timeout (--ping-restart), restarting
Thu Jan 17 00:28:21 2013 SIGUSR1[soft,ping-restart] received, process restarting
Thu Jan 17 00:28:21 2013 MANAGEMENT: >STATE:1358375301,RECONNECTING,ping-restart,,
Thu Jan 17 00:28:21 2013 Restart pause, 2 second(s)
Thu Jan 17 00:28:23 2013 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Thu Jan 17 00:28:23 2013 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Thu Jan 17 00:28:23 2013 NOTE: --fast-io is disabled since we are running on Windows
Thu Jan 17 00:28:23 2013 Socket Buffers: R=[8192->8192] S=[8192->8192]
Thu Jan 17 00:28:23 2013 UDPv4 link local: [undef]
Thu Jan 17 00:28:23 2013 UDPv4 link remote: [AF_INET]93.115.84.198:53
Thu Jan 17 00:28:23 2013 MANAGEMENT: >STATE:1358375303,WAIT,,,
Thu Jan 17 00:28:53 2013 [UNDEF] Inactivity timeout (--ping-restart), restarting
Thu Jan 17 00:28:53 2013 SIGUSR1[soft,ping-restart] received, process restarting
Thu Jan 17 00:28:53 2013 MANAGEMENT: >STATE:1358375333,RECONNECTING,ping-restart,,
Thu Jan 17 00:28:53 2013 Restart pause, 2 second(s)
Thu Jan 17 00:28:55 2013 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Thu Jan 17 00:28:55 2013 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Thu Jan 17 00:28:55 2013 NOTE: --fast-io is disabled since we are running on Windows
Thu Jan 17 00:28:55 2013 Socket Buffers: R=[8192->8192] S=[8192->8192]
Thu Jan 17 00:28:55 2013 UDPv4 link local: [undef]
Thu Jan 17 00:28:55 2013 UDPv4 link remote: [AF_INET]93.114.44.253:53
Thu Jan 17 00:28:55 2013 MANAGEMENT: >STATE:1358375335,WAIT,,,
Thu Jan 17 00:29:07 2013 MANAGEMENT: CMD 'signal SIGHUP'
Thu Jan 17 00:29:07 2013 C:\Windows\system32\route.exe DELETE 10.8.0.1 MASK 255.255.255.255 10.8.0.125
Thu Jan 17 00:29:07 2013 Route deletion via IPAPI succeeded [adaptive]
Thu Jan 17 00:29:07 2013 C:\Windows\system32\route.exe DELETE 93.115.84.198 MASK 255.255.255.255 192.168.1.1
Thu Jan 17 00:29:07 2013 Route deletion via IPAPI succeeded [adaptive]
Thu Jan 17 00:29:07 2013 C:\Windows\system32\route.exe DELETE 0.0.0.0 MASK 128.0.0.0 10.8.0.125
Thu Jan 17 00:29:07 2013 Route deletion via IPAPI succeeded [adaptive]
Thu Jan 17 00:29:07 2013 C:\Windows\system32\route.exe DELETE 128.0.0.0 MASK 128.0.0.0 10.8.0.125
Thu Jan 17 00:29:07 2013 Route deletion via IPAPI succeeded [adaptive]
Thu Jan 17 00:29:07 2013 Closing TUN/TAP interface
Thu Jan 17 00:29:07 2013 SIGHUP[hard,] received, process restarting
Thu Jan 17 00:29:07 2013 MANAGEMENT: >STATE:1358375347,RECONNECTING,SIGHUP,,
Thu Jan 17 00:29:07 2013 OpenVPN 2.3.0 i686-w64-mingw32 [SSL (OpenSSL)] [LZO] [PKCS11] [eurephia] [IPv6] built on Jan 8 2013
Thu Jan 17 00:29:07 2013 Restart pause, 2 second(s)
Thu Jan 17 00:29:09 2013 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Thu Jan 17 00:29:09 2013 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Thu Jan 17 00:29:09 2013 NOTE: --fast-io is disabled since we are running on Windows
Thu Jan 17 00:29:09 2013 Socket Buffers: R=[8192->8192] S=[8192->8192]
Thu Jan 17 00:29:09 2013 UDPv4 link local: [undef]
Thu Jan 17 00:29:09 2013 UDPv4 link remote: [AF_INET]93.114.44.253:53
Thu Jan 17 00:29:09 2013 MANAGEMENT: >STATE:1358375349,WAIT,,,
Thu Jan 17 00:29:12 2013 MANAGEMENT: >STATE:1358375352,AUTH,,,
Thu Jan 17 00:29:12 2013 TLS: Initial packet from [AF_INET]93.114.44.253:53, sid=ab39a690 617e87e9
Thu Jan 17 00:29:17 2013 VERIFY OK: depth=1, C=EU, ST=RO, L=Bucharest, O=VPNBook.com, OU=changeme, CN=ns.vpnbook.com, name=changeme, emailAddress=contact@vpnbook.com
Thu Jan 17 00:29:17 2013 VERIFY OK: depth=0, C=EU, ST=RO, L=Bucharest, O=VPNBook.com, OU=changeme, CN=ns.vpnbook.com, name=changeme, emailAddress=contact@vpnbook.com
Thu Jan 17 00:29:18 2013 Data Channel Encrypt: Cipher 'AES-128-CBC' initialized with 128 bit key
Thu Jan 17 00:29:18 2013 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Thu Jan 17 00:29:18 2013 Data Channel Decrypt: Cipher 'AES-128-CBC' initialized with 128 bit key
Thu Jan 17 00:29:18 2013 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Thu Jan 17 00:29:18 2013 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA
Thu Jan 17 00:29:18 2013 [ns.vpnbook.com] Peer Connection Initiated with [AF_INET]93.114.44.253:53
Thu Jan 17 00:29:19 2013 MANAGEMENT: >STATE:1358375359,GET_CONFIG,,,
Thu Jan 17 00:29:21 2013 SENT CONTROL [ns.vpnbook.com]: 'PUSH_REQUEST' (status=1)
Thu Jan 17 00:29:21 2013 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1,dhcp-option DNS 195.60.76.114,dhcp-option DNS 195.60.76.115,route 10.8.0.1,topology net30,ping 5,ping-restart 30,ifconfig 10.8.0.78 10.8.0.77'
Thu Jan 17 00:29:21 2013 OPTIONS IMPORT: timers and/or timeouts modified
Thu Jan 17 00:29:21 2013 OPTIONS IMPORT: --ifconfig/up options modified
Thu Jan 17 00:29:21 2013 OPTIONS IMPORT: route options modified
Thu Jan 17 00:29:21 2013 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Thu Jan 17 00:29:21 2013 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Thu Jan 17 00:29:21 2013 MANAGEMENT: >STATE:1358375361,ASSIGN_IP,,10.8.0.78,
Thu Jan 17 00:29:21 2013 open_tun, tt->ipv6=0
Thu Jan 17 00:29:21 2013 TAP-WIN32 device [Local Area Connection 2] opened: \\.\Global\{C4CC1147-52CC-4C28-9DD0-97BBB5C4BAD2}.tap
Thu Jan 17 00:29:21 2013 TAP-Windows Driver Version 9.9
Thu Jan 17 00:29:21 2013 Notified TAP-Windows driver to set a DHCP IP/netmask of 10.8.0.78/255.255.255.252 on interface {C4CC1147-52CC-4C28-9DD0-97BBB5C4BAD2} [DHCP-serv: 10.8.0.77, lease-time: 31536000]
Thu Jan 17 00:29:21 2013 Successful ARP Flush on interface [29] {C4CC1147-52CC-4C28-9DD0-97BBB5C4BAD2}
Thu Jan 17 00:29:24 2013 TEST ROUTES: 2/2 succeeded len=1 ret=1 a=0 u/d=up
Thu Jan 17 00:29:24 2013 C:\Windows\system32\route.exe ADD 93.114.44.253 MASK 255.255.255.255 192.168.1.1
Thu Jan 17 00:29:24 2013 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=25 and dwForwardType=4
Thu Jan 17 00:29:24 2013 Route addition via IPAPI succeeded [adaptive]
Thu Jan 17 00:29:24 2013 C:\Windows\system32\route.exe ADD 0.0.0.0 MASK 128.0.0.0 10.8.0.77
Thu Jan 17 00:29:24 2013 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=30 and dwForwardType=4
Thu Jan 17 00:29:24 2013 Route addition via IPAPI succeeded [adaptive]
Thu Jan 17 00:29:24 2013 C:\Windows\system32\route.exe ADD 128.0.0.0 MASK 128.0.0.0 10.8.0.77
Thu Jan 17 00:29:24 2013 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=30 and dwForwardType=4
Thu Jan 17 00:29:24 2013 Route addition via IPAPI succeeded [adaptive]
Thu Jan 17 00:29:24 2013 MANAGEMENT: >STATE:1358375364,ADD_ROUTES,,,
Thu Jan 17 00:29:24 2013 C:\Windows\system32\route.exe ADD 10.8.0.1 MASK 255.255.255.255 10.8.0.77
Thu Jan 17 00:29:24 2013 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=30 and dwForwardType=4
Thu Jan 17 00:29:24 2013 Route addition via IPAPI succeeded [adaptive]
Thu Jan 17 00:29:24 2013 Initialization Sequence Completed
Thu Jan 17 00:29:24 2013 MANAGEMENT: >STATE:1358375364,CONNECTED,SUCCESS,10.8.0.78,93.114.44.253
Thu Jan 17 00:30:35 2013 [ns.vpnbook.com] Inactivity timeout (--ping-restart), restarting
Thu Jan 17 00:30:35 2013 SIGUSR1[soft,ping-restart] received, process restarting
Thu Jan 17 00:30:35 2013 MANAGEMENT: >STATE:1358375435,RECONNECTING,ping-restart,,
Thu Jan 17 00:30:35 2013 Restart pause, 2 second(s)
Thu Jan 17 00:30:37 2013 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Thu Jan 17 00:30:37 2013 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Thu Jan 17 00:30:37 2013 NOTE: --fast-io is disabled since we are running on Windows
Thu Jan 17 00:30:37 2013 Socket Buffers: R=[8192->8192] S=[8192->8192]
Thu Jan 17 00:30:37 2013 UDPv4 link local: [undef]
Thu Jan 17 00:30:37 2013 UDPv4 link remote: [AF_INET]93.114.44.253:53
Thu Jan 17 00:30:37 2013 MANAGEMENT: >STATE:1358375437,WAIT,,,
Thu Jan 17 00:30:37 2013 MANAGEMENT: >STATE:1358375437,AUTH,,,
Thu Jan 17 00:30:37 2013 TLS: Initial packet from [AF_INET]93.114.44.253:53, sid=8c35166c 79929944
Thu Jan 17 00:30:40 2013 VERIFY OK: depth=1, C=EU, ST=RO, L=Bucharest, O=VPNBook.com, OU=changeme, CN=ns.vpnbook.com, name=changeme, emailAddress=contact@vpnbook.com
Thu Jan 17 00:30:40 2013 VERIFY OK: depth=0, C=EU, ST=RO, L=Bucharest, O=VPNBook.com, OU=changeme, CN=ns.vpnbook.com, name=changeme, emailAddress=contact@vpnbook.com
Thu Jan 17 00:30:42 2013 Data Channel Encrypt: Cipher 'AES-128-CBC' initialized with 128 bit key
Thu Jan 17 00:30:42 2013 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Thu Jan 17 00:30:42 2013 Data Channel Decrypt: Cipher 'AES-128-CBC' initialized with 128 bit key
Thu Jan 17 00:30:42 2013 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Thu Jan 17 00:30:42 2013 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA
Thu Jan 17 00:30:42 2013 [ns.vpnbook.com] Peer Connection Initiated with [AF_INET]93.114.44.253:53
Thu Jan 17 00:30:43 2013 MANAGEMENT: >STATE:1358375443,GET_CONFIG,,,
Thu Jan 17 00:30:44 2013 SENT CONTROL [ns.vpnbook.com]: 'PUSH_REQUEST' (status=1)
Thu Jan 17 00:30:44 2013 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1,dhcp-option DNS 195.60.76.114,dhcp-option DNS 195.60.76.115,route 10.8.0.1,topology net30,ping 5,ping-restart 30,ifconfig 10.8.0.174 10.8.0.173'
Thu Jan 17 00:30:44 2013 OPTIONS IMPORT: timers and/or timeouts modified
Thu Jan 17 00:30:44 2013 OPTIONS IMPORT: --ifconfig/up options modified
Thu Jan 17 00:30:44 2013 OPTIONS IMPORT: route options modified
Thu Jan 17 00:30:44 2013 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Thu Jan 17 00:30:44 2013 Preserving previous TUN/TAP instance: Local Area Connection 2
Thu Jan 17 00:30:44 2013 NOTE: Pulled options changed on restart, will need to close and reopen TUN/TAP device.
Thu Jan 17 00:30:44 2013 C:\Windows\system32\route.exe DELETE 10.8.0.1 MASK 255.255.255.255 10.8.0.77
Thu Jan 17 00:30:44 2013 Route deletion via IPAPI succeeded [adaptive]
Thu Jan 17 00:30:44 2013 C:\Windows\system32\route.exe DELETE 93.114.44.253 MASK 255.255.255.255 192.168.1.1
Thu Jan 17 00:30:44 2013 Route deletion via IPAPI succeeded [adaptive]
Thu Jan 17 00:30:44 2013 C:\Windows\system32\route.exe DELETE 0.0.0.0 MASK 128.0.0.0 10.8.0.77
Thu Jan 17 00:30:44 2013 Route deletion via IPAPI succeeded [adaptive]
Thu Jan 17 00:30:44 2013 C:\Windows\system32\route.exe DELETE 128.0.0.0 MASK 128.0.0.0 10.8.0.77
Thu Jan 17 00:30:44 2013 Route deletion via IPAPI succeeded [adaptive]
Thu Jan 17 00:30:44 2013 Closing TUN/TAP interface
Thu Jan 17 00:30:45 2013 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Thu Jan 17 00:30:45 2013 MANAGEMENT: >STATE:1358375445,ASSIGN_IP,,10.8.0.174,
Thu Jan 17 00:30:45 2013 open_tun, tt->ipv6=0
Thu Jan 17 00:30:45 2013 TAP-WIN32 device [Local Area Connection 2] opened: \\.\Global\{C4CC1147-52CC-4C28-9DD0-97BBB5C4BAD2}.tap
Thu Jan 17 00:30:45 2013 TAP-Windows Driver Version 9.9
Thu Jan 17 00:30:45 2013 Notified TAP-Windows driver to set a DHCP IP/netmask of 10.8.0.174/255.255.255.252 on interface {C4CC1147-52CC-4C28-9DD0-97BBB5C4BAD2} [DHCP-serv: 10.8.0.173, lease-time: 31536000]
Thu Jan 17 00:30:45 2013 Successful ARP Flush on interface [29] {C4CC1147-52CC-4C28-9DD0-97BBB5C4BAD2}
Thu Jan 17 00:30:47 2013 TEST ROUTES: 2/2 succeeded len=1 ret=1 a=0 u/d=up
Thu Jan 17 00:30:47 2013 C:\Windows\system32\route.exe ADD 93.114.44.253 MASK 255.255.255.255 192.168.1.1
Thu Jan 17 00:30:47 2013 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=25 and dwForwardType=4
Thu Jan 17 00:30:47 2013 Route addition via IPAPI succeeded [adaptive]
Thu Jan 17 00:30:47 2013 C:\Windows\system32\route.exe ADD 0.0.0.0 MASK 128.0.0.0 10.8.0.173
Thu Jan 17 00:30:47 2013 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=30 and dwForwardType=4
Thu Jan 17 00:30:47 2013 Route addition via IPAPI succeeded [adaptive]
Thu Jan 17 00:30:47 2013 C:\Windows\system32\route.exe ADD 128.0.0.0 MASK 128.0.0.0 10.8.0.173
Thu Jan 17 00:30:47 2013 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=30 and dwForwardType=4
Thu Jan 17 00:30:47 2013 Route addition via IPAPI succeeded [adaptive]
Thu Jan 17 00:30:47 2013 MANAGEMENT: >STATE:1358375447,ADD_ROUTES,,,
Thu Jan 17 00:30:47 2013 C:\Windows\system32\route.exe ADD 10.8.0.1 MASK 255.255.255.255 10.8.0.173
Thu Jan 17 00:30:47 2013 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=30 and dwForwardType=4
Thu Jan 17 00:30:47 2013 Route addition via IPAPI succeeded [adaptive]
Thu Jan 17 00:30:47 2013 Initialization Sequence Completed
Thu Jan 17 00:30:47 2013 MANAGEMENT: >STATE:1358375447,CONNECTED,SUCCESS,10.8.0.174,93.114.44.253
Thu Jan 17 00:32:45 2013 [ns.vpnbook.com] Inactivity timeout (--ping-restart), restarting
Thu Jan 17 00:32:45 2013 SIGUSR1[soft,ping-restart] received, process restarting
Thu Jan 17 00:32:45 2013 MANAGEMENT: >STATE:1358375565,RECONNECTING,ping-restart,,
Thu Jan 17 00:32:45 2013 Restart pause, 2 second(s)
Thu Jan 17 00:32:47 2013 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Thu Jan 17 00:32:47 2013 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Thu Jan 17 00:32:47 2013 NOTE: --fast-io is disabled since we are running on Windows
Thu Jan 17 00:32:47 2013 Socket Buffers: R=[8192->8192] S=[8192->8192]
Thu Jan 17 00:32:47 2013 UDPv4 link local: [undef]
Thu Jan 17 00:32:47 2013 UDPv4 link remote: [AF_INET]93.114.44.253:53
Thu Jan 17 00:32:47 2013 MANAGEMENT: >STATE:1358375567,WAIT,,,
Thu Jan 17 00:32:47 2013 MANAGEMENT: >STATE:1358375567,AUTH,,,
Thu Jan 17 00:32:47 2013 TLS: Initial packet from [AF_INET]93.114.44.253:53, sid=d0cd97ca ca9bf02d
Thu Jan 17 00:32:51 2013 VERIFY OK: depth=1, C=EU, ST=RO, L=Bucharest, O=VPNBook.com, OU=changeme, CN=ns.vpnbook.com, name=changeme, emailAddress=contact@vpnbook.com
Thu Jan 17 00:32:51 2013 VERIFY OK: depth=0, C=EU, ST=RO, L=Bucharest, O=VPNBook.com, OU=changeme, CN=ns.vpnbook.com, name=changeme, emailAddress=contact@vpnbook.com
Thu Jan 17 00:32:53 2013 Data Channel Encrypt: Cipher 'AES-128-CBC' initialized with 128 bit key
Thu Jan 17 00:32:53 2013 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Thu Jan 17 00:32:53 2013 Data Channel Decrypt: Cipher 'AES-128-CBC' initialized with 128 bit key
Thu Jan 17 00:32:53 2013 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Thu Jan 17 00:32:53 2013 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA
Thu Jan 17 00:32:53 2013 [ns.vpnbook.com] Peer Connection Initiated with [AF_INET]93.114.44.253:53
Thu Jan 17 00:32:54 2013 MANAGEMENT: >STATE:1358375574,GET_CONFIG,,,
Thu Jan 17 00:32:55 2013 SENT CONTROL [ns.vpnbook.com]: 'PUSH_REQUEST' (status=1)
Thu Jan 17 00:32:55 2013 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1,dhcp-option DNS 195.60.76.114,dhcp-option DNS 195.60.76.115,route 10.8.0.1,topology net30,ping 5,ping-restart 30,ifconfig 10.8.0.78 10.8.0.77'
Thu Jan 17 00:32:55 2013 OPTIONS IMPORT: timers and/or timeouts modified
Thu Jan 17 00:32:55 2013 OPTIONS IMPORT: --ifconfig/up options modified
Thu Jan 17 00:32:55 2013 OPTIONS IMPORT: route options modified
Thu Jan 17 00:32:55 2013 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Thu Jan 17 00:32:55 2013 Preserving previous TUN/TAP instance: Local Area Connection 2
Thu Jan 17 00:32:55 2013 NOTE: Pulled options changed on restart, will need to close and reopen TUN/TAP device.
Thu Jan 17 00:32:55 2013 C:\Windows\system32\route.exe DELETE 10.8.0.1 MASK 255.255.255.255 10.8.0.173
Thu Jan 17 00:32:55 2013 Route deletion via IPAPI succeeded [adaptive]
Thu Jan 17 00:32:55 2013 C:\Windows\system32\route.exe DELETE 93.114.44.253 MASK 255.255.255.255 192.168.1.1
Thu Jan 17 00:32:55 2013 Route deletion via IPAPI succeeded [adaptive]
Thu Jan 17 00:32:55 2013 C:\Windows\system32\route.exe DELETE 0.0.0.0 MASK 128.0.0.0 10.8.0.173
Thu Jan 17 00:32:55 2013 Route deletion via IPAPI succeeded [adaptive]
Thu Jan 17 00:32:55 2013 C:\Windows\system32\route.exe DELETE 128.0.0.0 MASK 128.0.0.0 10.8.0.173
Thu Jan 17 00:32:56 2013 Route deletion via IPAPI succeeded [adaptive]
Thu Jan 17 00:32:56 2013 Closing TUN/TAP interface
Thu Jan 17 00:32:57 2013 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Thu Jan 17 00:32:57 2013 MANAGEMENT: >STATE:1358375577,ASSIGN_IP,,10.8.0.78,
Thu Jan 17 00:32:57 2013 open_tun, tt->ipv6=0
Thu Jan 17 00:32:57 2013 TAP-WIN32 device [Local Area Connection 2] opened: \\.\Global\{C4CC1147-52CC-4C28-9DD0-97BBB5C4BAD2}.tap
Thu Jan 17 00:32:57 2013 TAP-Windows Driver Version 9.9
Thu Jan 17 00:32:57 2013 Notified TAP-Windows driver to set a DHCP IP/netmask of 10.8.0.78/255.255.255.252 on interface {C4CC1147-52CC-4C28-9DD0-97BBB5C4BAD2} [DHCP-serv: 10.8.0.77, lease-time: 31536000]
Thu Jan 17 00:32:57 2013 Successful ARP Flush on interface [29] {C4CC1147-52CC-4C28-9DD0-97BBB5C4BAD2}
Thu Jan 17 00:32:59 2013 TEST ROUTES: 2/2 succeeded len=1 ret=1 a=0 u/d=up
Thu Jan 17 00:32:59 2013 C:\Windows\system32\route.exe ADD 93.114.44.253 MASK 255.255.255.255 192.168.1.1
Thu Jan 17 00:32:59 2013 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=25 and dwForwardType=4
Thu Jan 17 00:32:59 2013 Route addition via IPAPI succeeded [adaptive]
Thu Jan 17 00:32:59 2013 C:\Windows\system32\route.exe ADD 0.0.0.0 MASK 128.0.0.0 10.8.0.77
Thu Jan 17 00:32:59 2013 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=30 and dwForwardType=4
Thu Jan 17 00:32:59 2013 Route addition via IPAPI succeeded [adaptive]
Thu Jan 17 00:32:59 2013 C:\Windows\system32\route.exe ADD 128.0.0.0 MASK 128.0.0.0 10.8.0.77
Thu Jan 17 00:32:59 2013 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=30 and dwForwardType=4
Thu Jan 17 00:32:59 2013 Route addition via IPAPI succeeded [adaptive]
Thu Jan 17 00:32:59 2013 MANAGEMENT: >STATE:1358375579,ADD_ROUTES,,,
Thu Jan 17 00:32:59 2013 C:\Windows\system32\route.exe ADD 10.8.0.1 MASK 255.255.255.255 10.8.0.77
Thu Jan 17 00:32:59 2013 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=30 and dwForwardType=4
Thu Jan 17 00:32:59 2013 Route addition via IPAPI succeeded [adaptive]
Thu Jan 17 00:32:59 2013 Initialization Sequence Completed
Thu Jan 17 00:32:59 2013 MANAGEMENT: >STATE:1358375579,CONNECTED,SUCCESS,10.8.0.78,93.114.44.253
Thu Jan 17 00:34:59 2013 [ns.vpnbook.com] Inactivity timeout (--ping-restart), restarting
Thu Jan 17 00:34:59 2013 SIGUSR1[soft,ping-restart] received, process restarting
Thu Jan 17 00:34:59 2013 MANAGEMENT: >STATE:1358375699,RECONNECTING,ping-restart,,
Thu Jan 17 00:34:59 2013 Restart pause, 2 second(s)
Thu Jan 17 00:35:01 2013 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Thu Jan 17 00:35:01 2013 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Thu Jan 17 00:35:01 2013 NOTE: --fast-io is disabled since we are running on Windows
Thu Jan 17 00:35:01 2013 Socket Buffers: R=[8192->8192] S=[8192->8192]
Thu Jan 17 00:35:01 2013 UDPv4 link local: [undef]
Thu Jan 17 00:35:01 2013 UDPv4 link remote: [AF_INET]93.114.44.253:53

Errors in the Event Viewer
Log Name: System
Source: Microsoft-Windows-DNS-Client
Date: 1/16/2013 6:41:22 PM
Event ID: 1014
Task Category: None
Level: Warning
Keywords:
User: NETWORK SERVICE
Computer: Bigesta-PC
Description:
Name resolution for the name dns.msftncsi.com timed out after none of the configured DNS servers responded.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-DNS-Client" Guid="{1C95126E-7EEA-49A9-A3FE-A378B03DDB4D}" />
<EventID>1014</EventID>
<Version>0</Version>
<Level>3</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x4000000000000000</Keywords>
<TimeCreated SystemTime="2013-01-16T16:41:22.515625000Z" />
<EventRecordID>17467</EventRecordID>
<Correlation />
<Execution ProcessID="1252" ThreadID="1364" />
<Channel>System</Channel>
<Computer>Bigesta-PC</Computer>
<Security UserID="S-1-5-20" />
</System>
<EventData>
<Data Name="QueryName">dns.msftncsi.com</Data>
<Data Name="AddressLength">16</Data>
<Data Name="Address">02000035C33C4C730000000000000000</Data>
</EventData>
</Event>


Log Name: Microsoft-Windows-Dhcp-Client/Admin
Source: Microsoft-Windows-Dhcp-Client
Date: 1/16/2013 6:39:31 PM
Event ID: 1002
Task Category: Address Configuration State Event
Level: Error
Keywords:
User: LOCAL SERVICE
Computer: Bigesta-PC
Description:
The IP address lease 10.8.0.142 for the Network Card with network address 0x00FFC4CC1xxx has been denied by the DHCP server 10.8.0.57 (The DHCP Server sent a DHCPNACK message).
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-Dhcp-Client" Guid="{15A7A4F8-0072-4EAB-ABAD-F98A4D666AED}" />
<EventID>1002</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>3</Task>
<Opcode>76</Opcode>
<Keywords>0x4000000000000000</Keywords>
<TimeCreated SystemTime="2013-01-16T16:39:31.928710900Z" />
<EventRecordID>1271</EventRecordID>
<Correlation />
<Execution ProcessID="848" ThreadID="3720" />
<Channel>Microsoft-Windows-Dhcp-Client/Admin</Channel>
<Computer>Bigesta-PC</Computer>
<Security UserID="S-1-5-19" />
</System>
<EventData>
<Data Name="Address1">2382366730</Data>
<Data Name="HWLength">6</Data>
<Data Name="HWAddress">00FFC4CC1xxx</Data>
<Data Name="Address2">956303370</Data>
</EventData>
</Event>
I also did a tracert for yahoo.com and nslookup dns.msftncsi.com for these are the results

C:\Windows\system32>tracert yahoo.com

Tracing route to yahoo.com [98.139.183.24]
over a maximum of 30 hops:

1 * * * Request timed out.
2 * * * Request timed out.
3 * * * Request timed out.
4 * * * Request timed out.
5 * * * Request timed out.
6 * * * Request timed out.
7 * * * Request timed out.
8 * * * Request timed out.
9 * * * Request timed out.
10 * * * Request timed out.
11 * * * Request timed out.
12 * * * Request timed out.
13 * * * Request timed out.
14 * * * Request timed out.
15 * * * Request timed out.
16 * * * Request timed out.
17 * * * Request timed out.
18 * * * Request timed out.
19 * * * Request timed out.
20 * 1367 ms 725 ms ir2.fp.vip.bf1.yahoo.com [98.139.183.24]

Trace complete.

C:\Windows\system32>tracert yahoo.com

Tracing route to yahoo.com [98.138.253.109]
over a maximum of 30 hops:

1 711 ms 499 ms 558 ms 10.8.0.1
2 3038 ms 625 ms 517 ms buc-ird-01c.voxility.net [93.114.44.193]
3 645 ms 1084 ms 539 ms buc-ird-02gw.voxility.net [109.163.235.57]
4 525 ms 917 ms 546 ms fra-anc-04gw.voxility.net [195.60.76.66]
5 * * * Request timed out.
6 * * * Request timed out.
7 * * * Request timed out.
8 * * * Request timed out.
9 * 493 ms 520 ms xe-7-0-0.msr1.ne1.yahoo.com [216.115.100.5]
10 489 ms 494 ms 528 ms xe-8-0-0.clr1-a-gdc.ne1.yahoo.com [98.138.144.29
]
11 591 ms 662 ms 496 ms et-18-25.fab7-1-gdc.ne1.yahoo.com [98.138.93.11]

12 500 ms 489 ms 478 ms po-16.bas2-7-prd.ne1.yahoo.com [98.138.240.34]
13 566 ms 530 ms 647 ms ir1.fp.vip.ne1.yahoo.com [98.138.253.109]

Trace complete.
nslookup dns.msftncsi.com
C:\Windows\system32>nslookup dns.msftncsi.com
DNS request timed out.
timeout was 2 seconds.
Server: UnKnown
Address: 195.60.76.114

Non-authoritative answer:
Name: dns.msftncsi.com
Addresses: fd3e:4f5a:5b81::1
131.107.255.255


C:\Windows\system32>nslookup dns.msftncsi.com
Server: hi.link
Address: 192.168.1.1

Non-authoritative answer:
Name: dns.msftncsi.com
Addresses: fd3e:4f5a:5b81::1
131.107.255.255


C:\Windows\system32>nslookup dns.msftncsi.com
Server: ns1.voxility.com
Address: 195.60.76.114

Non-authoritative answer:
Name: dns.msftncsi.com
Addresses: fd3e:4f5a:5b81::1
131.107.255.255

Re: OpenVpn Client keeps connecting and disconnecting

Posted: Thu Jan 17, 2013 6:19 pm
by maikcat
first change your config to this:

Code: Select all

client
dev tun41
proto udp
remote 93.114.44.253 53 # - Server2
remote 93.115.84.198 53 # - Server1
resolv-retry infinite
nobind
persist-key
persist-tun
ca vpnbook.crt
auth-user-pass pass.txt
comp-lzo
verb 3
cipher AES-128-CBC
remote-random
route-delay 2
redirect-gateway def1

Michael.

Re: OpenVpn Client keeps connecting and disconnecting

Posted: Thu Jan 17, 2013 9:02 pm
by bigesta
first change your config to this:

Code:
client
dev tun41
proto udp
remote 93.114.44.253 53 # - Server2
remote 93.115.84.198 53 # - Server1
resolv-retry infinite
nobind
persist-key
persist-tun
ca vpnbook.crt
auth-user-pass pass.txt
comp-lzo
verb 3
cipher AES-128-CBC
remote-random
route-delay 2
redirect-gateway def1
Thanks for your reply maikcat.
I changed the config file... the speed is a little better but it still disconnects time and time again

Re: OpenVpn Client keeps connecting and disconnecting

Posted: Fri Jan 18, 2013 7:09 am
by maikcat
Thu Jan 17 00:32:45 2013 [ns.vpnbook.com] Inactivity timeout (--ping-restart), restarting
Thu Jan 17 00:32:45 2013 SIGUSR1[soft,ping-restart] received, process restarting
can you post your server config?

Michael.

Re: OpenVpn Client keeps connecting and disconnecting

Posted: Fri Jan 18, 2013 10:03 pm
by bigesta
I have no access to the server config... I am just using a free remote server.. i downloaded the config file and the certificate from vpnbook.com. i send them the same problem but no one has replied my mail yet. Is there anyway to fix this without the server config file?