Opened 4 years ago

Closed 3 years ago

#842 closed Bug / Defect (notabug)

Stuck on "Waiting for TUN/TAP interface to come up..."

Reported by: dansfre Owned by:
Priority: minor Milestone:
Component: Configuration Version: OpenVPN 2.4.0 (Community Ed)
Severity: Not set (select this one, unless your'e a OpenVPN developer) Keywords: tap, interface, stuck, windows 10
Cc:

Description

Following repeats for almost 30 seconds until failure. OpenVPN installs just fine. openvpn.exe is run as admin.

TEST ROUTES: 0/1 succeeded len=1 ret=0 a=0 u/d=up
Route: Waiting for TUN/TAP interface to come up...

The same client/server config was working 2 days ago. I've tried resetting, rebooting and no luck:

netsh winsock reset catalog
netsh int ipv4 reset reset.log

I've also tried reinstalling, and making sure all traces of OpenVPN and the TAP device are gone before reinstall. Still no luck.

This effectively makes OpenVPN unusable. I'd be more than happy to follow any troubleshooting steps to understand what is happening.

Attachments (1)

tapc_21194u.log (26.2 KB) - added by tincantech 4 years ago.
Test attachment

Download all attachments as: .zip

Change History (15)

comment:1 Changed 4 years ago by dansfre

I'd like to change the title to: Stuck on "Waiting for TUN/TAP interface to come up..."

comment:2 Changed 4 years ago by tincantech

I use W10 and Openvpn 2.4.0 and it works {almost} perfectly.

Please post your sanitized configs and logs @ verb 4

comment:3 Changed 4 years ago by dansfre

CLIENT CONFIG

client
persist-key
persist-tun
dev tun
proto tcp-client
remote a.b.c.d 1234
resolv-retry infinite
nobind
verb 4
auth-user-pass
auth SHA1
cipher AES-128-CBC
route-method exe
route 192.168.10.0 255.255.255.0
<ca>...</ca>
<cert>...</cert>
<key>...</key>

LOG

Tue Feb 14 10:58:05 2017 us=851878 Current Parameter Settings:
Tue Feb 14 10:58:05 2017 us=852878   config = 'C:\server.ovpn'
Tue Feb 14 10:58:05 2017 us=852878   mode = 0
Tue Feb 14 10:58:05 2017 us=852878   show_ciphers = DISABLED
Tue Feb 14 10:58:05 2017 us=852878   show_digests = DISABLED
Tue Feb 14 10:58:05 2017 us=852878   show_engines = DISABLED
Tue Feb 14 10:58:05 2017 us=852878   genkey = DISABLED
Tue Feb 14 10:58:05 2017 us=852878   key_pass_file = '[UNDEF]'
Tue Feb 14 10:58:05 2017 us=852878   show_tls_ciphers = DISABLED
Tue Feb 14 10:58:05 2017 us=852878   connect_retry_max = 0
Tue Feb 14 10:58:05 2017 us=852878 Connection profiles [0]:
Tue Feb 14 10:58:05 2017 us=852878   proto = tcp-client
Tue Feb 14 10:58:05 2017 us=852878   local = '[UNDEF]'
Tue Feb 14 10:58:05 2017 us=852878   local_port = '[UNDEF]'
Tue Feb 14 10:58:05 2017 us=852878   remote = 'a.b.c.d'
Tue Feb 14 10:58:05 2017 us=852878   remote_port = '1234'
Tue Feb 14 10:58:05 2017 us=852878   remote_float = DISABLED
Tue Feb 14 10:58:05 2017 us=853879   bind_defined = DISABLED
Tue Feb 14 10:58:05 2017 us=853879   bind_local = DISABLED
Tue Feb 14 10:58:05 2017 us=853879   bind_ipv6_only = DISABLED
Tue Feb 14 10:58:05 2017 us=853879   connect_retry_seconds = 5
Tue Feb 14 10:58:05 2017 us=853879   connect_timeout = 120
Tue Feb 14 10:58:05 2017 us=853879   socks_proxy_server = '[UNDEF]'
Tue Feb 14 10:58:05 2017 us=853879   socks_proxy_port = '[UNDEF]'
Tue Feb 14 10:58:05 2017 us=853879   tun_mtu = 1500
Tue Feb 14 10:58:05 2017 us=853879   tun_mtu_defined = ENABLED
Tue Feb 14 10:58:05 2017 us=853879   link_mtu = 1500
Tue Feb 14 10:58:05 2017 us=853879   link_mtu_defined = DISABLED
Tue Feb 14 10:58:05 2017 us=853879   tun_mtu_extra = 0
Tue Feb 14 10:58:05 2017 us=853879   tun_mtu_extra_defined = DISABLED
Tue Feb 14 10:58:05 2017 us=853879   mtu_discover_type = -1
Tue Feb 14 10:58:05 2017 us=853879   fragment = 0
Tue Feb 14 10:58:05 2017 us=854880   mssfix = 1450
Tue Feb 14 10:58:05 2017 us=855881   explicit_exit_notification = 0
Tue Feb 14 10:58:05 2017 us=855881 Connection profiles END
Tue Feb 14 10:58:05 2017 us=856882   remote_random = DISABLED
Tue Feb 14 10:58:05 2017 us=856882   ipchange = '[UNDEF]'
Tue Feb 14 10:58:05 2017 us=857883   dev = 'tun'
Tue Feb 14 10:58:05 2017 us=857883   dev_type = '[UNDEF]'
Tue Feb 14 10:58:05 2017 us=858884   dev_node = '[UNDEF]'
Tue Feb 14 10:58:05 2017 us=860886   lladdr = '[UNDEF]'
Tue Feb 14 10:58:05 2017 us=860886   topology = 1
Tue Feb 14 10:58:05 2017 us=861887   ifconfig_local = '[UNDEF]'
Tue Feb 14 10:58:05 2017 us=861887   ifconfig_remote_netmask = '[UNDEF]'
Tue Feb 14 10:58:05 2017 us=862887   ifconfig_noexec = DISABLED
Tue Feb 14 10:58:05 2017 us=862887   ifconfig_nowarn = DISABLED
Tue Feb 14 10:58:05 2017 us=863888   ifconfig_ipv6_local = '[UNDEF]'
Tue Feb 14 10:58:05 2017 us=863888   ifconfig_ipv6_netbits = 0
Tue Feb 14 10:58:05 2017 us=863888   ifconfig_ipv6_remote = '[UNDEF]'
Tue Feb 14 10:58:05 2017 us=864889   shaper = 0
Tue Feb 14 10:58:05 2017 us=864889   mtu_test = 0
Tue Feb 14 10:58:05 2017 us=865890   mlock = DISABLED
Tue Feb 14 10:58:05 2017 us=865890   keepalive_ping = 0
Tue Feb 14 10:58:05 2017 us=865890   keepalive_timeout = 0
Tue Feb 14 10:58:05 2017 us=865890   inactivity_timeout = 0
Tue Feb 14 10:58:05 2017 us=866891   ping_send_timeout = 0
Tue Feb 14 10:58:05 2017 us=867892   ping_rec_timeout = 0
Tue Feb 14 10:58:05 2017 us=867892   ping_rec_timeout_action = 0
Tue Feb 14 10:58:05 2017 us=867892   ping_timer_remote = DISABLED
Tue Feb 14 10:58:05 2017 us=869894   remap_sigusr1 = 0
Tue Feb 14 10:58:05 2017 us=870895   persist_tun = ENABLED
Tue Feb 14 10:58:05 2017 us=870895   persist_local_ip = DISABLED
Tue Feb 14 10:58:05 2017 us=871896   persist_remote_ip = DISABLED
Tue Feb 14 10:58:05 2017 us=871896   persist_key = ENABLED
Tue Feb 14 10:58:05 2017 us=871896   passtos = DISABLED
Tue Feb 14 10:58:05 2017 us=872897   resolve_retry_seconds = 1000000000
Tue Feb 14 10:58:05 2017 us=872897   resolve_in_advance = DISABLED
Tue Feb 14 10:58:05 2017 us=873898   username = '[UNDEF]'
Tue Feb 14 10:58:05 2017 us=873898   groupname = '[UNDEF]'
Tue Feb 14 10:58:05 2017 us=874899   chroot_dir = '[UNDEF]'
Tue Feb 14 10:58:05 2017 us=874899   cd_dir = '[UNDEF]'
Tue Feb 14 10:58:05 2017 us=874899   writepid = '[UNDEF]'
Tue Feb 14 10:58:05 2017 us=874899   up_script = '[UNDEF]'
Tue Feb 14 10:58:05 2017 us=875900   down_script = '[UNDEF]'
Tue Feb 14 10:58:05 2017 us=875900   down_pre = DISABLED
Tue Feb 14 10:58:05 2017 us=875900   up_restart = DISABLED
Tue Feb 14 10:58:05 2017 us=875900   up_delay = DISABLED
Tue Feb 14 10:58:05 2017 us=876901   daemon = DISABLED
Tue Feb 14 10:58:05 2017 us=876901   inetd = 0
Tue Feb 14 10:58:05 2017 us=876901   log = DISABLED
Tue Feb 14 10:58:05 2017 us=876901   suppress_timestamps = DISABLED
Tue Feb 14 10:58:05 2017 us=877902   machine_readable_output = DISABLED
Tue Feb 14 10:58:05 2017 us=877902   nice = 0
Tue Feb 14 10:58:05 2017 us=877902   verbosity = 4
Tue Feb 14 10:58:05 2017 us=877902   mute = 0
Tue Feb 14 10:58:05 2017 us=879904   gremlin = 0
Tue Feb 14 10:58:05 2017 us=880904   status_file = '[UNDEF]'
Tue Feb 14 10:58:05 2017 us=880904   status_file_version = 1
Tue Feb 14 10:58:05 2017 us=881906   status_file_update_freq = 60
Tue Feb 14 10:58:05 2017 us=881906   occ = ENABLED
Tue Feb 14 10:58:05 2017 us=882907   rcvbuf = 0
Tue Feb 14 10:58:05 2017 us=882907   sndbuf = 0
Tue Feb 14 10:58:05 2017 us=883907   sockflags = 0
Tue Feb 14 10:58:05 2017 us=883907   fast_io = DISABLED
Tue Feb 14 10:58:05 2017 us=883907   comp.alg = 0
Tue Feb 14 10:58:05 2017 us=884908   comp.flags = 0
Tue Feb 14 10:58:05 2017 us=884908   route_script = '[UNDEF]'
Tue Feb 14 10:58:05 2017 us=884908   route_default_gateway = '[UNDEF]'
Tue Feb 14 10:58:05 2017 us=884908   route_default_metric = 0
Tue Feb 14 10:58:05 2017 us=885909   route_noexec = DISABLED
Tue Feb 14 10:58:05 2017 us=885909   route_delay = 5
Tue Feb 14 10:58:05 2017 us=886910   route_delay_window = 30
Tue Feb 14 10:58:05 2017 us=887911   route_delay_defined = ENABLED
Tue Feb 14 10:58:05 2017 us=887911   route_nopull = DISABLED
Tue Feb 14 10:58:05 2017 us=887911   route_gateway_via_dhcp = DISABLED
Tue Feb 14 10:58:05 2017 us=889913   allow_pull_fqdn = DISABLED
Tue Feb 14 10:58:05 2017 us=889913   route 192.168.10.0/255.255.255.0/default (not set)/default (not set)
Tue Feb 14 10:58:05 2017 us=890914   management_addr = '[UNDEF]'
Tue Feb 14 10:58:05 2017 us=890914   management_port = '[UNDEF]'
Tue Feb 14 10:58:05 2017 us=891915   management_user_pass = '[UNDEF]'
Tue Feb 14 10:58:05 2017 us=891915   management_log_history_cache = 250
Tue Feb 14 10:58:05 2017 us=892916   management_echo_buffer_size = 100
Tue Feb 14 10:58:05 2017 us=892916   management_write_peer_info_file = '[UNDEF]'
Tue Feb 14 10:58:05 2017 us=893917   management_client_user = '[UNDEF]'
Tue Feb 14 10:58:05 2017 us=893917   management_client_group = '[UNDEF]'
Tue Feb 14 10:58:05 2017 us=894419   management_flags = 0
Tue Feb 14 10:58:05 2017 us=894920   shared_secret_file = '[UNDEF]'
Tue Feb 14 10:58:05 2017 us=894920   key_direction = 0
Tue Feb 14 10:58:05 2017 us=895420   ciphername = 'AES-128-CBC'
Tue Feb 14 10:58:05 2017 us=895420   ncp_enabled = ENABLED
Tue Feb 14 10:58:05 2017 us=895921   ncp_ciphers = 'AES-256-GCM:AES-128-GCM'
Tue Feb 14 10:58:05 2017 us=895921   authname = 'SHA1'
Tue Feb 14 10:58:05 2017 us=896421   prng_hash = 'SHA1'
Tue Feb 14 10:58:05 2017 us=896421   prng_nonce_secret_len = 16
Tue Feb 14 10:58:05 2017 us=896922   keysize = 0
Tue Feb 14 10:58:05 2017 us=897422   engine = DISABLED
Tue Feb 14 10:58:05 2017 us=897923   replay = ENABLED
Tue Feb 14 10:58:05 2017 us=899424   mute_replay_warnings = DISABLED
Tue Feb 14 10:58:05 2017 us=899925   replay_window = 64
Tue Feb 14 10:58:05 2017 us=900425   replay_time = 15
Tue Feb 14 10:58:05 2017 us=900926   packet_id_file = '[UNDEF]'
Tue Feb 14 10:58:05 2017 us=901426   use_iv = ENABLED
Tue Feb 14 10:58:05 2017 us=901926   test_crypto = DISABLED
Tue Feb 14 10:58:05 2017 us=902427   tls_server = DISABLED
Tue Feb 14 10:58:05 2017 us=902927   tls_client = ENABLED
Tue Feb 14 10:58:05 2017 us=903428   key_method = 2
Tue Feb 14 10:58:05 2017 us=903428   ca_file = '[[INLINE]]'
Tue Feb 14 10:58:05 2017 us=903928   ca_path = '[UNDEF]'
Tue Feb 14 10:58:05 2017 us=903928   dh_file = '[UNDEF]'
Tue Feb 14 10:58:05 2017 us=904429   cert_file = '[[INLINE]]'
Tue Feb 14 10:58:05 2017 us=904929   extra_certs_file = '[UNDEF]'
Tue Feb 14 10:58:05 2017 us=904929   priv_key_file = '[[INLINE]]'
Tue Feb 14 10:58:05 2017 us=905430   pkcs12_file = '[UNDEF]'
Tue Feb 14 10:58:05 2017 us=905430   cryptoapi_cert = '[UNDEF]'
Tue Feb 14 10:58:05 2017 us=906548   cipher_list = '[UNDEF]'
Tue Feb 14 10:58:05 2017 us=906548   tls_verify = '[UNDEF]'
Tue Feb 14 10:58:05 2017 us=907048   tls_export_cert = '[UNDEF]'
Tue Feb 14 10:58:05 2017 us=907549   verify_x509_type = 0
Tue Feb 14 10:58:05 2017 us=908049   verify_x509_name = '[UNDEF]'
Tue Feb 14 10:58:05 2017 us=909551   crl_file = '[UNDEF]'
Tue Feb 14 10:58:05 2017 us=910580   ns_cert_type = 0
Tue Feb 14 10:58:05 2017 us=910580   remote_cert_ku[i] = 0
Tue Feb 14 10:58:05 2017 us=911581   remote_cert_ku[i] = 0
Tue Feb 14 10:58:05 2017 us=911581   remote_cert_ku[i] = 0
Tue Feb 14 10:58:05 2017 us=912582   remote_cert_ku[i] = 0
Tue Feb 14 10:58:05 2017 us=912582   remote_cert_ku[i] = 0
Tue Feb 14 10:58:05 2017 us=912582   remote_cert_ku[i] = 0
Tue Feb 14 10:58:05 2017 us=913583   remote_cert_ku[i] = 0
Tue Feb 14 10:58:05 2017 us=913583   remote_cert_ku[i] = 0
Tue Feb 14 10:58:05 2017 us=914584   remote_cert_ku[i] = 0
Tue Feb 14 10:58:05 2017 us=914584   remote_cert_ku[i] = 0
Tue Feb 14 10:58:05 2017 us=915584   remote_cert_ku[i] = 0
Tue Feb 14 10:58:05 2017 us=915584   remote_cert_ku[i] = 0
Tue Feb 14 10:58:05 2017 us=916585   remote_cert_ku[i] = 0
Tue Feb 14 10:58:05 2017 us=916585   remote_cert_ku[i] = 0
Tue Feb 14 10:58:05 2017 us=917587   remote_cert_ku[i] = 0
Tue Feb 14 10:58:05 2017 us=917587   remote_cert_ku[i] = 0
Tue Feb 14 10:58:05 2017 us=919589   remote_cert_eku = '[UNDEF]'
Tue Feb 14 10:58:05 2017 us=919589   ssl_flags = 0
Tue Feb 14 10:58:05 2017 us=919589   tls_timeout = 2
Tue Feb 14 10:58:05 2017 us=920589   renegotiate_bytes = -1
Tue Feb 14 10:58:05 2017 us=920589   renegotiate_packets = 0
Tue Feb 14 10:58:05 2017 us=921590   renegotiate_seconds = 3600
Tue Feb 14 10:58:05 2017 us=921590   handshake_window = 60
Tue Feb 14 10:58:05 2017 us=922591   transition_window = 3600
Tue Feb 14 10:58:05 2017 us=922591   single_session = DISABLED
Tue Feb 14 10:58:05 2017 us=923592   push_peer_info = DISABLED
Tue Feb 14 10:58:05 2017 us=923592   tls_exit = DISABLED
Tue Feb 14 10:58:05 2017 us=923592   tls_auth_file = '[UNDEF]'
Tue Feb 14 10:58:05 2017 us=924593   tls_crypt_file = '[UNDEF]'
Tue Feb 14 10:58:05 2017 us=924593   pkcs11_protected_authentication = DISABLED
Tue Feb 14 10:58:05 2017 us=925594   pkcs11_protected_authentication = DISABLED
Tue Feb 14 10:58:05 2017 us=925594   pkcs11_protected_authentication = DISABLED
Tue Feb 14 10:58:05 2017 us=926595   pkcs11_protected_authentication = DISABLED
Tue Feb 14 10:58:05 2017 us=926595   pkcs11_protected_authentication = DISABLED
Tue Feb 14 10:58:05 2017 us=927597   pkcs11_protected_authentication = DISABLED
Tue Feb 14 10:58:05 2017 us=927597   pkcs11_protected_authentication = DISABLED
Tue Feb 14 10:58:05 2017 us=928597   pkcs11_protected_authentication = DISABLED
Tue Feb 14 10:58:05 2017 us=929598   pkcs11_protected_authentication = DISABLED
Tue Feb 14 10:58:05 2017 us=930599   pkcs11_protected_authentication = DISABLED
Tue Feb 14 10:58:05 2017 us=930599   pkcs11_protected_authentication = DISABLED
Tue Feb 14 10:58:05 2017 us=930599   pkcs11_protected_authentication = DISABLED
Tue Feb 14 10:58:05 2017 us=931600   pkcs11_protected_authentication = DISABLED
Tue Feb 14 10:58:05 2017 us=931600   pkcs11_protected_authentication = DISABLED
Tue Feb 14 10:58:05 2017 us=932601   pkcs11_protected_authentication = DISABLED
Tue Feb 14 10:58:05 2017 us=932601   pkcs11_protected_authentication = DISABLED
Tue Feb 14 10:58:05 2017 us=933602   pkcs11_private_mode = 00000000
Tue Feb 14 10:58:05 2017 us=933602   pkcs11_private_mode = 00000000
Tue Feb 14 10:58:05 2017 us=934603   pkcs11_private_mode = 00000000
Tue Feb 14 10:58:05 2017 us=934603   pkcs11_private_mode = 00000000
Tue Feb 14 10:58:05 2017 us=935603   pkcs11_private_mode = 00000000
Tue Feb 14 10:58:05 2017 us=935603   pkcs11_private_mode = 00000000
Tue Feb 14 10:58:05 2017 us=936604   pkcs11_private_mode = 00000000
Tue Feb 14 10:58:05 2017 us=936604   pkcs11_private_mode = 00000000
Tue Feb 14 10:58:05 2017 us=936604   pkcs11_private_mode = 00000000
Tue Feb 14 10:58:05 2017 us=937606   pkcs11_private_mode = 00000000
Tue Feb 14 10:58:05 2017 us=937606   pkcs11_private_mode = 00000000
Tue Feb 14 10:58:05 2017 us=939608   pkcs11_private_mode = 00000000
Tue Feb 14 10:58:05 2017 us=939608   pkcs11_private_mode = 00000000
Tue Feb 14 10:58:05 2017 us=940608   pkcs11_private_mode = 00000000
Tue Feb 14 10:58:05 2017 us=940608   pkcs11_private_mode = 00000000
Tue Feb 14 10:58:05 2017 us=941609   pkcs11_private_mode = 00000000
Tue Feb 14 10:58:05 2017 us=941609   pkcs11_cert_private = DISABLED
Tue Feb 14 10:58:05 2017 us=942610   pkcs11_cert_private = DISABLED
Tue Feb 14 10:58:05 2017 us=942610   pkcs11_cert_private = DISABLED
Tue Feb 14 10:58:05 2017 us=943611   pkcs11_cert_private = DISABLED
Tue Feb 14 10:58:05 2017 us=943611   pkcs11_cert_private = DISABLED
Tue Feb 14 10:58:05 2017 us=943611   pkcs11_cert_private = DISABLED
Tue Feb 14 10:58:05 2017 us=944612   pkcs11_cert_private = DISABLED
Tue Feb 14 10:58:05 2017 us=944612   pkcs11_cert_private = DISABLED
Tue Feb 14 10:58:05 2017 us=945613   pkcs11_cert_private = DISABLED
Tue Feb 14 10:58:05 2017 us=945613   pkcs11_cert_private = DISABLED
Tue Feb 14 10:58:05 2017 us=946614   pkcs11_cert_private = DISABLED
Tue Feb 14 10:58:05 2017 us=946614   pkcs11_cert_private = DISABLED
Tue Feb 14 10:58:05 2017 us=946614   pkcs11_cert_private = DISABLED
Tue Feb 14 10:58:05 2017 us=947615   pkcs11_cert_private = DISABLED
Tue Feb 14 10:58:05 2017 us=947615   pkcs11_cert_private = DISABLED
Tue Feb 14 10:58:05 2017 us=949617   pkcs11_cert_private = DISABLED
Tue Feb 14 10:58:05 2017 us=950618   pkcs11_pin_cache_period = -1
Tue Feb 14 10:58:05 2017 us=950618   pkcs11_id = '[UNDEF]'
Tue Feb 14 10:58:05 2017 us=950618   pkcs11_id_management = DISABLED
Tue Feb 14 10:58:05 2017 us=951619   server_network = 0.0.0.0
Tue Feb 14 10:58:05 2017 us=951619   server_netmask = 0.0.0.0
Tue Feb 14 10:58:05 2017 us=952620   server_network_ipv6 = ::
Tue Feb 14 10:58:05 2017 us=952620   server_netbits_ipv6 = 0
Tue Feb 14 10:58:05 2017 us=953621   server_bridge_ip = 0.0.0.0
Tue Feb 14 10:58:05 2017 us=953621   server_bridge_netmask = 0.0.0.0
Tue Feb 14 10:58:05 2017 us=953621   server_bridge_pool_start = 0.0.0.0
Tue Feb 14 10:58:05 2017 us=954622   server_bridge_pool_end = 0.0.0.0
Tue Feb 14 10:58:05 2017 us=954622   ifconfig_pool_defined = DISABLED
Tue Feb 14 10:58:05 2017 us=955623   ifconfig_pool_start = 0.0.0.0
Tue Feb 14 10:58:05 2017 us=955623   ifconfig_pool_end = 0.0.0.0
Tue Feb 14 10:58:05 2017 us=956623   ifconfig_pool_netmask = 0.0.0.0
Tue Feb 14 10:58:05 2017 us=956623   ifconfig_pool_persist_filename = '[UNDEF]'
Tue Feb 14 10:58:05 2017 us=957625   ifconfig_pool_persist_refresh_freq = 600
Tue Feb 14 10:58:05 2017 us=957625   ifconfig_ipv6_pool_defined = DISABLED
Tue Feb 14 10:58:05 2017 us=957625   ifconfig_ipv6_pool_base = ::
Tue Feb 14 10:58:05 2017 us=959627   ifconfig_ipv6_pool_netbits = 0
Tue Feb 14 10:58:05 2017 us=959627   n_bcast_buf = 256
Tue Feb 14 10:58:05 2017 us=960627   tcp_queue_limit = 64
Tue Feb 14 10:58:05 2017 us=960627   real_hash_size = 256
Tue Feb 14 10:58:05 2017 us=961628   virtual_hash_size = 256
Tue Feb 14 10:58:05 2017 us=961628   client_connect_script = '[UNDEF]'
Tue Feb 14 10:58:05 2017 us=962629   learn_address_script = '[UNDEF]'
Tue Feb 14 10:58:05 2017 us=962629   client_disconnect_script = '[UNDEF]'
Tue Feb 14 10:58:05 2017 us=963630   client_config_dir = '[UNDEF]'
Tue Feb 14 10:58:05 2017 us=963630   ccd_exclusive = DISABLED
Tue Feb 14 10:58:05 2017 us=963630   tmp_dir = 'C:\Users\Admin\AppData\Local\Temp\'
Tue Feb 14 10:58:05 2017 us=964631   push_ifconfig_defined = DISABLED
Tue Feb 14 10:58:05 2017 us=964631   push_ifconfig_local = 0.0.0.0
Tue Feb 14 10:58:05 2017 us=965632   push_ifconfig_remote_netmask = 0.0.0.0
Tue Feb 14 10:58:05 2017 us=965632   push_ifconfig_ipv6_defined = DISABLED
Tue Feb 14 10:58:05 2017 us=966633   push_ifconfig_ipv6_local = ::/0
Tue Feb 14 10:58:05 2017 us=966633   push_ifconfig_ipv6_remote = ::
Tue Feb 14 10:58:05 2017 us=967634   enable_c2c = DISABLED
Tue Feb 14 10:58:05 2017 us=967634   duplicate_cn = DISABLED
Tue Feb 14 10:58:05 2017 us=968635   cf_max = 0
Tue Feb 14 10:58:05 2017 us=969636   cf_per = 0
Tue Feb 14 10:58:05 2017 us=970637   max_clients = 1024
Tue Feb 14 10:58:05 2017 us=970637   max_routes_per_client = 256
Tue Feb 14 10:58:05 2017 us=970637   auth_user_pass_verify_script = '[UNDEF]'
Tue Feb 14 10:58:05 2017 us=971638   auth_user_pass_verify_script_via_file = DISABLED
Tue Feb 14 10:58:05 2017 us=971638   auth_token_generate = DISABLED
Tue Feb 14 10:58:05 2017 us=972639   auth_token_lifetime = 0
Tue Feb 14 10:58:05 2017 us=972639   client = ENABLED
Tue Feb 14 10:58:05 2017 us=973640   pull = ENABLED
Tue Feb 14 10:58:05 2017 us=973640   auth_user_pass_file = 'stdin'
Tue Feb 14 10:58:05 2017 us=974641   show_net_up = DISABLED
Tue Feb 14 10:58:05 2017 us=974641   route_method = 2
Tue Feb 14 10:58:05 2017 us=974641   block_outside_dns = DISABLED
Tue Feb 14 10:58:05 2017 us=975642   ip_win32_defined = DISABLED
Tue Feb 14 10:58:05 2017 us=975642   ip_win32_type = 3
Tue Feb 14 10:58:05 2017 us=976642   dhcp_masq_offset = 0
Tue Feb 14 10:58:05 2017 us=976642   dhcp_lease_time = 31536000
Tue Feb 14 10:58:05 2017 us=977644   tap_sleep = 0
Tue Feb 14 10:58:05 2017 us=977644   dhcp_options = ENABLED
Tue Feb 14 10:58:05 2017 us=977644   dhcp_renew = DISABLED
Tue Feb 14 10:58:05 2017 us=979645   dhcp_pre_release = DISABLED
Tue Feb 14 10:58:05 2017 us=980646   dhcp_release = DISABLED
Tue Feb 14 10:58:05 2017 us=980646   domain = 'server'
Tue Feb 14 10:58:05 2017 us=980646   netbios_scope = '[UNDEF]'
Tue Feb 14 10:58:05 2017 us=981647   netbios_node_type = 0
Tue Feb 14 10:58:05 2017 us=981647   disable_nbt = DISABLED
Tue Feb 14 10:58:05 2017 us=982648   DNS[0] = 192.168.10.1
Tue Feb 14 10:58:05 2017 us=982648 OpenVPN 2.4.0 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] built on Jan 31 2017
Tue Feb 14 10:58:05 2017 us=983650 Windows version 6.2 (Windows 8 or greater) 64bit
Tue Feb 14 10:58:05 2017 us=983650 library versions: OpenSSL 1.0.2k  26 Jan 2017, LZO 2.09
Enter Auth Username:client
Enter Auth Password:
Tue Feb 14 10:58:08 2017 us=119525 WARNING: No server certificate verification method has been enabled.  See http://openvpn.net/howto.html#mitm for more info.
Tue Feb 14 10:58:08 2017 us=224231 Control Channel MTU parms [ L:1623 D:1210 EF:40 EB:0 ET:0 EL:3 ]
Tue Feb 14 10:58:08 2017 us=233569 Data Channel MTU parms [ L:1623 D:1450 EF:123 EB:406 ET:0 EL:3 ]
Tue Feb 14 10:58:08 2017 us=233569 Local Options String (VER=V4): 'V4,dev-type tun,link-mtu 1559,tun-mtu 1500,proto TCPv4_CLIENT,cipher AES-128-CBC,auth SHA1,keysize 128,key-method 2,tls-client'
Tue Feb 14 10:58:08 2017 us=233569 Expected Remote Options String (VER=V4): 'V4,dev-type tun,link-mtu 1559,tun-mtu 1500,proto TCPv4_SERVER,cipher AES-128-CBC,auth SHA1,keysize 128,key-method 2,tls-server'
Tue Feb 14 10:58:08 2017 us=235569 TCP/UDP: Preserving recently used remote address: [AF_INET]a.b.c.d:1234
Tue Feb 14 10:58:08 2017 us=235569 Socket Buffers: R=[65536->65536] S=[65536->65536]
Tue Feb 14 10:58:08 2017 us=235569 Attempting to establish TCP connection with [AF_INET]a.b.c.d:1234 [nonblock]
Tue Feb 14 10:58:09 2017 us=237528 TCP connection established with [AF_INET]a.b.c.d:1234
Tue Feb 14 10:58:09 2017 us=237528 TCP_CLIENT link local: (not bound)
Tue Feb 14 10:58:09 2017 us=238533 TCP_CLIENT link remote: [AF_INET]a.b.c.d:1234
Tue Feb 14 10:58:09 2017 us=239534 TLS: Initial packet from [AF_INET]a.b.c.d:1234, sid=c36b9285 b5227f57
Tue Feb 14 10:58:09 2017 us=271701 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Tue Feb 14 10:58:10 2017 us=19022 VERIFY OK: depth=1, CN=myCa
Tue Feb 14 10:58:10 2017 us=19525 VERIFY OK: depth=0, CN=server
Tue Feb 14 10:58:10 2017 us=692186 Control Channel: TLSv1.2, cipher TLSv1/SSLv3 DHE-RSA-AES256-GCM-SHA384, 2048 bit RSA
Tue Feb 14 10:58:10 2017 us=692186 [server] Peer Connection Initiated with [AF_INET]a.b.c.d:1234
Tue Feb 14 10:58:11 2017 us=801005 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
Tue Feb 14 10:58:16 2017 us=934421 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
Tue Feb 14 10:58:22 2017 us=71080 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
Tue Feb 14 10:58:22 2017 us=198836 PUSH: Received control message: 'PUSH_REPLY,dhcp-option DNS 192.168.10.1,topology subnet,route-gateway 10.0.0.1,ifconfig 10.0.0.5 255.255.255.248'
Tue Feb 14 10:58:22 2017 us=199018 OPTIONS IMPORT: --ifconfig/up options modified
Tue Feb 14 10:58:22 2017 us=200363 OPTIONS IMPORT: route-related options modified
Tue Feb 14 10:58:22 2017 us=200927 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Tue Feb 14 10:58:22 2017 us=201512 Data Channel MTU parms [ L:1559 D:1450 EF:59 EB:406 ET:0 EL:3 ]
Tue Feb 14 10:58:22 2017 us=202013 Data Channel Encrypt: Cipher 'AES-128-CBC' initialized with 128 bit key
Tue Feb 14 10:58:22 2017 us=202013 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue Feb 14 10:58:22 2017 us=202513 Data Channel Decrypt: Cipher 'AES-128-CBC' initialized with 128 bit key
Tue Feb 14 10:58:22 2017 us=203015 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue Feb 14 10:58:22 2017 us=204015 interactive service msg_channel=0
Tue Feb 14 10:58:22 2017 us=208992 ROUTE_GATEWAY 192.168.1.1/255.255.255.0 I=12 HWADDR=xx:xx:xx:xx:xx:xx
Tue Feb 14 10:58:22 2017 us=209492 open_tun
Tue Feb 14 10:58:22 2017 us=212534 TAP-WIN32 device [Ethernet 2] opened: \\.\Global\{9ADBE121-DB73-4D65-910E-E97FBD92BC00}.tap
Tue Feb 14 10:58:22 2017 us=212534 TAP-Windows Driver Version 9.21
Tue Feb 14 10:58:22 2017 us=213035 TAP-Windows MTU=1500
Tue Feb 14 10:58:22 2017 us=215124 Set TAP-Windows TUN subnet mode network/local/netmask = 10.0.0.5/10.0.0.5/255.255.255.248 [SUCCEEDED]
Tue Feb 14 10:58:22 2017 us=215124 Notified TAP-Windows driver to set a DHCP IP/netmask of 10.0.0.5/255.255.255.248 on interface {9ADBE121-DB73-4D65-910E-E97FBD92BC00} [DHCP-serv: 10.0.0.14, lease-time: 31536000]
Tue Feb 14 10:58:22 2017 us=216125 DHCP option string: 0f037766 640608c0 a80a01c0 a80a01
Tue Feb 14 10:58:22 2017 us=216125 Successful ARP Flush on interface [19] {9ADBE121-DB73-4D65-910E-E97FBD92BC00}
Tue Feb 14 10:58:22 2017 us=220128 do_ifconfig, tt->did_ifconfig_ipv6_setup=0
Tue Feb 14 10:58:27 2017 us=224025 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Tue Feb 14 10:58:27 2017 us=224025 Route: Waiting for TUN/TAP interface to come up...
Tue Feb 14 10:58:32 2017 us=228358 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Tue Feb 14 10:58:32 2017 us=228358 Route: Waiting for TUN/TAP interface to come up...
Tue Feb 14 10:58:33 2017 us=375976 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Tue Feb 14 10:58:33 2017 us=375976 Route: Waiting for TUN/TAP interface to come up...
Tue Feb 14 10:58:34 2017 us=523535 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Tue Feb 14 10:58:34 2017 us=523535 Route: Waiting for TUN/TAP interface to come up...
Tue Feb 14 10:58:35 2017 us=670760 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Tue Feb 14 10:58:35 2017 us=670760 Route: Waiting for TUN/TAP interface to come up...
Tue Feb 14 10:58:36 2017 us=818228 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Tue Feb 14 10:58:36 2017 us=818613 Route: Waiting for TUN/TAP interface to come up...
Tue Feb 14 10:58:37 2017 us=966235 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Tue Feb 14 10:58:37 2017 us=966235 Route: Waiting for TUN/TAP interface to come up...
Tue Feb 14 10:58:39 2017 us=113265 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Tue Feb 14 10:58:39 2017 us=113265 Route: Waiting for TUN/TAP interface to come up...
Tue Feb 14 10:58:40 2017 us=261526 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Tue Feb 14 10:58:40 2017 us=261972 Route: Waiting for TUN/TAP interface to come up...
Tue Feb 14 10:58:41 2017 us=409633 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Tue Feb 14 10:58:41 2017 us=410131 Route: Waiting for TUN/TAP interface to come up...
Tue Feb 14 10:58:42 2017 us=557264 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Tue Feb 14 10:58:42 2017 us=557264 Route: Waiting for TUN/TAP interface to come up...
Tue Feb 14 10:58:43 2017 us=584535 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Tue Feb 14 10:58:43 2017 us=584991 Route: Waiting for TUN/TAP interface to come up...
Tue Feb 14 10:58:44 2017 us=611606 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Tue Feb 14 10:58:44 2017 us=611606 Route: Waiting for TUN/TAP interface to come up...
Tue Feb 14 10:58:45 2017 us=638624 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Tue Feb 14 10:58:45 2017 us=638624 Route: Waiting for TUN/TAP interface to come up...
Tue Feb 14 10:58:46 2017 us=666579 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Tue Feb 14 10:58:46 2017 us=666579 Route: Waiting for TUN/TAP interface to come up...
Tue Feb 14 10:58:47 2017 us=694995 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Tue Feb 14 10:58:47 2017 us=694995 Route: Waiting for TUN/TAP interface to come up...
Tue Feb 14 10:58:48 2017 us=723988 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Tue Feb 14 10:58:48 2017 us=724431 Route: Waiting for TUN/TAP interface to come up...
Tue Feb 14 10:58:49 2017 us=751847 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Tue Feb 14 10:58:49 2017 us=751847 Route: Waiting for TUN/TAP interface to come up...
Tue Feb 14 10:58:50 2017 us=778862 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Tue Feb 14 10:58:50 2017 us=779308 Route: Waiting for TUN/TAP interface to come up...
Tue Feb 14 10:58:51 2017 us=806501 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Tue Feb 14 10:58:51 2017 us=806501 Route: Waiting for TUN/TAP interface to come up...
Tue Feb 14 10:58:52 2017 us=834109 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Tue Feb 14 10:58:52 2017 us=834483 Route: Waiting for TUN/TAP interface to come up...
Tue Feb 14 10:58:54 2017 us=97907 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Tue Feb 14 10:58:54 2017 us=97907 Route: Waiting for TUN/TAP interface to come up...
Tue Feb 14 10:58:55 2017 us=362072 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Tue Feb 14 10:58:55 2017 us=362539 Route: Waiting for TUN/TAP interface to come up...
Tue Feb 14 10:58:56 2017 us=626128 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Tue Feb 14 10:58:56 2017 us=626128 Route: Waiting for TUN/TAP interface to come up...
Tue Feb 14 10:58:57 2017 us=889878 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Tue Feb 14 10:58:57 2017 us=890300 C:\WINDOWS\system32\route.exe ADD 192.168.10.0 MASK 255.255.255.0 10.0.0.1
Tue Feb 14 10:58:57 2017 us=890300 env_block: add PATH=C:\WINDOWS\System32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
SYSTEM ADAPTER LIST
Intel(R) 82579V Gigabit Network Connection
  Index = 12
  GUID = {592208A3-06EE-4C07-BC0A-4DE86A59116E}
  IP = 192.168.1.20/255.255.255.0
  MAC = xx:xx:xx:xx:xx:xx
  GATEWAY = 192.168.1.1/255.255.255.255
  DHCP SERV = 192.168.1.1/255.255.255.255
  DHCP LEASE OBTAINED = Tue Feb 14 09:43:58 2017
  DHCP LEASE EXPIRES  = Fri Feb 17 09:43:58 2017
  DNS SERV = 192.168.1.1/255.255.255.255
