When I connect to a VPN server, it will work correctly for a period of time before suddenly getting into some kind of routing loop. During this time the TAP interface shows a send rate of a few hundred Mbps and no network access is possible. After a minute or two this typically resolves itself and network communications resume as normal.
This also occurs on my tablet running Windows 10 Education 32-bit. I have tried using different VPN servers, including one that I set up myself on DigitalOcean, but they all experience this problem.
Here is the results of running 'ipconfig /all' and 'route print' on this system, my OpenVPN log (it doesn't seem to show any issue, at least at verbosity 3), as well as a few screenshots from a Wireshark capture I took while trying to diagnose the problem.
ipconfig /all:
Code: Select all
Windows IP Configuration
Host Name . . . . . . . . . . . . : Luna
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
Wireless LAN adapter Wi-Fi:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) Dual Band Wireless-AC 3160
Physical Address. . . . . . . . . : A0-D3-7A-29-60-71
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::c90f:3f71:edce:82fe%18(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.1.5(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : August 14, 2016 7:02:45 PM
Lease Expires . . . . . . . . . . : August 19, 2016 6:51:48 PM
Default Gateway . . . . . . . . . : 192.168.1.1
DHCP Server . . . . . . . . . . . : 192.168.1.1
DHCPv6 IAID . . . . . . . . . . . : 94425978
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1F-34-32-07-28-F1-0E-01-32-C5
DNS Servers . . . . . . . . . . . : 8.8.8.8
8.8.4.4
NetBIOS over Tcpip. . . . . . . . : Enabled
Ethernet adapter Ethernet 2:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : TAP-Windows Adapter V9
Physical Address. . . . . . . . . : 00-FF-EB-1E-7E-78
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::4c8:8d32:15bd:7b72%20(Preferred)
IPv4 Address. . . . . . . . . . . : 10.8.0.6(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.252
Lease Obtained. . . . . . . . . . : August 18, 2016 6:09:04 PM
Lease Expires . . . . . . . . . . : August 18, 2017 6:09:04 PM
Default Gateway . . . . . . . . . :
DHCP Server . . . . . . . . . . . : 10.8.0.5
DHCPv6 IAID . . . . . . . . . . . : 335609835
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1F-34-32-07-28-F1-0E-01-32-C5
DNS Servers . . . . . . . . . . . : 8.8.8.8
8.8.4.4
NetBIOS over Tcpip. . . . . . . . : Enabled
Wireless LAN adapter Local Area Connection* 2:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft Wi-Fi Direct Virtual Adapter
Physical Address. . . . . . . . . : A0-D3-7A-29-60-72
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter Local Area Connection* 12:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft Teredo Tunneling Adapter
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter isatap.{E89B5C04-D74D-43F9-B8E6-13498507C07B}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter #2
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter isatap.{EB1E7E78-0EDA-40B6-BC79-22714AE2CC43}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter #3
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Code: Select all
===========================================================================
Interface List
18...a0 d3 7a 29 60 71 ......Intel(R) Dual Band Wireless-AC 3160
20...00 ff eb 1e 7e 78 ......TAP-Windows Adapter V9
14...a0 d3 7a 29 60 72 ......Microsoft Wi-Fi Direct Virtual Adapter
1...........................Software Loopback Interface 1
10...00 00 00 00 00 00 00 e0 Microsoft Teredo Tunneling Adapter
19...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #2
8...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #3
===========================================================================
IPv4 Route Table
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.5 10
0.0.0.0 128.0.0.0 10.8.0.5 10.8.0.6 20
10.8.0.1 255.255.255.255 10.8.0.5 10.8.0.6 20
10.8.0.4 255.255.255.252 On-link 10.8.0.6 276
10.8.0.6 255.255.255.255 On-link 10.8.0.6 276
10.8.0.7 255.255.255.255 On-link 10.8.0.6 276
127.0.0.0 255.0.0.0 On-link 127.0.0.1 331
127.0.0.1 255.255.255.255 On-link 127.0.0.1 331
127.255.255.255 255.255.255.255 On-link 127.0.0.1 331
128.0.0.0 128.0.0.0 10.8.0.5 10.8.0.6 20
159.203.95.14 255.255.255.255 192.168.1.1 192.168.1.5 10
192.168.0.1 255.255.255.255 192.168.1.1 192.168.1.5 11
192.168.1.0 255.255.255.0 On-link 192.168.1.5 266
192.168.1.5 255.255.255.255 On-link 192.168.1.5 266
192.168.1.255 255.255.255.255 On-link 192.168.1.5 266
224.0.0.0 240.0.0.0 On-link 127.0.0.1 331
224.0.0.0 240.0.0.0 On-link 192.168.1.5 266
224.0.0.0 240.0.0.0 On-link 10.8.0.6 276
255.255.255.255 255.255.255.255 On-link 127.0.0.1 331
255.255.255.255 255.255.255.255 On-link 192.168.1.5 266
255.255.255.255 255.255.255.255 On-link 10.8.0.6 276
===========================================================================
Persistent Routes:
Network Address Netmask Gateway Address Metric
192.168.0.1 255.255.255.255 192.168.1.1 1
===========================================================================
IPv6 Route Table
===========================================================================
Active Routes:
If Metric Network Destination Gateway
1 331 ::1/128 On-link
18 311 fe80::/64 On-link
20 291 fe80::/64 On-link
20 291 fe80::4c8:8d32:15bd:7b72/128
On-link
18 311 fe80::c90f:3f71:edce:82fe/128
On-link
1 331 ff00::/8 On-link
18 311 ff00::/8 On-link
20 291 ff00::/8 On-link
===========================================================================
Persistent Routes:
None
Code: Select all
Thu Aug 18 18:08:55 2016 OpenVPN 2.3.11 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [PKCS11] [IPv6] built on May 10 2016
Thu Aug 18 18:08:55 2016 Windows version 6.2 (Windows 8 or greater) 64bit
Thu Aug 18 18:08:55 2016 library versions: OpenSSL 1.0.1t 3 May 2016, LZO 2.09
Enter Management Password:
Thu Aug 18 18:08:55 2016 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25342
Thu Aug 18 18:08:55 2016 Need hold release from management interface, waiting...
Thu Aug 18 18:08:55 2016 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25342
Thu Aug 18 18:08:56 2016 MANAGEMENT: CMD 'state on'
Thu Aug 18 18:08:56 2016 MANAGEMENT: CMD 'log all on'
Thu Aug 18 18:08:56 2016 MANAGEMENT: CMD 'hold off'
Thu Aug 18 18:08:56 2016 MANAGEMENT: CMD 'hold release'
Thu Aug 18 18:08:56 2016 Control Channel Authentication: tls-auth using INLINE static key file
Thu Aug 18 18:08:56 2016 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Thu Aug 18 18:08:56 2016 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Thu Aug 18 18:08:56 2016 Socket Buffers: R=[65536->65536] S=[65536->65536]
Thu Aug 18 18:08:56 2016 UDPv4 link local: [undef]
Thu Aug 18 18:08:56 2016 UDPv4 link remote: [AF_INET]159.203.95.14:443
Thu Aug 18 18:08:56 2016 MANAGEMENT: >STATE:1471558136,WAIT,,,
Thu Aug 18 18:08:56 2016 MANAGEMENT: >STATE:1471558136,AUTH,,,
Thu Aug 18 18:08:56 2016 TLS: Initial packet from [AF_INET]159.203.95.14:443, sid=466688d3 ae87871f
Thu Aug 18 18:08:57 2016 VERIFY OK: depth=1, C=US, ST=NY, L=New York City, O=DigitalOcean, OU=Community, CN=DigitalOcean CA, name=server, emailAddress=ryan.baxter@domain.com
Thu Aug 18 18:08:57 2016 Validating certificate key usage
Thu Aug 18 18:08:57 2016 ++ Certificate has key usage 00a0, expects 00a0
Thu Aug 18 18:08:57 2016 VERIFY KU OK
Thu Aug 18 18:08:57 2016 Validating certificate extended key usage
Thu Aug 18 18:08:57 2016 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
Thu Aug 18 18:08:57 2016 VERIFY EKU OK
Thu Aug 18 18:08:57 2016 VERIFY OK: depth=0, C=US, ST=NY, L=New York City, O=DigitalOcean, OU=Community, CN=server, name=server, emailAddress=ryan.baxter@domain.com
Thu Aug 18 18:09:00 2016 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Thu Aug 18 18:09:00 2016 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Thu Aug 18 18:09:00 2016 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Thu Aug 18 18:09:00 2016 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Thu Aug 18 18:09:01 2016 Control Channel: TLSv1.2, cipher TLSv1/SSLv3 DHE-RSA-AES256-GCM-SHA384, 2048 bit RSA
Thu Aug 18 18:09:01 2016 [server] Peer Connection Initiated with [AF_INET]159.203.95.14:443
Thu Aug 18 18:09:02 2016 MANAGEMENT: >STATE:1471558142,GET_CONFIG,,,
Thu Aug 18 18:09:03 2016 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
Thu Aug 18 18:09:04 2016 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1 bypass-dhcp,dhcp-option DNS 8.8.8.8,dhcp-option DNS 8.8.4.4,route 10.8.0.1,topology net30,ping 10,ping-restart 120,ifconfig 10.8.0.6 10.8.0.5'
Thu Aug 18 18:09:04 2016 OPTIONS IMPORT: timers and/or timeouts modified
Thu Aug 18 18:09:04 2016 OPTIONS IMPORT: --ifconfig/up options modified
Thu Aug 18 18:09:04 2016 OPTIONS IMPORT: route options modified
Thu Aug 18 18:09:04 2016 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Thu Aug 18 18:09:04 2016 ROUTE_GATEWAY 192.168.1.1/255.255.255.0 I=18 HWADDR=a0:d3:7a:29:60:71
Thu Aug 18 18:09:04 2016 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Thu Aug 18 18:09:04 2016 MANAGEMENT: >STATE:1471558144,ASSIGN_IP,,10.8.0.6,
Thu Aug 18 18:09:04 2016 open_tun, tt->ipv6=0
Thu Aug 18 18:09:04 2016 TAP-WIN32 device [Ethernet 2] opened: \\.\Global\{EB1E7E78-0EDA-40B6-BC79-22714AE2CC43}.tap
Thu Aug 18 18:09:04 2016 TAP-Windows Driver Version 9.21
Thu Aug 18 18:09:04 2016 Notified TAP-Windows driver to set a DHCP IP/netmask of 10.8.0.6/255.255.255.252 on interface {EB1E7E78-0EDA-40B6-BC79-22714AE2CC43} [DHCP-serv: 10.8.0.5, lease-time: 31536000]
Thu Aug 18 18:09:04 2016 Successful ARP Flush on interface [20] {EB1E7E78-0EDA-40B6-BC79-22714AE2CC43}
Thu Aug 18 18:09:09 2016 TEST ROUTES: 2/2 succeeded len=1 ret=1 a=0 u/d=up
Thu Aug 18 18:09:09 2016 C:\Windows\system32\route.exe ADD 159.203.95.14 MASK 255.255.255.255 192.168.1.1
Thu Aug 18 18:09:09 2016 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=55 and dwForwardType=4
Thu Aug 18 18:09:09 2016 Route addition via IPAPI succeeded [adaptive]
Thu Aug 18 18:09:09 2016 C:\Windows\system32\route.exe ADD 0.0.0.0 MASK 128.0.0.0 10.8.0.5
Thu Aug 18 18:09:09 2016 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=35 and dwForwardType=4
Thu Aug 18 18:09:09 2016 Route addition via IPAPI succeeded [adaptive]
Thu Aug 18 18:09:09 2016 C:\Windows\system32\route.exe ADD 128.0.0.0 MASK 128.0.0.0 10.8.0.5
Thu Aug 18 18:09:09 2016 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=35 and dwForwardType=4
Thu Aug 18 18:09:09 2016 Route addition via IPAPI succeeded [adaptive]
Thu Aug 18 18:09:09 2016 MANAGEMENT: >STATE:1471558149,ADD_ROUTES,,,
Thu Aug 18 18:09:09 2016 C:\Windows\system32\route.exe ADD 10.8.0.1 MASK 255.255.255.255 10.8.0.5
Thu Aug 18 18:09:09 2016 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=35 and dwForwardType=4
Thu Aug 18 18:09:09 2016 Route addition via IPAPI succeeded [adaptive]
Thu Aug 18 18:09:09 2016 Initialization Sequence Completed
Thu Aug 18 18:09:09 2016 MANAGEMENT: >STATE:1471558149,CONNECTED,SUCCESS,10.8.0.6,159.203.95.14
Thu Aug 18 18:55:44 2016 C:\Windows\system32\route.exe DELETE 10.8.0.1 MASK 255.255.255.255 10.8.0.5
Thu Aug 18 18:55:44 2016 Route deletion via IPAPI succeeded [adaptive]
Thu Aug 18 18:55:44 2016 C:\Windows\system32\route.exe DELETE 159.203.95.14 MASK 255.255.255.255 192.168.1.1
Thu Aug 18 18:55:44 2016 Route deletion via IPAPI succeeded [adaptive]
Thu Aug 18 18:55:44 2016 C:\Windows\system32\route.exe DELETE 0.0.0.0 MASK 128.0.0.0 10.8.0.5
Thu Aug 18 18:55:44 2016 Route deletion via IPAPI succeeded [adaptive]
Thu Aug 18 18:55:44 2016 C:\Windows\system32\route.exe DELETE 128.0.0.0 MASK 128.0.0.0 10.8.0.5
Thu Aug 18 18:55:44 2016 Route deletion via IPAPI succeeded [adaptive]
Thu Aug 18 18:55:44 2016 Closing TUN/TAP interface
Thu Aug 18 18:55:44 2016 SIGTERM[hard,] received, process exiting
Thu Aug 18 18:55:44 2016 MANAGEMENT: >STATE:1471560944,EXITING,SIGTERM,,

Traffic during routing loop (Note source IP):

Traffic after loop resolves itself:

If anyone has any ideas of how to resolve this, I would appreciate the help as I have been trying to figure it out myself for a few days now without success. Please let me know if there is any other logs/information that would be useful.