I'm having a problem when connecting to a company-server with a config that definitely works for others and used to work for me until today.
I was experiencing the same problem a few times yesterday, but reinstalling the TAP-driver always fixed it.
The client config is fairly simple:
Code: Select all
client
dev tun
proto tcp
remote [IP-Address] 1194
comp-lzo
resolv-retry infinite
keepalive 50 150
# ca [inline]
# cert [inline]
# key [inline]
float
nobind
ns-cert-type server
#tap-sleep 3
#route-delay 5
#route-method exe
#ip-win32 netsh
This is the connection log:
Code: Select all
Thu Jul 21 09:31:50 2016 OpenVPN 2.3.11 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [PKCS11] [IPv6] built on May 10 2016
Thu Jul 21 09:31:50 2016 Windows version 6.1 (Windows 7) 64bit
Thu Jul 21 09:31:50 2016 library versions: OpenSSL 1.0.1t 3 May 2016, LZO 2.09
Thu Jul 21 09:31:51 2016 Attempting to establish TCP connection with [AF_INET]80.93.37.221:1194 [nonblock]
Thu Jul 21 09:31:52 2016 TCP connection established with [AF_INET]80.93.37.221:1194
Thu Jul 21 09:31:52 2016 TCPv4_CLIENT link local: [undef]
Thu Jul 21 09:31:52 2016 TCPv4_CLIENT link remote: [AF_INET]80.93.37.221:1194
Thu Jul 21 09:31:52 2016 [Server] Peer Connection Initiated with [AF_INET]80.93.37.221:1194
Thu Jul 21 09:31:55 2016 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Thu Jul 21 09:31:55 2016 open_tun, tt->ipv6=0
Thu Jul 21 09:31:55 2016 TAP-WIN32 device [LAN-Verbindung 2] opened: \\.\Global\{1165B5DB-FC17-4AC5-89F1-C81B1BA73DCD}.tap
Thu Jul 21 09:31:55 2016 Notified TAP-Windows driver to set a DHCP IP/netmask of 172.27.0.90/255.255.255.252 on interface {1165B5DB-FC17-4AC5-89F1-C81B1BA73DCD} [DHCP-serv: 172.27.0.89, lease-time: 31536000]
Thu Jul 21 09:31:55 2016 Sleeping for 3 seconds...
Thu Jul 21 09:31:58 2016 Successful ARP Flush on interface [39] {1165B5DB-FC17-4AC5-89F1-C81B1BA73DCD}
Thu Jul 21 09:32:33 2016 Warning: route gateway is not reachable on any active network adapters: 172.27.0.89
Thu Jul 21 09:32:33 2016 env_block: add PATH=C:\Windows\System32;C:\Windows;C:\Windows\System32\Wbem
Thu Jul 21 09:32:33 2016 Warning: route gateway is not reachable on any active network adapters: 172.27.0.89
Thu Jul 21 09:32:33 2016 env_block: add PATH=C:\Windows\System32;C:\Windows;C:\Windows\System32\Wbem
Thu Jul 21 09:32:33 2016 Warning: route gateway is not reachable on any active network adapters: 172.27.0.89
Thu Jul 21 09:32:33 2016 env_block: add PATH=C:\Windows\System32;C:\Windows;C:\Windows\System32\Wbem
Thu Jul 21 09:32:33 2016 Warning: route gateway is not reachable on any active network adapters: 172.27.0.89
Thu Jul 21 09:32:33 2016 env_block: add PATH=C:\Windows\System32;C:\Windows;C:\Windows\System32\Wbem
Thu Jul 21 09:32:33 2016 SYSTEM ROUTING TABLE
Thu Jul 21 09:32:33 2016 0.0.0.0 0.0.0.0 192.168.120.39 p=0 i=13 t=4 pr=3 a=142 h=0 m=10/0/0/0/0
Thu Jul 21 09:32:33 2016 127.0.0.0 255.0.0.0 127.0.0.1 p=0 i=1 t=3 pr=3 a=184 h=0 m=306/0/0/0/0
Thu Jul 21 09:32:33 2016 127.0.0.1 255.255.255.255 127.0.0.1 p=0 i=1 t=3 pr=3 a=184 h=0 m=306/0/0/0/0
Thu Jul 21 09:32:33 2016 127.255.255.255 255.255.255.255 127.0.0.1 p=0 i=1 t=3 pr=3 a=184 h=0 m=306/0/0/0/0
Thu Jul 21 09:32:33 2016 192.168.120.0 255.255.252.0 192.168.120.101 p=0 i=13 t=3 pr=3 a=142 h=0 m=266/0/0/0/0
Thu Jul 21 09:32:33 2016 192.168.120.101 255.255.255.255 192.168.120.101 p=0 i=13 t=3 pr=3 a=142 h=0 m=266/0/0/0/0
Thu Jul 21 09:32:33 2016 192.168.123.255 255.255.255.255 192.168.120.101 p=0 i=13 t=3 pr=3 a=142 h=0 m=266/0/0/0/0
Thu Jul 21 09:32:33 2016 224.0.0.0 240.0.0.0 127.0.0.1 p=0 i=1 t=3 pr=3 a=184 h=0 m=306/0/0/0/0
Thu Jul 21 09:32:33 2016 224.0.0.0 240.0.0.0 192.168.120.101 p=0 i=13 t=3 pr=3 a=179 h=0 m=266/0/0/0/0
Thu Jul 21 09:32:33 2016 224.0.0.0 240.0.0.0 0.0.0.0 p=0 i=39 t=3 pr=3 a=55 h=0 m=276/0/0/0/0
Thu Jul 21 09:32:33 2016 255.255.255.255 255.255.255.255 127.0.0.1 p=0 i=1 t=3 pr=3 a=184 h=0 m=306/0/0/0/0
Thu Jul 21 09:32:33 2016 255.255.255.255 255.255.255.255 192.168.120.101 p=0 i=13 t=3 pr=3 a=179 h=0 m=266/0/0/0/0
Thu Jul 21 09:32:33 2016 255.255.255.255 255.255.255.255 0.0.0.0 p=0 i=39 t=3 pr=3 a=55 h=0 m=276/0/0/0/0
Thu Jul 21 09:32:33 2016 SYSTEM ADAPTER LIST
Thu Jul 21 09:32:33 2016 TAP-Windows Adapter V9 #2
Thu Jul 21 09:32:33 2016 Index = 39
Thu Jul 21 09:32:33 2016 GUID = {1165B5DB-FC17-4AC5-89F1-C81B1BA73DCD}
Thu Jul 21 09:32:33 2016 IP = 169.254.128.163/255.255.0.0
Thu Jul 21 09:32:33 2016 MAC = 00:ff:11:65:b5:db
Thu Jul 21 09:32:33 2016 GATEWAY = 0.0.0.0/255.255.255.255
Thu Jul 21 09:32:33 2016 DHCP SERV = 0.0.0.0/255.255.255.255
Thu Jul 21 09:32:33 2016 DHCP LEASE OBTAINED = Thu Jul 21 09:32:33 2016
Thu Jul 21 09:32:33 2016 DHCP LEASE EXPIRES = Thu Jul 21 09:32:33 2016
Thu Jul 21 09:32:33 2016 DNS SERV =
Thu Jul 21 09:32:33 2016 TeamViewer VPN Adapter
Thu Jul 21 09:32:33 2016 Index = 20
Thu Jul 21 09:32:33 2016 GUID = {B21B8CDD-7321-40AF-9F0D-1D82D0D37BFE}
Thu Jul 21 09:32:33 2016 IP = 0.0.0.0/0.0.0.0
Thu Jul 21 09:32:33 2016 MAC = 00:ff:b2:1b:8c:dd
Thu Jul 21 09:32:33 2016 GATEWAY = 0.0.0.0/255.255.255.255
Thu Jul 21 09:32:33 2016 DNS SERV =
Thu Jul 21 09:32:33 2016 Intel(R) Dual Band Wireless-AC 7260
Thu Jul 21 09:32:33 2016 Index = 14
Thu Jul 21 09:32:33 2016 GUID = {9D93B842-5E22-44D2-B384-9662970CC045}
Thu Jul 21 09:32:33 2016 IP = 0.0.0.0/0.0.0.0
Thu Jul 21 09:32:33 2016 MAC = 80:19:34:34:36:36
Thu Jul 21 09:32:33 2016 GATEWAY = 0.0.0.0/255.255.255.255
Thu Jul 21 09:32:33 2016 DHCP SERV =
Thu Jul 21 09:32:33 2016 DHCP LEASE OBTAINED = Thu Jul 21 09:32:33 2016
Thu Jul 21 09:32:33 2016 DHCP LEASE EXPIRES = Thu Jul 21 09:32:33 2016
Thu Jul 21 09:32:33 2016 DNS SERV =
Thu Jul 21 09:32:33 2016 Intel(R) Ethernet Connection I217-LM
Thu Jul 21 09:32:33 2016 Index = 13
Thu Jul 21 09:32:33 2016 GUID = {887B765E-4997-4596-893C-18A8BA13C1E5}
Thu Jul 21 09:32:33 2016 IP = 192.168.120.101/255.255.252.0
Thu Jul 21 09:32:33 2016 MAC = ec:b1:d7:c1:73:70
Thu Jul 21 09:32:33 2016 GATEWAY = 192.168.120.39/255.255.255.255
Thu Jul 21 09:32:33 2016 DHCP SERV = 192.168.121.1/255.255.255.255
Thu Jul 21 09:32:33 2016 DHCP LEASE OBTAINED = Thu Jul 21 09:30:14 2016
Thu Jul 21 09:32:33 2016 DHCP LEASE EXPIRES = Fri Jul 22 09:30:14 2016
Thu Jul 21 09:32:33 2016 DNS SERV = 192.168.121.1/255.255.255.255
Thu Jul 21 09:32:33 2016 Microsoft Virtual WiFi Miniport Adapter #2
Thu Jul 21 09:32:33 2016 Index = 16
Thu Jul 21 09:32:33 2016 GUID = {FA596D87-37DA-4484-BF92-EE739F90D3E4}
Thu Jul 21 09:32:33 2016 IP = 0.0.0.0/0.0.0.0
Thu Jul 21 09:32:33 2016 MAC = 82:19:34:34:36:36
Thu Jul 21 09:32:33 2016 GATEWAY = 0.0.0.0/255.255.255.255
Thu Jul 21 09:32:33 2016 DNS SERV =
Thu Jul 21 09:32:33 2016 Microsoft Virtual WiFi Miniport Adapter
Thu Jul 21 09:32:33 2016 Index = 15
Thu Jul 21 09:32:33 2016 GUID = {0E29C4B5-9495-4853-8009-2BDDE639D7F2}
Thu Jul 21 09:32:33 2016 IP = 0.0.0.0/0.0.0.0
Thu Jul 21 09:32:33 2016 MAC = 82:19:34:34:36:37
Thu Jul 21 09:32:33 2016 GATEWAY = 0.0.0.0/255.255.255.255
Thu Jul 21 09:32:33 2016 DHCP SERV =
Thu Jul 21 09:32:33 2016 DHCP LEASE OBTAINED = Thu Jul 21 09:32:33 2016
Thu Jul 21 09:32:33 2016 DHCP LEASE EXPIRES = Thu Jul 21 09:32:33 2016
Thu Jul 21 09:32:33 2016 DNS SERV =
Thu Jul 21 09:32:33 2016 Initialization Sequence Completed With Errors ( see http://openvpn.net/faq.html#dhcpclientserv )
Code: Select all
===========================================================================
Schnittstellenliste
39...00 ff 11 65 b5 db ......TAP-Windows Adapter V9 #2
20...00 ff b2 1b 8c dd ......TeamViewer VPN Adapter
14...80 19 34 34 36 36 ......Intel(R) Dual Band Wireless-AC 7260
13...ec b1 d7 c1 73 70 ......Intel(R) Ethernet Connection I217-LM
16...82 19 34 34 36 36 ......Microsoft Virtual WiFi Miniport Adapter #2
15...82 19 34 34 36 37 ......Microsoft Virtual WiFi Miniport Adapter
1...........................Software Loopback Interface 1
===========================================================================
IPv4-Routentabelle
===========================================================================
Aktive Routen:
Netzwerkziel Netzwerkmaske Gateway Schnittstelle Metrik
0.0.0.0 0.0.0.0 192.168.120.39 192.168.120.101 10
127.0.0.0 255.0.0.0 Auf Verbindung 127.0.0.1 306
127.0.0.1 255.255.255.255 Auf Verbindung 127.0.0.1 306
127.255.255.255 255.255.255.255 Auf Verbindung 127.0.0.1 306
192.168.120.0 255.255.252.0 Auf Verbindung 192.168.120.101 266
192.168.120.101 255.255.255.255 Auf Verbindung 192.168.120.101 266
192.168.123.255 255.255.255.255 Auf Verbindung 192.168.120.101 266
224.0.0.0 240.0.0.0 Auf Verbindung 127.0.0.1 306
224.0.0.0 240.0.0.0 Auf Verbindung 192.168.120.101 266
224.0.0.0 240.0.0.0 Auf Verbindung 27 276
255.255.255.255 255.255.255.255 Auf Verbindung 127.0.0.1 306
255.255.255.255 255.255.255.255 Auf Verbindung 192.168.120.101 266
255.255.255.255 255.255.255.255 Auf Verbindung 27 276
===========================================================================
Things I've already tried:
- reinstalling driver (tapdelall.bat, tapadd.bat)
- rebooting windows
- deactivating all unused adapters
- tap-sleep, route-delay, route-method, ip-win32 netsh in different combinations (as commented in the config file)