TAP-Windows Adapter V9
  Index = 19
  GUID = {9ADBE121-DB73-4D65-910E-E97FBD92BC00}
  IP = 169.254.227.233/255.255.0.0
  MAC = xx:xx:xx:xx:xx:xx
  GATEWAY = 0.0.0.0/255.255.255.255
  DHCP SERV = 0.0.0.0/255.255.255.255
  DHCP LEASE OBTAINED = Tue Feb 14 10:58:57 2017
  DHCP LEASE EXPIRES  = Tue Feb 14 10:58:57 2017
  DNS SERV =
Tue Feb 14 10:58:58 2017 us=61391 Initialization Sequence Completed With Errors ( see http://openvpn.net/faq.html#dhcpclientserv )

At the end the TAP device still shows disconnected.

Last edited 4 years ago by dansfre (previous) (diff)

comment:4 Changed 4 years ago by tincantech

Have you started the Windows DHCP Client Service on the client ?

Version 0, edited 4 years ago by tincantech (next)

comment:5 Changed 4 years ago by dansfre

Yes, I named the client config it as the device I was connecting to (home server). In this case that's confusing though. I'll change it.

comment:6 in reply to:  4 Changed 4 years ago by dansfre

Replying to tincantech:

Have you started the Windows DHCP Client Service on the client ?

BTW: is your client config actually called :

Tue Feb 14 10:58:05 2017 us=851878 Current Parameter Settings:
Tue Feb 14 10:58:05 2017 us=852878 config = 'C:\server.ovpn'

Yes, the Windows DHCP Client Service was running and has been restarted. Still no tap connection.

Last edited 4 years ago by dansfre (previous) (diff)

comment:7 Changed 4 years ago by tincantech

Please try connecting to your vpn then post the output of ipconfig /all from client.

comment:8 Changed 4 years ago by dansfre

ipconfig/all

Windows IP Configuration

   Host Name . . . . . . . . . . . . : DESKTOP
   Primary Dns Suffix  . . . . . . . :
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No
   DNS Suffix Search List. . . . . . : local

Ethernet adapter Ethernet:

   Connection-specific DNS Suffix  . : local
   Description . . . . . . . . . . . : Intel(R) 82579V Gigabit Network Connection
   Physical Address. . . . . . . . . : XX-XX-XX-XX-XX-XX
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   IPv4 Address. . . . . . . . . . . : 192.168.1.20(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Lease Obtained. . . . . . . . . . : Tuesday, February 14, 2017 3:21:23 PM
   Lease Expires . . . . . . . . . . : Friday, February 17, 2017 6:46:18 PM
   Default Gateway . . . . . . . . . : 192.168.1.1
   DHCP Server . . . . . . . . . . . : 192.168.1.1
   DNS Servers . . . . . . . . . . . : 192.168.1.1
   NetBIOS over Tcpip. . . . . . . . : Disabled

Ethernet adapter VirtualBox Host-Only Network:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : VirtualBox Host-Only Ethernet Adapter
   Physical Address. . . . . . . . . : XX-XX-XX-XX-XX-XX
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : abcd::abcd:abcd:abcd:abcd%12(Preferred)
   Autoconfiguration IPv4 Address. . : 169.254.215.245(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.0.0
   Default Gateway . . . . . . . . . :
   DHCPv6 IAID . . . . . . . . . . . : 123456789
   DHCPv6 Client DUID. . . . . . . . : XX-XX-XX-XX-XX-XX-XX-XX-XX-XX-XX-XX-XX-XX
   DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
                                       fec0:0:0:ffff::2%1
                                       fec0:0:0:ffff::3%1
   NetBIOS over Tcpip. . . . . . . . : Enabled

Wireless LAN adapter Wi-Fi:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Qualcomm Atheros AR9485 Wireless Network Adapter
   Physical Address. . . . . . . . . : XX-XX-XX-XX-XX-XX
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes

Wireless LAN adapter Local Area Connection* 2:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft Wi-Fi Direct Virtual Adapter
   Physical Address. . . . . . . . . : XX-XX-XX-XX-XX-XX
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes

Ethernet adapter Ethernet 2:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : TAP-Windows Adapter V9
   Physical Address. . . . . . . . . : XX-XX-XX-XX-XX-XX
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   Autoconfiguration IPv4 Address. . : 169.254.227.233(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.0.0
   Default Gateway . . . . . . . . . :
   NetBIOS over Tcpip. . . . . . . . : Enabled

Ethernet adapter VMware Network Adapter VMnet1:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for VMnet1
   Physical Address. . . . . . . . . : XX-XX-XX-XX-XX-XX
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : abcd::abcd:abcd:abcd:abcd%34(Preferred)
   IPv4 Address. . . . . . . . . . . : 192.168.134.1(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Lease Obtained. . . . . . . . . . : Tuesday, February 14, 2017 6:46:12 PM
   Lease Expires . . . . . . . . . . : Tuesday, February 14, 2017 7:16:12 PM
   Default Gateway . . . . . . . . . :
   DHCP Server . . . . . . . . . . . : 192.168.134.254
   DHCPv6 IAID . . . . . . . . . . . : 987654321
   DHCPv6 Client DUID. . . . . . . . : XX-XX-XX-XX-XX-XX-XX-XX-XX-XX-XX-XX-XX-XX
   DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
                                       fec0:0:0:ffff::2%1
                                       fec0:0:0:ffff::3%1
   NetBIOS over Tcpip. . . . . . . . : Enabled

Ethernet adapter VMware Network Adapter VMnet8:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for VMnet8
   Physical Address. . . . . . . . . : XX-XX-XX-XX-XX-XX
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : abcd::abcd:abcd:abcd:abcd%56(Preferred)
   IPv4 Address. . . . . . . . . . . : 192.168.220.1(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Lease Obtained. . . . . . . . . . : Tuesday, February 14, 2017 6:46:12 PM
   Lease Expires . . . . . . . . . . : Tuesday, February 14, 2017 7:16:12 PM
   Default Gateway . . . . . . . . . :
   DHCP Server . . . . . . . . . . . : 192.168.220.254
   DHCPv6 IAID . . . . . . . . . . . : 135790246
   DHCPv6 Client DUID. . . . . . . . : XX-XX-XX-XX-XX-XX-XX-XX-XX-XX-XX-XX-XX-XX
   DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
                                       fec0:0:0:ffff::2%1
                                       fec0:0:0:ffff::3%1
   Primary WINS Server . . . . . . . : 192.168.220.2
   NetBIOS over Tcpip. . . . . . . . : Enabled

comment:9 Changed 4 years ago by dansfre

Problem solved. Issue was with physical ethernet adapter.

comment:10 Changed 4 years ago by tincantech

If you don't mind .. what was the actual issue ?

comment:11 in reply to:  10 Changed 4 years ago by dansfre

Replying to tincantech:

If you don't mind .. what was the actual issue ?

Unfortunately I have no idea, I just disabled/re-enabled the real ethernet adapter and the TUN adapter had no issues coming up when connecting to the VPN server.

Oddly enough the connection to my router also slowed to a crawl at 10mbps. Something happened with the interface itself I guess.

Sadly, however, on another computer on Win7 (mine is Win10) the exact same problem is happening when using the exact same client/server config. And that computer is using the wifi adapter. Disabling/re-enabling that wifi adapter or restarting doesn't seem to fix the problem though.

I wish there was a way to probe the interface and find why the lockup is happening on the TUN adapter and what's actually causing it.

Changed 4 years ago by tincantech

Attachment: tapc_21194u.log added

Test attachment

comment:12 Changed 3 years ago by ionut stoica

The problem still exists, form what I see, during the connection phase, the route is added to the real adapter instead of the tun0

Shouldn't the 10.8.0.0 should be added on the TAP-Windows(tun0) ?

https://image.ibb.co/f1SVVF/rtable.png (From here https://ibb.co/iiVjqF)

client
dev-type tun
dev-node tun0
dev tun
proto udp
sndbuf 0
rcvbuf 0
remote 10.3.10.139 1194
resolv-retry infinite
nobind
remote-cert-tls server
auth SHA512
cipher AES-256-CBC
comp-lzo
key-direction 1
verb 3
<ca>

The connection log

Fri Jul 07 14:45:35 2017 OpenVPN 2.4.3 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] built on Jun 20 2017
Fri Jul 07 14:45:35 2017 Windows version 6.2 (Windows 8 or greater) 64bit
Fri Jul 07 14:45:35 2017 library versions: OpenSSL 1.0.2l  25 May 2017, LZO 2.10
Fri Jul 07 14:45:35 2017 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25340
Fri Jul 07 14:45:35 2017 Need hold release from management interface, waiting...
Fri Jul 07 14:45:36 2017 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25340
Fri Jul 07 14:45:36 2017 MANAGEMENT: CMD 'state on'
Fri Jul 07 14:45:36 2017 MANAGEMENT: CMD 'log all on'
Fri Jul 07 14:45:36 2017 MANAGEMENT: CMD 'echo all on'
Fri Jul 07 14:45:36 2017 MANAGEMENT: CMD 'hold off'
Fri Jul 07 14:45:36 2017 MANAGEMENT: CMD 'hold release'
Fri Jul 07 14:45:36 2017 Outgoing Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication
Fri Jul 07 14:45:36 2017 Incoming Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication
Fri Jul 07 14:45:36 2017 TCP/UDP: Preserving recently used remote address: [AF_INET]10.3.10.139:1194
Fri Jul 07 14:45:36 2017 Socket Buffers: R=[65536->65536] S=[65536->65536]
Fri Jul 07 14:45:36 2017 UDP link local: (not bound)
Fri Jul 07 14:45:36 2017 UDP link remote: [AF_INET]10.3.10.139:1194
Fri Jul 07 14:45:36 2017 MANAGEMENT: >STATE:1499431536,WAIT,,,,,,
Fri Jul 07 14:45:36 2017 MANAGEMENT: >STATE:1499431536,AUTH,,,,,,
Fri Jul 07 14:45:36 2017 TLS: Initial packet from [AF_INET]10.3.10.139:1194, sid=edad71d2 57161147
Fri Jul 07 14:45:36 2017 VERIFY OK: depth=1, CN=ChangeMe
Fri Jul 07 14:45:36 2017 VERIFY KU OK
Fri Jul 07 14:45:36 2017 Validating certificate extended key usage
Fri Jul 07 14:45:36 2017 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
Fri Jul 07 14:45:36 2017 VERIFY EKU OK
Fri Jul 07 14:45:36 2017 VERIFY OK: depth=0, CN=server
Fri Jul 07 14:45:36 2017 Control Channel: TLSv1.2, cipher TLSv1/SSLv3 DHE-RSA-AES256-GCM-SHA384, 2048 bit RSA
Fri Jul 07 14:45:36 2017 [server] Peer Connection Initiated with [AF_INET]10.3.10.139:1194
Fri Jul 07 14:45:38 2017 MANAGEMENT: >STATE:1499431538,GET_CONFIG,,,,,,
Fri Jul 07 14:45:38 2017 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
Fri Jul 07 14:45:38 2017 PUSH: Received control message: 'PUSH_REPLY,route-gateway 10.8.0.1,topology subnet,ping 10,ping-restart 120,route 10.8.0.0 255.255.0.0,ifconfig 10.8.1.3 10.8.1.4'
Fri Jul 07 14:45:38 2017 OPTIONS IMPORT: timers and/or timeouts modified
Fri Jul 07 14:45:38 2017 OPTIONS IMPORT: --ifconfig/up options modified
Fri Jul 07 14:45:38 2017 OPTIONS IMPORT: route options modified
Fri Jul 07 14:45:38 2017 OPTIONS IMPORT: route-related options modified
Fri Jul 07 14:45:38 2017 Data Channel Encrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
Fri Jul 07 14:45:38 2017 Data Channel Encrypt: Using 512 bit message hash 'SHA512' for HMAC authentication
Fri Jul 07 14:45:38 2017 Data Channel Decrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
Fri Jul 07 14:45:38 2017 Data Channel Decrypt: Using 512 bit message hash 'SHA512' for HMAC authentication
Fri Jul 07 14:45:38 2017 interactive service msg_channel=0
Fri Jul 07 14:45:38 2017 ROUTE_GATEWAY 10.3.10.1/255.255.255.0 I=13 HWADDR=9c:b6:54:ed:d9:c5
Fri Jul 07 14:45:38 2017 open_tun
Fri Jul 07 14:45:38 2017 TAP-WIN32 device [tun0] opened: \\.\Global\{B1DFBB77-B50C-405E-B86D-C78E61123505}.tap
Fri Jul 07 14:45:38 2017 TAP-Windows Driver Version 9.21 
Fri Jul 07 14:45:38 2017 Set TAP-Windows TUN subnet mode network/local/netmask = 10.8.1.0/10.8.1.3/10.8.1.4 [SUCCEEDED]
Fri Jul 07 14:45:38 2017 Notified TAP-Windows driver to set a DHCP IP/netmask of 10.8.1.3/10.8.1.4 on interface {B1DFBB77-B50C-405E-B86D-C78E61123505} [DHCP-serv: 255.255.255.250, lease-time: 31536000]
Fri Jul 07 14:45:38 2017 Successful ARP Flush on interface [16] {B1DFBB77-B50C-405E-B86D-C78E61123505}
Fri Jul 07 14:45:38 2017 do_ifconfig, tt->did_ifconfig_ipv6_setup=0
Fri Jul 07 14:45:38 2017 MANAGEMENT: >STATE:1499431538,ASSIGN_IP,,10.8.1.3,,,,
Fri Jul 07 14:45:43 2017 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Fri Jul 07 14:45:43 2017 Route: Waiting for TUN/TAP interface to come up...
Fri Jul 07 14:45:48 2017 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Fri Jul 07 14:45:48 2017 Route: Waiting for TUN/TAP interface to come up...
Fri Jul 07 14:45:49 2017 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Fri Jul 07 14:45:49 2017 Route: Waiting for TUN/TAP interface to come up...
Fri Jul 07 14:45:50 2017 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Fri Jul 07 14:45:50 2017 Route: Waiting for TUN/TAP interface to come up...
Fri Jul 07 14:45:52 2017 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Fri Jul 07 14:45:52 2017 Route: Waiting for TUN/TAP interface to come up...
Fri Jul 07 14:45:53 2017 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Fri Jul 07 14:45:53 2017 Route: Waiting for TUN/TAP interface to come up...
Fri Jul 07 14:45:54 2017 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Fri Jul 07 14:45:54 2017 Route: Waiting for TUN/TAP interface to come up...
Fri Jul 07 14:45:55 2017 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Fri Jul 07 14:45:55 2017 Route: Waiting for TUN/TAP interface to come up...
Fri Jul 07 14:45:56 2017 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Fri Jul 07 14:45:56 2017 Route: Waiting for TUN/TAP interface to come up...
Fri Jul 07 14:45:57 2017 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Fri Jul 07 14:45:57 2017 Route: Waiting for TUN/TAP interface to come up...
Fri Jul 07 14:45:58 2017 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Fri Jul 07 14:45:58 2017 Route: Waiting for TUN/TAP interface to come up...
Fri Jul 07 14:45:59 2017 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Fri Jul 07 14:45:59 2017 Route: Waiting for TUN/TAP interface to come up...
Fri Jul 07 14:46:00 2017 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Fri Jul 07 14:46:00 2017 Route: Waiting for TUN/TAP interface to come up...
Fri Jul 07 14:46:01 2017 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Fri Jul 07 14:46:01 2017 Route: Waiting for TUN/TAP interface to come up...
Fri Jul 07 14:46:02 2017 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Fri Jul 07 14:46:02 2017 Route: Waiting for TUN/TAP interface to come up...
Fri Jul 07 14:46:03 2017 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Fri Jul 07 14:46:03 2017 Route: Waiting for TUN/TAP interface to come up...
Fri Jul 07 14:46:04 2017 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Fri Jul 07 14:46:04 2017 Route: Waiting for TUN/TAP interface to come up...
Fri Jul 07 14:46:05 2017 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Fri Jul 07 14:46:05 2017 Route: Waiting for TUN/TAP interface to come up...
Fri Jul 07 14:46:06 2017 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Fri Jul 07 14:46:06 2017 Route: Waiting for TUN/TAP interface to come up...
Fri Jul 07 14:46:08 2017 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Fri Jul 07 14:46:08 2017 Route: Waiting for TUN/TAP interface to come up...
Fri Jul 07 14:46:09 2017 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Fri Jul 07 14:46:09 2017 Route: Waiting for TUN/TAP interface to come up...
Fri Jul 07 14:46:10 2017 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Fri Jul 07 14:46:10 2017 Route: Waiting for TUN/TAP interface to come up...
Fri Jul 07 14:46:11 2017 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Fri Jul 07 14:46:11 2017 Route: Waiting for TUN/TAP interface to come up...
Fri Jul 07 14:46:12 2017 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Fri Jul 07 14:46:12 2017 Route: Waiting for TUN/TAP interface to come up...
Fri Jul 07 14:46:13 2017 TEST ROUTES: 0/0 succeeded len=-1 ret=0 a=0 u/d=down
Fri Jul 07 14:46:13 2017 MANAGEMENT: >STATE:1499431573,ADD_ROUTES,,,,,,
Fri Jul 07 14:46:13 2017 C:\WINDOWS\system32\route.exe ADD 10.8.0.0 MASK 255.255.0.0 10.8.0.1
Fri Jul 07 14:46:13 2017 Warning: route gateway is not reachable on any active network adapters: 10.8.0.1
Fri Jul 07 14:46:13 2017 Route addition via IPAPI failed [adaptive]
Fri Jul 07 14:46:13 2017 Route addition fallback to route.exe
Fri Jul 07 14:46:13 2017 env_block: add PATH=C:\WINDOWS\System32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
Fri Jul 07 14:46:13 2017 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Fri Jul 07 14:46:13 2017 SYSTEM ROUTING TABLE
Fri Jul 07 14:46:13 2017 0.0.0.0 0.0.0.0 10.3.10.1 p=0 i=13 t=4 pr=3 a=4758 h=0 m=281/0/0/0/0
Fri Jul 07 14:46:13 2017 10.3.10.0 255.255.255.0 10.3.10.99 p=0 i=13 t=3 pr=2 a=4755 h=0 m=281/0/0/0/0
Fri Jul 07 14:46:13 2017 10.3.10.99 255.255.255.255 10.3.10.99 p=0 i=13 t=3 pr=2 a=4755 h=0 m=281/0/0/0/0
Fri Jul 07 14:46:13 2017 10.3.10.255 255.255.255.255 10.3.10.99 p=0 i=13 t=3 pr=2 a=4755 h=0 m=281/0/0/0/0
Fri Jul 07 14:46:13 2017 10.8.0.0 255.255.0.0 10.8.0.1 p=0 i=13 t=4 pr=3 a=0 h=0 m=26/0/0/0/0
Fri Jul 07 14:46:13 2017 127.0.0.0 255.0.0.0 127.0.0.1 p=0 i=1 t=3 pr=2 a=4789 h=0 m=331/0/0/0/0
Fri Jul 07 14:46:13 2017 127.0.0.1 255.255.255.255 127.0.0.1 p=0 i=1 t=3 pr=2 a=4789 h=0 m=331/0/0/0/0
Fri Jul 07 14:46:13 2017 127.255.255.255 255.255.255.255 127.0.0.1 p=0 i=1 t=3 pr=2 a=4789 h=0 m=331/0/0/0/0
Fri Jul 07 14:46:13 2017 169.254.0.0 255.255.0.0 169.254.21.87 p=0 i=16 t=3 pr=2 a=32 h=0 m=291/0/0/0/0
Fri Jul 07 14:46:13 2017 169.254.21.87 255.255.255.255 169.254.21.87 p=0 i=16 t=3 pr=2 a=32 h=0 m=291/0/0/0/0
Fri Jul 07 14:46:13 2017 169.254.255.255 255.255.255.255 169.254.21.87 p=0 i=16 t=3 pr=2 a=32 h=0 m=291/0/0/0/0
Fri Jul 07 14:46:13 2017 192.168.56.0 255.255.255.0 192.168.56.1 p=0 i=6 t=3 pr=2 a=4755 h=0 m=281/0/0/0/0
Fri Jul 07 14:46:13 2017 192.168.56.1 255.255.255.255 192.168.56.1 p=0 i=6 t=3 pr=2 a=4755 h=0 m=281/0/0/0/0
Fri Jul 07 14:46:13 2017 192.168.56.255 255.255.255.255 192.168.56.1 p=0 i=6 t=3 pr=2 a=4755 h=0 m=281/0/0/0/0
Fri Jul 07 14:46:13 2017 192.168.99.0 255.255.255.0 192.168.99.1 p=0 i=10 t=3 pr=2 a=4755 h=0 m=281/0/0/0/0
Fri Jul 07 14:46:13 2017 192.168.99.1 255.255.255.255 192.168.99.1 p=0 i=10 t=3 pr=2 a=4755 h=0 m=281/0/0/0/0
Fri Jul 07 14:46:13 2017 192.168.99.255 255.255.255.255 192.168.99.1 p=0 i=10 t=3 pr=2 a=4755 h=0 m=281/0/0/0/0
Fri Jul 07 14:46:13 2017 192.168.125.0 255.255.255.0 192.168.125.1 p=0 i=5 t=3 pr=2 a=4758 h=0 m=291/0/0/0/0
Fri Jul 07 14:46:13 2017 192.168.125.1 255.255.255.255 192.168.125.1 p=0 i=5 t=3 pr=2 a=4758 h=0 m=291/0/0/0/0
Fri Jul 07 14:46:13 2017 192.168.125.255 255.255.255.255 192.168.125.1 p=0 i=5 t=3 pr=2 a=4758 h=0 m=291/0/0/0/0
Fri Jul 07 14:46:13 2017 192.168.150.0 255.255.255.0 192.168.150.1 p=0 i=17 t=3 pr=2 a=4758 h=0 m=291/0/0/0/0
Fri Jul 07 14:46:13 2017 192.168.150.1 255.255.255.255 192.168.150.1 p=0 i=17 t=3 pr=2 a=4758 h=0 m=291/0/0/0/0
Fri Jul 07 14:46:13 2017 192.168.150.255 255.255.255.255 192.168.150.1 p=0 i=17 t=3 pr=2 a=4758 h=0 m=291/0/0/0/0
Fri Jul 07 14:46:13 2017 224.0.0.0 240.0.0.0 127.0.0.1 p=0 i=1 t=3 pr=2 a=4789 h=0 m=331/0/0/0/0
Fri Jul 07 14:46:13 2017 224.0.0.0 240.0.0.0 192.168.150.1 p=0 i=17 t=3 pr=2 a=4758 h=0 m=291/0/0/0/0
Fri Jul 07 14:46:13 2017 224.0.0.0 240.0.0.0 192.168.125.1 p=0 i=5 t=3 pr=2 a=4758 h=0 m=291/0/0/0/0
Fri Jul 07 14:46:13 2017 224.0.0.0 240.0.0.0 192.168.56.1 p=0 i=6 t=3 pr=2 a=4758 h=0 m=281/0/0/0/0
Fri Jul 07 14:46:13 2017 224.0.0.0 240.0.0.0 192.168.99.1 p=0 i=10 t=3 pr=2 a=4758 h=0 m=281/0/0/0/0
Fri Jul 07 14:46:13 2017 224.0.0.0 240.0.0.0 10.3.10.99 p=0 i=13 t=3 pr=2 a=4758 h=0 m=281/0/0/0/0
Fri Jul 07 14:46:13 2017 224.0.0.0 240.0.0.0 169.254.21.87 p=0 i=16 t=3 pr=2 a=117 h=0 m=291/0/0/0/0
Fri Jul 07 14:46:13 2017 255.255.255.255 255.255.255.255 127.0.0.1 p=0 i=1 t=3 pr=2 a=4789 h=0 m=331/0/0/0/0
Fri Jul 07 14:46:13 2017 255.255.255.255 255.255.255.255 192.168.150.1 p=0 i=17 t=3 pr=2 a=4758 h=0 m=291/0/0/0/0
Fri Jul 07 14:46:13 2017 255.255.255.255 255.255.255.255 192.168.125.1 p=0 i=5 t=3 pr=2 a=4758 h=0 m=291/0/0/0/0
Fri Jul 07 14:46:13 2017 255.255.255.255 255.255.255.255 192.168.56.1 p=0 i=6 t=3 pr=2 a=4758 h=0 m=281/0/0/0/0
Fri Jul 07 14:46:13 2017 255.255.255.255 255.255.255.255 192.168.99.1 p=0 i=10 t=3 pr=2 a=4758 h=0 m=281/0/0/0/0
Fri Jul 07 14:46:13 2017 255.255.255.255 255.255.255.255 10.3.10.99 p=0 i=13 t=3 pr=2 a=4758 h=0 m=281/0/0/0/0
Fri Jul 07 14:46:13 2017 255.255.255.255 255.255.255.255 169.254.21.87 p=0 i=16 t=3 pr=2 a=117 h=0 m=291/0/0/0/0
Fri Jul 07 14:46:13 2017 SYSTEM ADAPTER LIST
Fri Jul 07 14:46:13 2017 Realtek PCIe GBE Family Controller
Fri Jul 07 14:46:13 2017   Index = 13
Fri Jul 07 14:46:13 2017   GUID = {B17F514C-F7B3-4CF6-B56E-F31393FE7CCC}
Fri Jul 07 14:46:13 2017   IP = 10.3.10.99/255.255.255.0 
Fri Jul 07 14:46:13 2017   MAC = 9c:b6:54:ed:d9:c5
Fri Jul 07 14:46:13 2017   GATEWAY = 10.3.10.1/255.255.255.255 
Fri Jul 07 14:46:13 2017   DNS SERV = 10.3.10.1/255.255.255.255 8.8.8.8/255.255.255.255 8.8.4.4/255.255.255.255 
Fri Jul 07 14:46:13 2017 VMware Virtual Ethernet Adapter for VMnet1
Fri Jul 07 14:46:13 2017   Index = 5
Fri Jul 07 14:46:13 2017   GUID = {4E5E0D60-8C8C-40DD-AB00-1AFFEF207C4D}
Fri Jul 07 14:46:13 2017   IP = 192.168.125.1/255.255.255.0 
Fri Jul 07 14:46:13 2017   MAC = 00:50:56:c0:00:01
Fri Jul 07 14:46:13 2017   GATEWAY = 0.0.0.0/255.255.255.255 
Fri Jul 07 14:46:13 2017   DNS SERV =  
Fri Jul 07 14:46:13 2017 VMware Virtual Ethernet Adapter for VMnet8
Fri Jul 07 14:46:13 2017   Index = 17
Fri Jul 07 14:46:13 2017   GUID = {FC98BEC8-B3C6-4FCA-B005-03697D9AF4E0}
Fri Jul 07 14:46:13 2017   IP = 192.168.150.1/255.255.255.0 
Fri Jul 07 14:46:13 2017   MAC = 00:50:56:c0:00:08
Fri Jul 07 14:46:13 2017   GATEWAY = 0.0.0.0/255.255.255.255 
Fri Jul 07 14:46:13 2017   DNS SERV =  
Fri Jul 07 14:46:13 2017 VirtualBox Host-Only Ethernet Adapter #2
Fri Jul 07 14:46:13 2017   Index = 6
Fri Jul 07 14:46:13 2017   GUID = {4F62EFCF-3C57-4F26-A4E8-7BA38842E376}
Fri Jul 07 14:46:13 2017   IP = 192.168.56.1/255.255.255.0 
Fri Jul 07 14:46:13 2017   MAC = 0a:00:27:00:00:06
Fri Jul 07 14:46:13 2017   GATEWAY = 0.0.0.0/255.255.255.255 
Fri Jul 07 14:46:13 2017   DNS SERV =  
Fri Jul 07 14:46:13 2017 VirtualBox Host-Only Ethernet Adapter #3
Fri Jul 07 14:46:13 2017   Index = 10
Fri Jul 07 14:46:13 2017   GUID = {8BD0421C-BDBA-4338-B7B6-51538A5C4327}
Fri Jul 07 14:46:13 2017   IP = 192.168.99.1/255.255.255.0 
Fri Jul 07 14:46:13 2017   MAC = 0a:00:27:00:00:0a
Fri Jul 07 14:46:13 2017   GATEWAY = 0.0.0.0/255.255.255.255 
Fri Jul 07 14:46:13 2017   DNS SERV =  
Fri Jul 07 14:46:13 2017 TAP-Windows Adapter V9
Fri Jul 07 14:46:13 2017   Index = 16
Fri Jul 07 14:46:13 2017   GUID = {B1DFBB77-B50C-405E-B86D-C78E61123505}
Fri Jul 07 14:46:13 2017   IP = 169.254.21.87/255.255.0.0 
Fri Jul 07 14:46:13 2017   MAC = 00:ff:b1:df:bb:77
Fri Jul 07 14:46:13 2017   GATEWAY = 0.0.0.0/255.255.255.255 
Fri Jul 07 14:46:13 2017   DHCP SERV = 0.0.0.0/255.255.255.255 
Fri Jul 07 14:46:13 2017   DHCP LEASE OBTAINED = Fri Jul 07 14:46:13 2017
Fri Jul 07 14:46:13 2017   DHCP LEASE EXPIRES  = Fri Jul 07 14:46:13 2017
Fri Jul 07 14:46:13 2017   DNS SERV =  
Fri Jul 07 14:46:13 2017 Bluetooth Device (Personal Area Network) #2
Fri Jul 07 14:46:13 2017   Index = 18
Fri Jul 07 14:46:13 2017   GUID = {FFDD2DAC-D63D-439D-9B6A-2DF8251B9D9F}
Fri Jul 07 14:46:13 2017   IP = 0.0.0.0/0.0.0.0 
Fri Jul 07 14:46:13 2017   MAC = a0:a8:cd:65:8c:99
Fri Jul 07 14:46:13 2017   GATEWAY = 0.0.0.0/255.255.255.255 
Fri Jul 07 14:46:13 2017   DHCP SERV =  
Fri Jul 07 14:46:13 2017   DHCP LEASE OBTAINED = Fri Jul 07 14:46:13 2017
Fri Jul 07 14:46:13 2017   DHCP LEASE EXPIRES  = Fri Jul 07 14:46:13 2017
Fri Jul 07 14:46:13 2017   DNS SERV =  
Fri Jul 07 14:46:13 2017 Intel(R) Dual Band Wireless-AC 7260
Fri Jul 07 14:46:13 2017   Index = 3
Fri Jul 07 14:46:13 2017   GUID = {1CE590BF-4B4B-4679-AE7C-8B089762C732}
Fri Jul 07 14:46:13 2017   IP = 0.0.0.0/0.0.0.0 
Fri Jul 07 14:46:13 2017   MAC = a0:a8:cd:65:8c:95
Fri Jul 07 14:46:13 2017   GATEWAY = 10.3.10.1/255.255.255.255 
Fri Jul 07 14:46:13 2017   DHCP SERV =  
Fri Jul 07 14:46:13 2017   DHCP LEASE OBTAINED = Fri Jul 07 14:46:13 2017
Fri Jul 07 14:46:13 2017   DHCP LEASE EXPIRES  = Fri Jul 07 14:46:13 2017
Fri Jul 07 14:46:13 2017   DNS SERV =  
Fri Jul 07 14:46:13 2017 Microsoft Wi-Fi Direct Virtual Adapter #3
Fri Jul 07 14:46:13 2017   Index = 2
Fri Jul 07 14:46:13 2017   GUID = {0806BD0A-37D3-4CBB-ABA2-89692FFF0E20}
Fri Jul 07 14:46:13 2017   IP = 0.0.0.0/0.0.0.0 
Fri Jul 07 14:46:13 2017   MAC = a0:a8:cd:65:8c:96
Fri Jul 07 14:46:13 2017   GATEWAY = 0.0.0.0/255.255.255.255 
Fri Jul 07 14:46:13 2017   DHCP SERV =  
Fri Jul 07 14:46:13 2017   DHCP LEASE OBTAINED = Fri Jul 07 14:46:13 2017
Fri Jul 07 14:46:13 2017   DHCP LEASE EXPIRES  = Fri Jul 07 14:46:13 2017
Fri Jul 07 14:46:13 2017   DNS SERV =  
Fri Jul 07 14:46:13 2017 Microsoft Hosted Network Virtual Adapter
Fri Jul 07 14:46:13 2017   Index = 4
Fri Jul 07 14:46:13 2017   GUID = {4527A7C9-046E-41AE-947F-A0AAE4F442D4}
Fri Jul 07 14:46:13 2017   IP = 0.0.0.0/0.0.0.0 
Fri Jul 07 14:46:13 2017   MAC = a2:a8:cd:65:8c:95
Fri Jul 07 14:46:13 2017   GATEWAY = 0.0.0.0/255.255.255.255 
Fri Jul 07 14:46:13 2017   DHCP SERV =  
Fri Jul 07 14:46:13 2017   DHCP LEASE OBTAINED = Fri Jul 07 14:46:13 2017
Fri Jul 07 14:46:13 2017   DHCP LEASE EXPIRES  = Fri Jul 07 14:46:13 2017
Fri Jul 07 14:46:13 2017   DNS SERV =  
Fri Jul 07 14:46:13 2017 Initialization Sequence Completed With Errors ( see http://openvpn.net/faq.html#dhcpclientserv )
Fri Jul 07 14:46:13 2017 MANAGEMENT: >STATE:1499431573,CONNECTED,ERROR,10.8.1.3,10.3.10.139,1194,,

comment:13 Changed 3 years ago by tincantech

You are using --topology subnet but you are pushing a net30 subnet to your client.

This is not a bug, this is a user configuration error and should not be reported on this bug trac.

Thank you.

comment:14 Changed 3 years ago by David Sommerseth

Component: tap-windows6Configuration
Priority: blockerminor
Resolution: notabug
Status: newclosed
Summary: Windows 10 x64, OpenVPN 2.4.0-I602:Stuck on "Waiting for TUN/TAP interface to come up..."

To clarify the comment from tincantech. The server is pushing topology subnet and a wrong ifconfig option. When using ifconfig 10.8.1.3 10.8.1.4, this is aiming at a peer-to-peer mode configuration. The correct value should be: ifconfig 10.8.1.3 255.255.0.0. That said, I'd even consider a /16 subnet (255.255.0.0) to be quite large for a VPN address scope too.

I'm closing this ticket, as it is not a bug or failure in OpenVPN. It is a misconfiguration.

Note: See TracTickets for help on using tickets.