2.3.9 on windows server, sleep/wake problem

Weekly dev snapshots are available for testing.
We talk about them here. Testing features in the dev snapshot helps the features make it to stable.
Forum rules
Please report your experience with testing branch. Include what you were using and how
If there is a problem, the more info the better!
bvpn
OpenVpn Newbie
Posts: 6
Joined: Tue Dec 29, 2015 12:55 pm

2.3.9 on windows server, sleep/wake problem

Postby bvpn » Tue Dec 29, 2015 1:06 pm

For 2.3.9 changelog, it mentioned "Fix termination when windows suspends/sleeps". I tested this on Windows 7 64 bit in openvpn server mode. The issue is still not fixed - when the system resumes, I see some error:

"All TAP-Windows adapters on this system are currently in use. Exiting due to fatal error"

I am using the latest TAP driver from here
https://swupdate.openvpn.org/community/ ... 9.21.1.exe

However, this does not happen every time the system resumes from sleep, sometimes openvpn is able to successfully able to re-establish the connection.

Perhaps the issue happens due to the order of openvpn checking if it can resume the connection when windows wakes, perhaps when the system sleeps, Windows does not disconnect the TAP adapter quickly, and the TAP adapter is still connected from the previous connected session when openvpn checks on system resume? Any suggestions or configuration tweak ideas to help solve the issue with the current release?

User avatar
Traffic
OpenVPN Protagonist
Posts: 4081
Joined: Sat Aug 09, 2014 11:24 am

Re: 2.3.9 on windows server, sleep/wake problem

Postby Traffic » Tue Dec 29, 2015 1:50 pm

bvpn wrote:I am using the latest TAP driver from here
https://swupdate.openvpn.org/community/ ... 9.21.1.exe
Please remove OpenVPN + TAP completely and re-install from the installer for 2.3.9 (W7 64b) from the download page:
https://openvpn.net/index.php/download/ ... loads.html

Please let us know the result.

bvpn
OpenVpn Newbie
Posts: 6
Joined: Tue Dec 29, 2015 12:55 pm

Re: 2.3.9 on windows serv- er, sleep/wake problem

Postby bvpn » Wed Dec 30, 2015 3:31 am

Traffic:
After clean uninstall and reinstall, I am experiencing the same issue.

-Uninstalled any previous OpenVPN and deleted any old OpenVPN installer directories.
-Used "PnPUtil -e" command to find previous TAP drivers, and removed them with "PnPUtil -d" command.
-Rebooted and ran "PnPUtil -e" again to make sure the TAP drivers were removed.
- Installed openvpn-install-2.3.9-I601-x86_64.exe
- Clicked "Install" when prompted by Windows "Would you like to install this device software"
- Confirmed correct version of OpenVPN and TAP driver are installed, then launched .ovpn server config file.
-Sleep and wake up system, same result (time stamp in output image shows moment of wake up):
http://pasteboard.co/pskG6Ig.png

I can provide any information to help find the cause of the issue, or allow access to my test system for investigation to try and solve the issue.

bvpn
OpenVpn Newbie
Posts: 6
Joined: Tue Dec 29, 2015 12:55 pm

Re: 2.3.9 on windows server, sleep/wake problem

Postby bvpn » Wed Dec 30, 2015 4:13 am

Can please move this post to the "Server Administration" area, would that be a better place for this issue, as version 2.3.9 is released already?

User avatar
Traffic
OpenVPN Protagonist
Posts: 4081
Joined: Sat Aug 09, 2014 11:24 am

Re: 2.3.9 on windows server, sleep/wake problem

Postby Traffic » Wed Dec 30, 2015 4:21 pm

Actually, I think this post belongs on this board.

I see you have commented on the bug trac:
https://community.openvpn.net/openvpn/ticket/71#comment:32

FYI: A bug-fix release (2.3.10) is expected in early Jan-2016
It may be possible for the devs to address this problem as well,
if you can post sufficient details to describe how the problem happens
and if we can replicate your issue.

Can you please post your sanitized configs and logs at verb 4
showing the sleep/resume error. Thanks
(Please add as much detail as possible) 8-)

bvpn
OpenVpn Newbie
Posts: 6
Joined: Tue Dec 29, 2015 12:55 pm

Re: 2.3.9 on windows server, sleep/wake problem

Postby bvpn » Fri Jan 01, 2016 6:13 am

Server config:
======================================
port 5XXXX
proto tcp
dev tun
ca "ca.crt"
cert "server.crt"
key "server.key"
dh "dh1024.pem"
server 192.168.137.0 255.255.255.0
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
route-delay 10 20
resolv-retry infinite
tcp-nodelay
keepalive 10 120
cipher AES-128-CBC
persist-key
persist-tun
verb 4
client-cert-not-required
auth-user-pass-verify "auth.bat" via-env
script-security 3
=====================================




Launching openvpn config:
=====================================
Fri Jan 01 13:01:17 2016 us=214385 mlock = DISABLED
Fri Jan 01 13:01:17 2016 us=214385 keepalive_ping = 10
Fri Jan 01 13:01:17 2016 us=214385 keepalive_timeout = 120
Fri Jan 01 13:01:17 2016 us=214385 inactivity_timeout = 0
Fri Jan 01 13:01:17 2016 us=214385 ping_send_timeout = 10
Fri Jan 01 13:01:17 2016 us=214385 ping_rec_timeout = 240
Fri Jan 01 13:01:17 2016 us=214385 ping_rec_timeout_action = 2
Fri Jan 01 13:01:17 2016 us=214385 ping_timer_remote = DISABLED
Fri Jan 01 13:01:17 2016 us=214385 remap_sigusr1 = 0
Fri Jan 01 13:01:17 2016 us=224385 persist_tun = ENABLED
Fri Jan 01 13:01:17 2016 us=224385 persist_local_ip = DISABLED
Fri Jan 01 13:01:17 2016 us=224385 persist_remote_ip = DISABLED
Fri Jan 01 13:01:17 2016 us=224385 persist_key = ENABLED
Fri Jan 01 13:01:17 2016 us=224385 passtos = DISABLED
Fri Jan 01 13:01:17 2016 us=224385 resolve_retry_seconds = 1000000000
Fri Jan 01 13:01:17 2016 us=224385 username = '[UNDEF]'
Fri Jan 01 13:01:17 2016 us=224385 groupname = '[UNDEF]'
Fri Jan 01 13:01:17 2016 us=224385 chroot_dir = '[UNDEF]'
Fri Jan 01 13:01:17 2016 us=224385 cd_dir = '[UNDEF]'
Fri Jan 01 13:01:17 2016 us=234385 writepid = '[UNDEF]'
Fri Jan 01 13:01:17 2016 us=234385 up_script = '[UNDEF]'
Fri Jan 01 13:01:17 2016 us=234385 down_script = '[UNDEF]'
Fri Jan 01 13:01:17 2016 us=234385 down_pre = DISABLED
Fri Jan 01 13:01:17 2016 us=234385 up_restart = DISABLED
Fri Jan 01 13:01:17 2016 us=234385 up_delay = DISABLED
Fri Jan 01 13:01:17 2016 us=234385 daemon = DISABLED
Fri Jan 01 13:01:17 2016 us=234385 inetd = 0
Fri Jan 01 13:01:17 2016 us=234385 log = DISABLED
Fri Jan 01 13:01:17 2016 us=244385 suppress_timestamps = DISABLED
Fri Jan 01 13:01:17 2016 us=244385 nice = 0
Fri Jan 01 13:01:17 2016 us=244385 verbosity = 4
Fri Jan 01 13:01:17 2016 us=244385 mute = 0
Fri Jan 01 13:01:17 2016 us=244385 gremlin = 0
Fri Jan 01 13:01:17 2016 us=244385 status_file = '[UNDEF]'
Fri Jan 01 13:01:17 2016 us=244385 status_file_version = 1
Fri Jan 01 13:01:17 2016 us=244385 status_file_update_freq = 60
Fri Jan 01 13:01:17 2016 us=244385 occ = ENABLED
Fri Jan 01 13:01:17 2016 us=254385 rcvbuf = 0
Fri Jan 01 13:01:17 2016 us=254385 sndbuf = 0
Fri Jan 01 13:01:17 2016 us=254385 sockflags = 2
Fri Jan 01 13:01:17 2016 us=254385 fast_io = DISABLED
Fri Jan 01 13:01:17 2016 us=254385 lzo = 0
Fri Jan 01 13:01:17 2016 us=254385 route_script = '[UNDEF]'
Fri Jan 01 13:01:17 2016 us=254385 route_default_gateway = '[UNDEF]'
Fri Jan 01 13:01:17 2016 us=264385 route_default_metric = 0
Fri Jan 01 13:01:17 2016 us=264385 route_noexec = DISABLED
Fri Jan 01 13:01:17 2016 us=264385 route_delay = 10
Fri Jan 01 13:01:17 2016 us=264385 route_delay_window = 20
Fri Jan 01 13:01:17 2016 us=264385 route_delay_defined = DISABLED
Fri Jan 01 13:01:17 2016 us=264385 route_nopull = DISABLED
Fri Jan 01 13:01:17 2016 us=264385 route_gateway_via_dhcp = DISABLED
Fri Jan 01 13:01:17 2016 us=264385 max_routes = 100
Fri Jan 01 13:01:17 2016 us=274385 allow_pull_fqdn = DISABLED
Fri Jan 01 13:01:17 2016 us=274385 route 192.168.137.0/255.255.255.0/nil/nil
Fri Jan 01 13:01:17 2016 us=274385 management_addr = '[UNDEF]'
Fri Jan 01 13:01:17 2016 us=274385 management_port = 0
Fri Jan 01 13:01:17 2016 us=274385 management_user_pass = '[UNDEF]'
Fri Jan 01 13:01:17 2016 us=274385 management_log_history_cache = 250
Fri Jan 01 13:01:17 2016 us=274385 management_echo_buffer_size = 100
Fri Jan 01 13:01:17 2016 us=274385 management_write_peer_info_file = '[UNDEF]'

Fri Jan 01 13:01:17 2016 us=274385 management_client_user = '[UNDEF]'
Fri Jan 01 13:01:17 2016 us=284385 management_client_group = '[UNDEF]'
Fri Jan 01 13:01:17 2016 us=284385 management_flags = 0
Fri Jan 01 13:01:17 2016 us=284385 shared_secret_file = '[UNDEF]'
Fri Jan 01 13:01:17 2016 us=284385 key_direction = 0
Fri Jan 01 13:01:17 2016 us=284385 ciphername_defined = ENABLED
Fri Jan 01 13:01:17 2016 us=284385 ciphername = 'AES-128-CBC'
Fri Jan 01 13:01:17 2016 us=284385 authname_defined = ENABLED
Fri Jan 01 13:01:17 2016 us=284385 authname = 'SHA1'
Fri Jan 01 13:01:17 2016 us=284385 prng_hash = 'SHA1'
Fri Jan 01 13:01:17 2016 us=294385 prng_nonce_secret_len = 16
Fri Jan 01 13:01:17 2016 us=294385 keysize = 0
Fri Jan 01 13:01:17 2016 us=294385 engine = DISABLED
Fri Jan 01 13:01:17 2016 us=294385 replay = ENABLED
Fri Jan 01 13:01:17 2016 us=294385 mute_replay_warnings = DISABLED
Fri Jan 01 13:01:17 2016 us=294385 replay_window = 64
Fri Jan 01 13:01:17 2016 us=294385 replay_time = 15
Fri Jan 01 13:01:17 2016 us=294385 packet_id_file = '[UNDEF]'
Fri Jan 01 13:01:17 2016 us=294385 use_iv = ENABLED
Fri Jan 01 13:01:17 2016 us=294385 test_crypto = DISABLED
Fri Jan 01 13:01:17 2016 us=304385 tls_server = ENABLED
Fri Jan 01 13:01:17 2016 us=304385 tls_client = DISABLED
Fri Jan 01 13:01:17 2016 us=304385 key_method = 2
Fri Jan 01 13:01:17 2016 us=304385 ca_file = 'ca.crt'
Fri Jan 01 13:01:17 2016 us=304385 ca_path = '[UNDEF]'
Fri Jan 01 13:01:17 2016 us=304385 dh_file = 'dh1024.pem'
Fri Jan 01 13:01:17 2016 us=304385 cert_file = 'server.crt'
Fri Jan 01 13:01:17 2016 us=304385 extra_certs_file = '[UNDEF]'
Fri Jan 01 13:01:17 2016 us=304385 priv_key_file = 'server.key'
Fri Jan 01 13:01:17 2016 us=314385 pkcs12_file = '[UNDEF]'
Fri Jan 01 13:01:17 2016 us=314385 cryptoapi_cert = '[UNDEF]'
Fri Jan 01 13:01:17 2016 us=314385 cipher_list = '[UNDEF]'
Fri Jan 01 13:01:17 2016 us=314385 tls_verify = '[UNDEF]'
Fri Jan 01 13:01:17 2016 us=314385 tls_export_cert = '[UNDEF]'
Fri Jan 01 13:01:17 2016 us=314385 verify_x509_type = 0
Fri Jan 01 13:01:17 2016 us=314385 verify_x509_name = '[UNDEF]'
Fri Jan 01 13:01:17 2016 us=314385 crl_file = '[UNDEF]'
Fri Jan 01 13:01:17 2016 us=314385 ns_cert_type = 0
Fri Jan 01 13:01:17 2016 us=314385 remote_cert_ku[i] = 0
Fri Jan 01 13:01:17 2016 us=324385 remote_cert_ku[i] = 0
Fri Jan 01 13:01:17 2016 us=324385 remote_cert_ku[i] = 0
Fri Jan 01 13:01:17 2016 us=324385 remote_cert_ku[i] = 0
Fri Jan 01 13:01:17 2016 us=324385 remote_cert_ku[i] = 0
Fri Jan 01 13:01:17 2016 us=324385 remote_cert_ku[i] = 0
Fri Jan 01 13:01:17 2016 us=324385 remote_cert_ku[i] = 0
Fri Jan 01 13:01:17 2016 us=324385 remote_cert_ku[i] = 0
Fri Jan 01 13:01:17 2016 us=324385 remote_cert_ku[i] = 0
Fri Jan 01 13:01:17 2016 us=324385 remote_cert_ku[i] = 0
Fri Jan 01 13:01:17 2016 us=324385 remote_cert_ku[i] = 0
Fri Jan 01 13:01:17 2016 us=334385 remote_cert_ku[i] = 0
Fri Jan 01 13:01:17 2016 us=334385 remote_cert_ku[i] = 0
Fri Jan 01 13:01:17 2016 us=334385 remote_cert_ku[i] = 0
Fri Jan 01 13:01:17 2016 us=334385 remote_cert_ku[i] = 0
Fri Jan 01 13:01:17 2016 us=334385 remote_cert_ku[i] = 0
Fri Jan 01 13:01:17 2016 us=334385 remote_cert_eku = '[UNDEF]'
Fri Jan 01 13:01:17 2016 us=334385 ssl_flags = 1
Fri Jan 01 13:01:17 2016 us=334385 tls_timeout = 2
Fri Jan 01 13:01:17 2016 us=334385 renegotiate_bytes = 0
Fri Jan 01 13:01:17 2016 us=344385 renegotiate_packets = 0
Fri Jan 01 13:01:17 2016 us=344385 renegotiate_seconds = 3600
Fri Jan 01 13:01:17 2016 us=344385 handshake_window = 60
Fri Jan 01 13:01:17 2016 us=344385 transition_window = 3600
Fri Jan 01 13:01:17 2016 us=344385 single_session = DISABLED
Fri Jan 01 13:01:17 2016 us=344385 push_peer_info = DISABLED
Fri Jan 01 13:01:17 2016 us=344385 tls_exit = DISABLED
Fri Jan 01 13:01:17 2016 us=344385 tls_auth_file = '[UNDEF]'
Fri Jan 01 13:01:17 2016 us=344385 pkcs11_protected_authentication = DISABLED
Fri Jan 01 13:01:17 2016 us=344385 pkcs11_protected_authentication = DISABLED
Fri Jan 01 13:01:17 2016 us=354385 pkcs11_protected_authentication = DISABLED
Fri Jan 01 13:01:17 2016 us=354385 pkcs11_protected_authentication = DISABLED
Fri Jan 01 13:01:17 2016 us=354385 pkcs11_protected_authentication = DISABLED
Fri Jan 01 13:01:17 2016 us=354385 pkcs11_protected_authentication = DISABLED
Fri Jan 01 13:01:17 2016 us=354385 pkcs11_protected_authentication = DISABLED
Fri Jan 01 13:01:17 2016 us=354385 pkcs11_protected_authentication = DISABLED
Fri Jan 01 13:01:17 2016 us=354385 pkcs11_protected_authentication = DISABLED
Fri Jan 01 13:01:17 2016 us=354385 pkcs11_protected_authentication = DISABLED
Fri Jan 01 13:01:17 2016 us=354385 pkcs11_protected_authentication = DISABLED
Fri Jan 01 13:01:17 2016 us=354385 pkcs11_protected_authentication = DISABLED
Fri Jan 01 13:01:17 2016 us=364385 pkcs11_protected_authentication = DISABLED
Fri Jan 01 13:01:17 2016 us=364385 pkcs11_protected_authentication = DISABLED
Fri Jan 01 13:01:17 2016 us=364385 pkcs11_protected_authentication = DISABLED
Fri Jan 01 13:01:17 2016 us=364385 pkcs11_protected_authentication = DISABLED
Fri Jan 01 13:01:17 2016 us=364385 pkcs11_private_mode = 00000000
Fri Jan 01 13:01:17 2016 us=364385 pkcs11_private_mode = 00000000
Fri Jan 01 13:01:17 2016 us=364385 pkcs11_private_mode = 00000000
Fri Jan 01 13:01:17 2016 us=364385 pkcs11_private_mode = 00000000
Fri Jan 01 13:01:17 2016 us=364385 pkcs11_private_mode = 00000000
Fri Jan 01 13:01:17 2016 us=374385 pkcs11_private_mode = 00000000
Fri Jan 01 13:01:17 2016 us=374385 pkcs11_private_mode = 00000000
Fri Jan 01 13:01:17 2016 us=374385 pkcs11_private_mode = 00000000
Fri Jan 01 13:01:17 2016 us=374385 pkcs11_private_mode = 00000000
Fri Jan 01 13:01:17 2016 us=374385 pkcs11_private_mode = 00000000
Fri Jan 01 13:01:17 2016 us=374385 pkcs11_private_mode = 00000000
Fri Jan 01 13:01:17 2016 us=374385 pkcs11_private_mode = 00000000
Fri Jan 01 13:01:17 2016 us=374385 pkcs11_private_mode = 00000000
Fri Jan 01 13:01:17 2016 us=374385 pkcs11_private_mode = 00000000
Fri Jan 01 13:01:17 2016 us=374385 pkcs11_private_mode = 00000000
Fri Jan 01 13:01:17 2016 us=384385 pkcs11_private_mode = 00000000
Fri Jan 01 13:01:17 2016 us=384385 pkcs11_cert_private = DISABLED
Fri Jan 01 13:01:17 2016 us=384385 pkcs11_cert_private = DISABLED
Fri Jan 01 13:01:17 2016 us=384385 pkcs11_cert_private = DISABLED
Fri Jan 01 13:01:17 2016 us=384385 pkcs11_cert_private = DISABLED
Fri Jan 01 13:01:17 2016 us=384385 pkcs11_cert_private = DISABLED
Fri Jan 01 13:01:17 2016 us=384385 pkcs11_cert_private = DISABLED
Fri Jan 01 13:01:17 2016 us=384385 pkcs11_cert_private = DISABLED
Fri Jan 01 13:01:17 2016 us=384385 pkcs11_cert_private = DISABLED
Fri Jan 01 13:01:17 2016 us=394385 pkcs11_cert_private = DISABLED
Fri Jan 01 13:01:17 2016 us=394385 pkcs11_cert_private = DISABLED
Fri Jan 01 13:01:17 2016 us=394385 pkcs11_cert_private = DISABLED
Fri Jan 01 13:01:17 2016 us=394385 pkcs11_cert_private = DISABLED
Fri Jan 01 13:01:17 2016 us=394385 pkcs11_cert_private = DISABLED
Fri Jan 01 13:01:17 2016 us=394385 pkcs11_cert_private = DISABLED
Fri Jan 01 13:01:17 2016 us=394385 pkcs11_cert_private = DISABLED
Fri Jan 01 13:01:17 2016 us=394385 pkcs11_cert_private = DISABLED
Fri Jan 01 13:01:17 2016 us=394385 pkcs11_pin_cache_period = -1
Fri Jan 01 13:01:17 2016 us=404385 pkcs11_id = '[UNDEF]'
Fri Jan 01 13:01:17 2016 us=404385 pkcs11_id_management = DISABLED
Fri Jan 01 13:01:17 2016 us=404385 server_network = 192.168.137.0
Fri Jan 01 13:01:17 2016 us=404385 server_netmask = 255.255.255.0
Fri Jan 01 13:01:17 2016 us=414385 server_network_ipv6 = ::
Fri Jan 01 13:01:17 2016 us=414385 server_netbits_ipv6 = 0
Fri Jan 01 13:01:17 2016 us=414385 server_bridge_ip = 0.0.0.0
Fri Jan 01 13:01:17 2016 us=414385 server_bridge_netmask = 0.0.0.0
Fri Jan 01 13:01:17 2016 us=414385 server_bridge_pool_start = 0.0.0.0
Fri Jan 01 13:01:17 2016 us=414385 server_bridge_pool_end = 0.0.0.0
Fri Jan 01 13:01:17 2016 us=414385 push_entry = 'redirect-gateway def1 bypass-
dhcp'
Fri Jan 01 13:01:17 2016 us=414385 push_entry = 'dhcp-option DNS 8.8.8.8'
Fri Jan 01 13:01:17 2016 us=424385 push_entry = 'dhcp-option DNS 8.8.4.4'
Fri Jan 01 13:01:17 2016 us=424385 push_entry = 'route 192.168.137.1'
Fri Jan 01 13:01:17 2016 us=424385 push_entry = 'topology net30'
Fri Jan 01 13:01:17 2016 us=424385 push_entry = 'ping 10'
Fri Jan 01 13:01:17 2016 us=424385 push_entry = 'ping-restart 120'
Fri Jan 01 13:01:17 2016 us=424385 push_entry = 'socket-flags TCP_NODELAY'
Fri Jan 01 13:01:17 2016 us=424385 ifconfig_pool_defined = ENABLED
Fri Jan 01 13:01:17 2016 us=424385 ifconfig_pool_start = 192.168.137.4
Fri Jan 01 13:01:17 2016 us=424385 ifconfig_pool_end = 192.168.137.251
Fri Jan 01 13:01:17 2016 us=434385 ifconfig_pool_netmask = 0.0.0.0
Fri Jan 01 13:01:17 2016 us=434385 ifconfig_pool_persist_filename = '[UNDEF]'
Fri Jan 01 13:01:17 2016 us=434385 ifconfig_pool_persist_refresh_freq = 600
Fri Jan 01 13:01:17 2016 us=434385 ifconfig_ipv6_pool_defined = DISABLED
Fri Jan 01 13:01:17 2016 us=434385 ifconfig_ipv6_pool_base = ::
Fri Jan 01 13:01:17 2016 us=434385 ifconfig_ipv6_pool_netbits = 0
Fri Jan 01 13:01:17 2016 us=434385 n_bcast_buf = 256
Fri Jan 01 13:01:17 2016 us=434385 tcp_queue_limit = 64
Fri Jan 01 13:01:17 2016 us=434385 real_hash_size = 256
Fri Jan 01 13:01:17 2016 us=444385 virtual_hash_size = 256
Fri Jan 01 13:01:17 2016 us=444385 client_connect_script = '[UNDEF]'
Fri Jan 01 13:01:17 2016 us=444385 learn_address_script = '[UNDEF]'
Fri Jan 01 13:01:17 2016 us=444385 client_disconnect_script = '[UNDEF]'
Fri Jan 01 13:01:17 2016 us=444385 client_config_dir = '[UNDEF]'
Fri Jan 01 13:01:17 2016 us=444385 ccd_exclusive = DISABLED
Fri Jan 01 13:01:17 2016 us=444385 tmp_dir = 'C:\Users\Brent\AppData\Local\Tem
p\'
Fri Jan 01 13:01:17 2016 us=444385 push_ifconfig_defined = DISABLED
Fri Jan 01 13:01:17 2016 us=444385 push_ifconfig_local = 0.0.0.0
Fri Jan 01 13:01:17 2016 us=444385 push_ifconfig_remote_netmask = 0.0.0.0
Fri Jan 01 13:01:17 2016 us=454385 push_ifconfig_ipv6_defined = DISABLED
Fri Jan 01 13:01:17 2016 us=454385 push_ifconfig_ipv6_local = ::/0
Fri Jan 01 13:01:17 2016 us=454385 push_ifconfig_ipv6_remote = ::
Fri Jan 01 13:01:17 2016 us=454385 enable_c2c = DISABLED
Fri Jan 01 13:01:17 2016 us=454385 duplicate_cn = DISABLED
Fri Jan 01 13:01:17 2016 us=454385 cf_max = 0
Fri Jan 01 13:01:17 2016 us=454385 cf_per = 0
Fri Jan 01 13:01:17 2016 us=454385 max_clients = 1024
Fri Jan 01 13:01:17 2016 us=454385 max_routes_per_client = 256
Fri Jan 01 13:01:17 2016 us=464385 auth_user_pass_verify_script = 'auth.bat'
Fri Jan 01 13:01:17 2016 us=464385 auth_user_pass_verify_script_via_file = DIS
ABLED
Fri Jan 01 13:01:17 2016 us=464385 client = DISABLED
Fri Jan 01 13:01:17 2016 us=464385 pull = DISABLED
Fri Jan 01 13:01:17 2016 us=464385 auth_user_pass_file = '[UNDEF]'
Fri Jan 01 13:01:17 2016 us=464385 show_net_up = DISABLED
Fri Jan 01 13:01:17 2016 us=464385 route_method = 0
Fri Jan 01 13:01:17 2016 us=464385 block_outside_dns = DISABLED
Fri Jan 01 13:01:17 2016 us=464385 ip_win32_defined = DISABLED
Fri Jan 01 13:01:17 2016 us=474385 ip_win32_type = 3
Fri Jan 01 13:01:17 2016 us=474385 dhcp_masq_offset = 0
Fri Jan 01 13:01:17 2016 us=474385 dhcp_lease_time = 31536000
Fri Jan 01 13:01:17 2016 us=474385 tap_sleep = 10
Fri Jan 01 13:01:17 2016 us=474385 dhcp_options = DISABLED
Fri Jan 01 13:01:17 2016 us=474385 dhcp_renew = DISABLED
Fri Jan 01 13:01:17 2016 us=474385 dhcp_pre_release = DISABLED
Fri Jan 01 13:01:17 2016 us=474385 dhcp_release = DISABLED
Fri Jan 01 13:01:17 2016 us=474385 domain = '[UNDEF]'
Fri Jan 01 13:01:17 2016 us=474385 netbios_scope = '[UNDEF]'
Fri Jan 01 13:01:17 2016 us=484385 netbios_node_type = 0
Fri Jan 01 13:01:17 2016 us=484385 disable_nbt = DISABLED
Fri Jan 01 13:01:17 2016 us=484385 OpenVPN 2.3.9 x86_64-w64-mingw32 [SSL (OpenSS
L)] [LZO] [PKCS11] [IPv6] built on Dec 16 2015
Fri Jan 01 13:01:17 2016 us=484385 library versions: OpenSSL 1.0.1q 3 Dec 2015,
LZO 2.09
Fri Jan 01 13:01:17 2016 us=484385 NOTE: your local LAN uses the extremely commo
n subnet address 192.168.0.x or 192.168.1.x. Be aware that this might create ro
uting conflicts if you connect to the VPN server from public locations such as i
nternet cafes that use the same subnet.
Fri Jan 01 13:01:17 2016 us=484385 NOTE: the current --script-security setting m
ay allow this configuration to call user-defined scripts
Fri Jan 01 13:01:17 2016 us=874386 Diffie-Hellman initialized with 1024 bit key
Fri Jan 01 13:01:17 2016 us=874386 WARNING: POTENTIALLY DANGEROUS OPTION --clien
t-cert-not-required may accept clients which do not present a certificate
Fri Jan 01 13:01:17 2016 us=874386 TLS-Auth MTU parms [ L:1559 D:1210 EF:40 EB:0
ET:0 EL:3 ]
Fri Jan 01 13:01:17 2016 us=874386 Socket Buffers: R=[8192->8192] S=[8192->8192]

Fri Jan 01 13:01:17 2016 us=874386 ROUTE_GATEWAY 192.168.1.1/255.255.255.0 I=17
HWADDR=40:f0:2f:19:c3:19
Fri Jan 01 13:01:17 2016 us=874386 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv
6_setup=0
Fri Jan 01 13:01:17 2016 us=874386 open_tun, tt->ipv6=0
Fri Jan 01 13:01:17 2016 us=884386 TAP-WIN32 device [Local Area Connection 2] op
ened: \\.\Global\{B8845E3C-A53F-436D-A6B8-FA993BAD4B07}.tap
Fri Jan 01 13:01:17 2016 us=884386 TAP-Windows Driver Version 9.21
Fri Jan 01 13:01:17 2016 us=884386 TAP-Windows MTU=1500
Fri Jan 01 13:01:17 2016 us=884386 Notified TAP-Windows driver to set a DHCP IP/
netmask of 192.168.137.1/255.255.255.252 on interface {B8845E3C-A53F-436D-A6B8-F
A993BAD4B07} [DHCP-serv: 192.168.137.2, lease-time: 31536000]
Fri Jan 01 13:01:17 2016 us=884386 Sleeping for 10 seconds...
Fri Jan 01 13:01:27 2016 us=889400 Successful ARP Flush on interface [21] {B8845
E3C-A53F-436D-A6B8-FA993BAD4B07}
Fri Jan 01 13:01:27 2016 us=889400 C:\Windows\system32\route.exe ADD 192.168.137
.0 MASK 255.255.255.0 192.168.137.2
Fri Jan 01 13:01:27 2016 us=899400 ROUTE: CreateIpForwardEntry succeeded with dw
ForwardMetric1=20 and dwForwardType=4
Fri Jan 01 13:01:27 2016 us=899400 Route addition via IPAPI succeeded [adaptive]

Fri Jan 01 13:01:27 2016 us=899400 Data Channel MTU parms [ L:1559 D:1450 EF:59
EB:12 ET:0 EL:3 ]
Fri Jan 01 13:01:27 2016 us=899400 Listening for incoming TCP connection on [und
ef]
Fri Jan 01 13:01:27 2016 us=899400 Socket flags: TCP_NODELAY=1 succeeded
Fri Jan 01 13:01:27 2016 us=899400 TCPv4_SERVER link local (bound): [undef]
Fri Jan 01 13:01:27 2016 us=909400 TCPv4_SERVER link remote: [undef]
Fri Jan 01 13:01:27 2016 us=909400 MULTI: multi_init called, r=256 v=256
Fri Jan 01 13:01:27 2016 us=909400 IFCONFIG POOL: base=192.168.137.4 size=62, ip
v6=0
Fri Jan 01 13:01:27 2016 us=909400 MULTI: TCP INIT maxclients=60 maxevents=64
Fri Jan 01 13:01:27 2016 us=909400 Initialization Sequence Completed

- Now I sleep Windows, wait a few minutes, then wake -

Same OpenVPN output window on Windows wake
=====================================
Fri Jan 01 13:02:01 2016 us=711950 link_mtu = 1500
Fri Jan 01 13:02:01 2016 us=711950 link_mtu_defined = DISABLED
Fri Jan 01 13:02:01 2016 us=711950 tun_mtu_extra = 0
Fri Jan 01 13:02:01 2016 us=711950 tun_mtu_extra_defined = DISABLED
Fri Jan 01 13:02:01 2016 us=711950 mtu_discover_type = -1
Fri Jan 01 13:02:01 2016 us=712951 fragment = 0
Fri Jan 01 13:02:01 2016 us=712951 mssfix = 1450
Fri Jan 01 13:02:01 2016 us=712951 explicit_exit_notification = 0
Fri Jan 01 13:02:01 2016 us=712951 Connection profiles END
Fri Jan 01 13:02:01 2016 us=712951 remote_random = DISABLED
Fri Jan 01 13:02:01 2016 us=712951 ipchange = '[UNDEF]'
Fri Jan 01 13:02:01 2016 us=712951 dev = 'tun'
Fri Jan 01 13:02:01 2016 us=712951 dev_type = '[UNDEF]'
Fri Jan 01 13:02:01 2016 us=712951 dev_node = '[UNDEF]'
Fri Jan 01 13:02:01 2016 us=712951 lladdr = '[UNDEF]'
Fri Jan 01 13:02:01 2016 us=712951 topology = 1
Fri Jan 01 13:02:01 2016 us=712951 tun_ipv6 = DISABLED
Fri Jan 01 13:02:01 2016 us=712951 ifconfig_local = '192.168.137.1'
Fri Jan 01 13:02:01 2016 us=713951 ifconfig_remote_netmask = '192.168.137.2'
Fri Jan 01 13:02:01 2016 us=713951 ifconfig_noexec = DISABLED
Fri Jan 01 13:02:01 2016 us=713951 ifconfig_nowarn = DISABLED
Fri Jan 01 13:02:01 2016 us=713951 ifconfig_ipv6_local = '[UNDEF]'
Fri Jan 01 13:02:01 2016 us=713951 ifconfig_ipv6_netbits = 0
Fri Jan 01 13:02:01 2016 us=713951 ifconfig_ipv6_remote = '[UNDEF]'
Fri Jan 01 13:02:01 2016 us=713951 shaper = 0
Fri Jan 01 13:02:01 2016 us=713951 mtu_test = 0
Fri Jan 01 13:02:01 2016 us=713951 mlock = DISABLED
Fri Jan 01 13:02:01 2016 us=713951 keepalive_ping = 10
Fri Jan 01 13:02:01 2016 us=713951 keepalive_timeout = 120
Fri Jan 01 13:02:01 2016 us=713951 inactivity_timeout = 0
Fri Jan 01 13:02:01 2016 us=713951 ping_send_timeout = 10
Fri Jan 01 13:02:01 2016 us=713951 ping_rec_timeout = 240
Fri Jan 01 13:02:01 2016 us=713951 ping_rec_timeout_action = 2
Fri Jan 01 13:02:01 2016 us=713951 ping_timer_remote = DISABLED
Fri Jan 01 13:02:01 2016 us=713951 remap_sigusr1 = 0
Fri Jan 01 13:02:01 2016 us=713951 persist_tun = ENABLED
Fri Jan 01 13:02:01 2016 us=713951 persist_local_ip = DISABLED
Fri Jan 01 13:02:01 2016 us=713951 persist_remote_ip = DISABLED
Fri Jan 01 13:02:01 2016 us=713951 persist_key = ENABLED
Fri Jan 01 13:02:01 2016 us=713951 passtos = DISABLED
Fri Jan 01 13:02:01 2016 us=713951 resolve_retry_seconds = 1000000000
Fri Jan 01 13:02:01 2016 us=713951 username = '[UNDEF]'
Fri Jan 01 13:02:01 2016 us=713951 groupname = '[UNDEF]'
Fri Jan 01 13:02:01 2016 us=713951 chroot_dir = '[UNDEF]'
Fri Jan 01 13:02:01 2016 us=713951 cd_dir = '[UNDEF]'
Fri Jan 01 13:02:01 2016 us=713951 writepid = '[UNDEF]'
Fri Jan 01 13:02:01 2016 us=713951 up_script = '[UNDEF]'
Fri Jan 01 13:02:01 2016 us=713951 down_script = '[UNDEF]'
Fri Jan 01 13:02:01 2016 us=713951 down_pre = DISABLED
Fri Jan 01 13:02:01 2016 us=713951 up_restart = DISABLED
Fri Jan 01 13:02:01 2016 us=713951 up_delay = DISABLED
Fri Jan 01 13:02:01 2016 us=713951 daemon = DISABLED
Fri Jan 01 13:02:01 2016 us=713951 inetd = 0
Fri Jan 01 13:02:01 2016 us=713951 log = DISABLED
Fri Jan 01 13:02:01 2016 us=713951 suppress_timestamps = DISABLED
Fri Jan 01 13:02:01 2016 us=713951 nice = 0
Fri Jan 01 13:02:01 2016 us=713951 verbosity = 4
Fri Jan 01 13:02:01 2016 us=713951 mute = 0
Fri Jan 01 13:02:01 2016 us=713951 gremlin = 0
Fri Jan 01 13:02:01 2016 us=713951 status_file = '[UNDEF]'
Fri Jan 01 13:02:01 2016 us=713951 status_file_version = 1
Fri Jan 01 13:02:01 2016 us=713951 status_file_update_freq = 60
Fri Jan 01 13:02:01 2016 us=713951 occ = ENABLED
Fri Jan 01 13:02:01 2016 us=713951 rcvbuf = 0
Fri Jan 01 13:02:01 2016 us=713951 sndbuf = 0
Fri Jan 01 13:02:01 2016 us=713951 sockflags = 2
Fri Jan 01 13:02:01 2016 us=713951 fast_io = DISABLED
Fri Jan 01 13:02:01 2016 us=713951 lzo = 0
Fri Jan 01 13:02:01 2016 us=713951 route_script = '[UNDEF]'
Fri Jan 01 13:02:01 2016 us=713951 route_default_gateway = '[UNDEF]'
Fri Jan 01 13:02:01 2016 us=713951 route_default_metric = 0
Fri Jan 01 13:02:01 2016 us=713951 route_noexec = DISABLED
Fri Jan 01 13:02:01 2016 us=713951 route_delay = 10
Fri Jan 01 13:02:01 2016 us=713951 route_delay_window = 20
Fri Jan 01 13:02:01 2016 us=713951 route_delay_defined = DISABLED
Fri Jan 01 13:02:01 2016 us=713951 route_nopull = DISABLED
Fri Jan 01 13:02:01 2016 us=713951 route_gateway_via_dhcp = DISABLED
Fri Jan 01 13:02:01 2016 us=713951 max_routes = 100
Fri Jan 01 13:02:01 2016 us=713951 allow_pull_fqdn = DISABLED
Fri Jan 01 13:02:01 2016 us=713951 route 192.168.137.0/255.255.255.0/nil/nil
Fri Jan 01 13:02:01 2016 us=713951 management_addr = '[UNDEF]'
Fri Jan 01 13:02:01 2016 us=713951 management_port = 0
Fri Jan 01 13:02:01 2016 us=713951 management_user_pass = '[UNDEF]'
Fri Jan 01 13:02:01 2016 us=713951 management_log_history_cache = 250
Fri Jan 01 13:02:01 2016 us=713951 management_echo_buffer_size = 100
Fri Jan 01 13:02:01 2016 us=713951 management_write_peer_info_file = '[UNDEF]'

Fri Jan 01 13:02:01 2016 us=713951 management_client_user = '[UNDEF]'
Fri Jan 01 13:02:01 2016 us=713951 management_client_group = '[UNDEF]'
Fri Jan 01 13:02:01 2016 us=713951 management_flags = 0
Fri Jan 01 13:02:01 2016 us=713951 shared_secret_file = '[UNDEF]'
Fri Jan 01 13:02:01 2016 us=713951 key_direction = 0
Fri Jan 01 13:02:01 2016 us=713951 ciphername_defined = ENABLED
Fri Jan 01 13:02:01 2016 us=713951 ciphername = 'AES-128-CBC'
Fri Jan 01 13:02:01 2016 us=713951 authname_defined = ENABLED
Fri Jan 01 13:02:01 2016 us=713951 authname = 'SHA1'
Fri Jan 01 13:02:01 2016 us=713951 prng_hash = 'SHA1'
Fri Jan 01 13:02:01 2016 us=713951 prng_nonce_secret_len = 16
Fri Jan 01 13:02:01 2016 us=713951 keysize = 0
Fri Jan 01 13:02:01 2016 us=713951 engine = DISABLED
Fri Jan 01 13:02:01 2016 us=713951 replay = ENABLED
Fri Jan 01 13:02:01 2016 us=713951 mute_replay_warnings = DISABLED
Fri Jan 01 13:02:01 2016 us=713951 replay_window = 64
Fri Jan 01 13:02:01 2016 us=713951 replay_time = 15
Fri Jan 01 13:02:01 2016 us=713951 packet_id_file = '[UNDEF]'
Fri Jan 01 13:02:01 2016 us=713951 use_iv = ENABLED
Fri Jan 01 13:02:01 2016 us=713951 test_crypto = DISABLED
Fri Jan 01 13:02:01 2016 us=713951 tls_server = ENABLED
Fri Jan 01 13:02:01 2016 us=713951 tls_client = DISABLED
Fri Jan 01 13:02:01 2016 us=713951 key_method = 2
Fri Jan 01 13:02:01 2016 us=713951 ca_file = 'ca.crt'
Fri Jan 01 13:02:01 2016 us=713951 ca_path = '[UNDEF]'
Fri Jan 01 13:02:01 2016 us=713951 dh_file = 'dh1024.pem'
Fri Jan 01 13:02:01 2016 us=713951 cert_file = 'server.crt'
Fri Jan 01 13:02:01 2016 us=713951 extra_certs_file = '[UNDEF]'
Fri Jan 01 13:02:01 2016 us=713951 priv_key_file = 'server.key'
Fri Jan 01 13:02:01 2016 us=713951 pkcs12_file = '[UNDEF]'
Fri Jan 01 13:02:01 2016 us=713951 cryptoapi_cert = '[UNDEF]'
Fri Jan 01 13:02:01 2016 us=713951 cipher_list = '[UNDEF]'
Fri Jan 01 13:02:01 2016 us=713951 tls_verify = '[UNDEF]'
Fri Jan 01 13:02:01 2016 us=713951 tls_export_cert = '[UNDEF]'
Fri Jan 01 13:02:01 2016 us=713951 verify_x509_type = 0
Fri Jan 01 13:02:01 2016 us=713951 verify_x509_name = '[UNDEF]'
Fri Jan 01 13:02:01 2016 us=713951 crl_file = '[UNDEF]'
Fri Jan 01 13:02:01 2016 us=713951 ns_cert_type = 0
Fri Jan 01 13:02:01 2016 us=713951 remote_cert_ku[i] = 0
Fri Jan 01 13:02:01 2016 us=713951 remote_cert_ku[i] = 0
Fri Jan 01 13:02:01 2016 us=713951 remote_cert_ku[i] = 0
Fri Jan 01 13:02:01 2016 us=713951 remote_cert_ku[i] = 0
Fri Jan 01 13:02:01 2016 us=713951 remote_cert_ku[i] = 0
Fri Jan 01 13:02:01 2016 us=713951 remote_cert_ku[i] = 0
Fri Jan 01 13:02:01 2016 us=713951 remote_cert_ku[i] = 0
Fri Jan 01 13:02:01 2016 us=713951 remote_cert_ku[i] = 0
Fri Jan 01 13:02:01 2016 us=713951 remote_cert_ku[i] = 0
Fri Jan 01 13:02:01 2016 us=713951 remote_cert_ku[i] = 0
Fri Jan 01 13:02:01 2016 us=713951 remote_cert_ku[i] = 0
Fri Jan 01 13:02:01 2016 us=713951 remote_cert_ku[i] = 0
Fri Jan 01 13:02:01 2016 us=713951 remote_cert_ku[i] = 0
Fri Jan 01 13:02:01 2016 us=713951 remote_cert_ku[i] = 0
Fri Jan 01 13:02:01 2016 us=713951 remote_cert_ku[i] = 0
Fri Jan 01 13:02:01 2016 us=713951 remote_cert_ku[i] = 0
Fri Jan 01 13:02:01 2016 us=713951 remote_cert_eku = '[UNDEF]'
Fri Jan 01 13:02:01 2016 us=713951 ssl_flags = 1
Fri Jan 01 13:02:01 2016 us=713951 tls_timeout = 2
Fri Jan 01 13:02:01 2016 us=713951 renegotiate_bytes = 0
Fri Jan 01 13:02:01 2016 us=713951 renegotiate_packets = 0
Fri Jan 01 13:02:01 2016 us=723951 renegotiate_seconds = 3600
Fri Jan 01 13:02:01 2016 us=723951 handshake_window = 60
Fri Jan 01 13:02:01 2016 us=723951 transition_window = 3600
Fri Jan 01 13:02:01 2016 us=723951 single_session = DISABLED
Fri Jan 01 13:02:01 2016 us=723951 push_peer_info = DISABLED
Fri Jan 01 13:02:01 2016 us=723951 tls_exit = DISABLED
Fri Jan 01 13:02:01 2016 us=723951 tls_auth_file = '[UNDEF]'
Fri Jan 01 13:02:01 2016 us=723951 pkcs11_protected_authentication = DISABLED
Fri Jan 01 13:02:01 2016 us=723951 pkcs11_protected_authentication = DISABLED
Fri Jan 01 13:02:01 2016 us=723951 pkcs11_protected_authentication = DISABLED
Fri Jan 01 13:02:01 2016 us=723951 pkcs11_protected_authentication = DISABLED
Fri Jan 01 13:02:01 2016 us=723951 pkcs11_protected_authentication = DISABLED
Fri Jan 01 13:02:01 2016 us=723951 pkcs11_protected_authentication = DISABLED
Fri Jan 01 13:02:01 2016 us=723951 pkcs11_protected_authentication = DISABLED
Fri Jan 01 13:02:01 2016 us=723951 pkcs11_protected_authentication = DISABLED
Fri Jan 01 13:02:01 2016 us=723951 pkcs11_protected_authentication = DISABLED
Fri Jan 01 13:02:01 2016 us=723951 pkcs11_protected_authentication = DISABLED
Fri Jan 01 13:02:01 2016 us=723951 pkcs11_protected_authentication = DISABLED
Fri Jan 01 13:02:01 2016 us=723951 pkcs11_protected_authentication = DISABLED
Fri Jan 01 13:02:01 2016 us=723951 pkcs11_protected_authentication = DISABLED
Fri Jan 01 13:02:01 2016 us=723951 pkcs11_protected_authentication = DISABLED
Fri Jan 01 13:02:01 2016 us=723951 pkcs11_protected_authentication = DISABLED
Fri Jan 01 13:02:01 2016 us=723951 pkcs11_protected_authentication = DISABLED
Fri Jan 01 13:02:01 2016 us=723951 pkcs11_private_mode = 00000000
Fri Jan 01 13:02:01 2016 us=723951 pkcs11_private_mode = 00000000
Fri Jan 01 13:02:01 2016 us=723951 pkcs11_private_mode = 00000000
Fri Jan 01 13:02:01 2016 us=723951 pkcs11_private_mode = 00000000
Fri Jan 01 13:02:01 2016 us=723951 pkcs11_private_mode = 00000000
Fri Jan 01 13:02:01 2016 us=723951 pkcs11_private_mode = 00000000
Fri Jan 01 13:02:01 2016 us=723951 pkcs11_private_mode = 00000000
Fri Jan 01 13:02:01 2016 us=723951 pkcs11_private_mode = 00000000
Fri Jan 01 13:02:01 2016 us=723951 pkcs11_private_mode = 00000000
Fri Jan 01 13:02:01 2016 us=723951 pkcs11_private_mode = 00000000
Fri Jan 01 13:02:01 2016 us=723951 pkcs11_private_mode = 00000000
Fri Jan 01 13:02:01 2016 us=723951 pkcs11_private_mode = 00000000
Fri Jan 01 13:02:01 2016 us=723951 pkcs11_private_mode = 00000000
Fri Jan 01 13:02:01 2016 us=723951 pkcs11_private_mode = 00000000
Fri Jan 01 13:02:01 2016 us=723951 pkcs11_private_mode = 00000000
Fri Jan 01 13:02:01 2016 us=723951 pkcs11_private_mode = 00000000
Fri Jan 01 13:02:01 2016 us=723951 pkcs11_cert_private = DISABLED
Fri Jan 01 13:02:01 2016 us=723951 pkcs11_cert_private = DISABLED
Fri Jan 01 13:02:01 2016 us=723951 pkcs11_cert_private = DISABLED
Fri Jan 01 13:02:01 2016 us=723951 pkcs11_cert_private = DISABLED
Fri Jan 01 13:02:01 2016 us=723951 pkcs11_cert_private = DISABLED
Fri Jan 01 13:02:01 2016 us=723951 pkcs11_cert_private = DISABLED
Fri Jan 01 13:02:01 2016 us=723951 pkcs11_cert_private = DISABLED
Fri Jan 01 13:02:01 2016 us=723951 pkcs11_cert_private = DISABLED
Fri Jan 01 13:02:01 2016 us=723951 pkcs11_cert_private = DISABLED
Fri Jan 01 13:02:01 2016 us=723951 pkcs11_cert_private = DISABLED
Fri Jan 01 13:02:01 2016 us=723951 pkcs11_cert_private = DISABLED
Fri Jan 01 13:02:01 2016 us=723951 pkcs11_cert_private = DISABLED
Fri Jan 01 13:02:01 2016 us=723951 pkcs11_cert_private = DISABLED
Fri Jan 01 13:02:01 2016 us=723951 pkcs11_cert_private = DISABLED
Fri Jan 01 13:02:01 2016 us=723951 pkcs11_cert_private = DISABLED
Fri Jan 01 13:02:01 2016 us=723951 pkcs11_cert_private = DISABLED
Fri Jan 01 13:02:01 2016 us=723951 pkcs11_pin_cache_period = -1
Fri Jan 01 13:02:01 2016 us=723951 pkcs11_id = '[UNDEF]'
Fri Jan 01 13:02:01 2016 us=723951 pkcs11_id_management = DISABLED
Fri Jan 01 13:02:01 2016 us=723951 server_network = 192.168.137.0
Fri Jan 01 13:02:01 2016 us=723951 server_netmask = 255.255.255.0
Fri Jan 01 13:02:01 2016 us=723951 server_network_ipv6 = ::
Fri Jan 01 13:02:01 2016 us=723951 server_netbits_ipv6 = 0
Fri Jan 01 13:02:01 2016 us=723951 server_bridge_ip = 0.0.0.0
Fri Jan 01 13:02:01 2016 us=723951 server_bridge_netmask = 0.0.0.0
Fri Jan 01 13:02:01 2016 us=723951 server_bridge_pool_start = 0.0.0.0
Fri Jan 01 13:02:01 2016 us=723951 server_bridge_pool_end = 0.0.0.0
Fri Jan 01 13:02:01 2016 us=723951 push_entry = 'redirect-gateway def1 bypass-
dhcp'
Fri Jan 01 13:02:01 2016 us=723951 push_entry = 'dhcp-option DNS 8.8.8.8'
Fri Jan 01 13:02:01 2016 us=723951 push_entry = 'dhcp-option DNS 8.8.4.4'
Fri Jan 01 13:02:01 2016 us=723951 push_entry = 'route 192.168.137.1'
Fri Jan 01 13:02:01 2016 us=723951 push_entry = 'topology net30'
Fri Jan 01 13:02:01 2016 us=723951 push_entry = 'ping 10'
Fri Jan 01 13:02:01 2016 us=723951 push_entry = 'ping-restart 120'
Fri Jan 01 13:02:01 2016 us=723951 push_entry = 'socket-flags TCP_NODELAY'
Fri Jan 01 13:02:01 2016 us=723951 ifconfig_pool_defined = ENABLED
Fri Jan 01 13:02:01 2016 us=723951 ifconfig_pool_start = 192.168.137.4
Fri Jan 01 13:02:01 2016 us=723951 ifconfig_pool_end = 192.168.137.251
Fri Jan 01 13:02:01 2016 us=723951 ifconfig_pool_netmask = 0.0.0.0
Fri Jan 01 13:02:01 2016 us=723951 ifconfig_pool_persist_filename = '[UNDEF]'
Fri Jan 01 13:02:01 2016 us=723951 ifconfig_pool_persist_refresh_freq = 600
Fri Jan 01 13:02:01 2016 us=723951 ifconfig_ipv6_pool_defined = DISABLED
Fri Jan 01 13:02:01 2016 us=723951 ifconfig_ipv6_pool_base = ::
Fri Jan 01 13:02:01 2016 us=723951 ifconfig_ipv6_pool_netbits = 0
Fri Jan 01 13:02:01 2016 us=723951 n_bcast_buf = 256
Fri Jan 01 13:02:01 2016 us=723951 tcp_queue_limit = 64
Fri Jan 01 13:02:01 2016 us=723951 real_hash_size = 256
Fri Jan 01 13:02:01 2016 us=723951 virtual_hash_size = 256
Fri Jan 01 13:02:01 2016 us=723951 client_connect_script = '[UNDEF]'
Fri Jan 01 13:02:01 2016 us=723951 learn_address_script = '[UNDEF]'
Fri Jan 01 13:02:01 2016 us=723951 client_disconnect_script = '[UNDEF]'
Fri Jan 01 13:02:01 2016 us=723951 client_config_dir = '[UNDEF]'
Fri Jan 01 13:02:01 2016 us=723951 ccd_exclusive = DISABLED
Fri Jan 01 13:02:01 2016 us=723951 tmp_dir = 'C:\Users\Brent\AppData\Local\Tem
p\'
Fri Jan 01 13:02:01 2016 us=723951 push_ifconfig_defined = DISABLED
Fri Jan 01 13:02:01 2016 us=723951 push_ifconfig_local = 0.0.0.0
Fri Jan 01 13:02:01 2016 us=723951 push_ifconfig_remote_netmask = 0.0.0.0
Fri Jan 01 13:02:01 2016 us=723951 push_ifconfig_ipv6_defined = DISABLED
Fri Jan 01 13:02:01 2016 us=723951 push_ifconfig_ipv6_local = ::/0
Fri Jan 01 13:02:01 2016 us=723951 push_ifconfig_ipv6_remote = ::
Fri Jan 01 13:02:01 2016 us=723951 enable_c2c = DISABLED
Fri Jan 01 13:02:01 2016 us=723951 duplicate_cn = DISABLED
Fri Jan 01 13:02:01 2016 us=723951 cf_max = 0
Fri Jan 01 13:02:01 2016 us=723951 cf_per = 0
Fri Jan 01 13:02:01 2016 us=723951 max_clients = 1024
Fri Jan 01 13:02:01 2016 us=723951 max_routes_per_client = 256
Fri Jan 01 13:02:01 2016 us=723951 auth_user_pass_verify_script = 'auth.bat'
Fri Jan 01 13:02:01 2016 us=723951 auth_user_pass_verify_script_via_file = DIS
ABLED
Fri Jan 01 13:02:01 2016 us=723951 client = DISABLED
Fri Jan 01 13:02:01 2016 us=723951 pull = DISABLED
Fri Jan 01 13:02:01 2016 us=723951 auth_user_pass_file = '[UNDEF]'
Fri Jan 01 13:02:01 2016 us=723951 show_net_up = DISABLED
Fri Jan 01 13:02:01 2016 us=723951 route_method = 0
Fri Jan 01 13:02:01 2016 us=723951 block_outside_dns = DISABLED
Fri Jan 01 13:02:01 2016 us=723951 ip_win32_defined = DISABLED
Fri Jan 01 13:02:01 2016 us=723951 ip_win32_type = 3
Fri Jan 01 13:02:01 2016 us=723951 dhcp_masq_offset = 0
Fri Jan 01 13:02:01 2016 us=723951 dhcp_lease_time = 31536000
Fri Jan 01 13:02:01 2016 us=723951 tap_sleep = 10
Fri Jan 01 13:02:01 2016 us=723951 dhcp_options = DISABLED
Fri Jan 01 13:02:01 2016 us=723951 dhcp_renew = DISABLED
Fri Jan 01 13:02:01 2016 us=723951 dhcp_pre_release = DISABLED
Fri Jan 01 13:02:01 2016 us=723951 dhcp_release = DISABLED
Fri Jan 01 13:02:01 2016 us=723951 domain = '[UNDEF]'
Fri Jan 01 13:02:01 2016 us=723951 netbios_scope = '[UNDEF]'
Fri Jan 01 13:02:01 2016 us=723951 netbios_node_type = 0
Fri Jan 01 13:02:01 2016 us=723951 disable_nbt = DISABLED
Fri Jan 01 13:02:01 2016 us=723951 OpenVPN 2.3.9 x86_64-w64-mingw32 [SSL (OpenSS
L)] [LZO] [PKCS11] [IPv6] built on Dec 16 2015
Fri Jan 01 13:02:01 2016 us=723951 library versions: OpenSSL 1.0.1q 3 Dec 2015,
LZO 2.09
Fri Jan 01 13:02:01 2016 us=723951 Restart pause, 1 second(s)
Fri Jan 01 13:03:56 2016 us=500000 NOTE: the current --script-security setting m
ay allow this configuration to call user-defined scripts
Fri Jan 01 13:03:56 2016 us=500000 Diffie-Hellman initialized with 1024 bit key
Fri Jan 01 13:03:56 2016 us=500000 WARNING: POTENTIALLY DANGEROUS OPTION --clien
t-cert-not-required may accept clients which do not present a certificate
Fri Jan 01 13:03:56 2016 us=510000 TLS-Auth MTU parms [ L:1559 D:1210 EF:40 EB:0
ET:0 EL:3 ]
Fri Jan 01 13:03:56 2016 us=510000 Socket Buffers: R=[8192->8192] S=[8192->8192]

Fri Jan 01 13:03:56 2016 us=510000 ROUTE: default_gateway=UNDEF
Fri Jan 01 13:03:56 2016 us=510000 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv
6_setup=0
Fri Jan 01 13:03:56 2016 us=510000 open_tun, tt->ipv6=0
Fri Jan 01 13:03:56 2016 us=510000 CreateFile failed on TAP device: \\.\Global\{
B8845E3C-A53F-436D-A6B8-FA993BAD4B07}.tap
Fri Jan 01 13:03:56 2016 us=510000 All TAP-Windows adapters on this system are c
urrently in use.
Fri Jan 01 13:03:56 2016 us=510000 Exiting due to fatal error
Press any key to continue...


This is all the details I have. If I repeat this many times, the issue happens about 90-95% of the time, and very rarely OpenVPN will correctly resume the connection. Does not matter the length of sleep, or method (Sleep or Hibernate).

bvpn
OpenVpn Newbie
Posts: 6
Joined: Tue Dec 29, 2015 12:55 pm

Re: 2.3.9 on windows server, sleep/wake problem

Postby bvpn » Tue Jan 05, 2016 3:38 am

Tested the same server config and OpenVPN/TAP versions on Windows 10 and had the same sleep/wake issue as Windows 7 as described above.

User avatar
Traffic
OpenVPN Protagonist
Posts: 4081
Joined: Sat Aug 09, 2014 11:24 am

Re: 2.3.9 on windows server, sleep/wake problem

Postby Traffic » Tue Jan 05, 2016 3:01 pm

bvpn wrote:For 2.3.9 changelog, it mentioned "Fix termination when windows suspends/sleeps". I tested this on Windows 7 64 bit in openvpn server mode
Sorry .. are you sleeping your Server ? :shock:

bvpn
OpenVpn Newbie
Posts: 6
Joined: Tue Dec 29, 2015 12:55 pm

Re: 2.3.9 on windows server, sleep/wake problem

Postby bvpn » Wed Jan 20, 2016 5:23 am

Yes, sleeping the server. Are only client configs supported currently for sleep/resume?

There seems to also be an issue with resuming client configurations. Here is another log output from a sleep/wake resume, showing OpenVPN failed to restore the client connection after sleeping for a few hours:

==========================
Tue Jan 19 23:07:49 2016 Data Channel Encrypt: Cipher 'AES-256-CBC' initialized
with 256 bit key
Tue Jan 19 23:07:49 2016 Data Channel Encrypt: Using 160 bit message hash 'SHA1'
for HMAC authentication
Tue Jan 19 23:07:49 2016 Data Channel Decrypt: Cipher 'AES-256-CBC' initialized
with 256 bit key
Tue Jan 19 23:07:49 2016 Data Channel Decrypt: Using 160 bit message hash 'SHA1'
for HMAC authentication
Tue Jan 19 23:07:49 2016 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES2
56-SHA, 1024 bit RSA
Tue Jan 19 23:07:49 2016 [server] Peer Connection Initiated with [AF_INET]69.30.
227.218:443
Tue Jan 19 23:07:51 2016 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
Tue Jan 19 23:07:51 2016 PUSH: Received control message: 'PUSH_REPLY,redirect-ga
teway def1,dhcp-option DNS 8.8.8.8,dhcp-option DNS 8.8.4.4,route 10.100.159.0 25
5.255.255.0,topology net30,ping 10,ping-restart 60,ifconfig 10.100.159.6 10.100.
159.5'
Tue Jan 19 23:07:51 2016 OPTIONS IMPORT: timers and/or timeouts modified
Tue Jan 19 23:07:51 2016 OPTIONS IMPORT: --ifconfig/up options modified
Tue Jan 19 23:07:51 2016 OPTIONS IMPORT: route options modified
Tue Jan 19 23:07:51 2016 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options
modified
Tue Jan 19 23:07:51 2016 ROUTE_GATEWAY 192.168.1.1/255.255.255.0 I=17 HWADDR=40:
f0:2f:19:c3:19
Tue Jan 19 23:07:51 2016 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Tue Jan 19 23:07:51 2016 open_tun, tt->ipv6=0
Tue Jan 19 23:07:51 2016 TAP-WIN32 device [Local Area Connection 2] opened: \\.\
Global\{B8845E3C-A53F-436D-A6B8-FA993BAD4B07}.tap
Tue Jan 19 23:07:51 2016 TAP-Windows Driver Version 9.21
Tue Jan 19 23:07:51 2016 Notified TAP-Windows driver to set a DHCP IP/netmask of
10.100.159.6/255.255.255.252 on interface {B8845E3C-A53F-436D-A6B8-FA993BAD4B07
} [DHCP-serv: 10.100.159.5, lease-time: 31536000]
Tue Jan 19 23:07:51 2016 Successful ARP Flush on interface [20] {B8845E3C-A53F-4
36D-A6B8-FA993BAD4B07}
Tue Jan 19 23:07:53 2016 TEST ROUTES: 2/2 succeeded len=1 ret=1 a=0 u/d=up
Tue Jan 19 23:07:53 2016 C:\Windows\system32\route.exe ADD 69.30.227.218 MASK 25
5.255.255.255 192.168.1.1
Tue Jan 19 23:07:53 2016 ROUTE: CreateIpForwardEntry succeeded with dwForwardMet
ric1=25 and dwForwardType=4
Tue Jan 19 23:07:53 2016 Route addition via IPAPI succeeded [adaptive]
Tue Jan 19 23:07:53 2016 C:\Windows\system32\route.exe ADD 0.0.0.0 MASK 128.0.0.
0 10.100.159.5
Tue Jan 19 23:07:53 2016 ROUTE: CreateIpForwardEntry succeeded with dwForwardMet
ric1=20 and dwForwardType=4
Tue Jan 19 23:07:53 2016 Route addition via IPAPI succeeded [adaptive]
Tue Jan 19 23:07:53 2016 C:\Windows\system32\route.exe ADD 128.0.0.0 MASK 128.0.
0.0 10.100.159.5
Tue Jan 19 23:07:53 2016 ROUTE: CreateIpForwardEntry succeeded with dwForwardMet
ric1=20 and dwForwardType=4
Tue Jan 19 23:07:53 2016 Route addition via IPAPI succeeded [adaptive]
Tue Jan 19 23:07:53 2016 C:\Windows\system32\route.exe ADD 10.100.159.0 MASK 255
.255.255.0 10.100.159.5
Tue Jan 19 23:07:53 2016 ROUTE: CreateIpForwardEntry succeeded with dwForwardMet
ric1=20 and dwForwardType=4
Tue Jan 19 23:07:53 2016 Route addition via IPAPI succeeded [adaptive]
Tue Jan 19 23:07:53 2016 Initialization Sequence Completed
Wed Jan 20 00:07:49 2016 TLS: soft reset sec=0 bytes=2467850/0 pkts=6606/0
Wed Jan 20 00:07:54 2016 VERIFY OK: depth=1, C=US, ST=Removed, L=Removed, O=Removed
, CN=Removed NA, emailAddress=[removed]
Wed Jan 20 00:07:54 2016 VERIFY OK: depth=0, C=US, ST=Removed, L=Removed, O=Removed
, CN=server, emailAddress=[removed]
Wed Jan 20 00:07:57 2016 Data Channel Encrypt: Cipher 'AES-256-CBC' initialized
with 256 bit key
Wed Jan 20 00:07:57 2016 Data Channel Encrypt: Using 160 bit message hash 'SHA1'
for HMAC authentication
Wed Jan 20 00:07:57 2016 Data Channel Decrypt: Cipher 'AES-256-CBC' initialized
with 256 bit key
Wed Jan 20 00:07:57 2016 Data Channel Decrypt: Using 160 bit message hash 'SHA1'
for HMAC authentication
Wed Jan 20 00:07:57 2016 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES2
56-SHA, 1024 bit RSA
Wed Jan 20 00:16:40 2016 TUN/TAP I/O operation aborted, restarting
Wed Jan 20 00:16:40 2016 C:\Windows\system32\route.exe DELETE 10.100.159.0 MASK
255.255.255.0 10.100.159.5
Wed Jan 20 00:16:40 2016 Warning: route gateway is not reachable on any active n
etwork adapters: 10.100.159.5
Wed Jan 20 00:16:40 2016 Route deletion via IPAPI failed [adaptive]
Wed Jan 20 00:16:40 2016 Route deletion fallback to route.exe
Wed Jan 20 00:16:40 2016 env_block: add PATH=C:\Windows\System32;C:\Windows;C:\W
indows\System32\Wbem
Wed Jan 20 00:16:40 2016 C:\Windows\system32\route.exe DELETE 69.30.227.218 MASK
255.255.255.255 192.168.1.1
Wed Jan 20 00:16:40 2016 Warning: route gateway is not reachable on any active n
etwork adapters: 192.168.1.1
Wed Jan 20 00:16:40 2016 Route deletion via IPAPI failed [adaptive]
Wed Jan 20 00:16:40 2016 Route deletion fallback to route.exe
Wed Jan 20 00:16:40 2016 env_block: add PATH=C:\Windows\System32;C:\Windows;C:\W
indows\System32\Wbem
Wed Jan 20 00:16:40 2016 C:\Windows\system32\route.exe DELETE 0.0.0.0 MASK 128.0
.0.0 10.100.159.5
Wed Jan 20 00:16:40 2016 Warning: route gateway is not reachable on any active n
etwork adapters: 10.100.159.5
Wed Jan 20 00:16:40 2016 Route deletion via IPAPI failed [adaptive]
Wed Jan 20 00:16:40 2016 Route deletion fallback to route.exe
Wed Jan 20 00:16:40 2016 env_block: add PATH=C:\Windows\System32;C:\Windows;C:\W
indows\System32\Wbem
Wed Jan 20 00:16:40 2016 C:\Windows\system32\route.exe DELETE 128.0.0.0 MASK 128
.0.0.0 10.100.159.5
Wed Jan 20 00:16:40 2016 Warning: route gateway is not reachable on any active n
etwork adapters: 10.100.159.5
Wed Jan 20 00:16:40 2016 Route deletion via IPAPI failed [adaptive]
Wed Jan 20 00:16:40 2016 Route deletion fallback to route.exe
Wed Jan 20 00:16:40 2016 env_block: add PATH=C:\Windows\System32;C:\Windows;C:\W
indows\System32\Wbem
Wed Jan 20 00:16:40 2016 Closing TUN/TAP interface
Wed Jan 20 00:16:40 2016 SIGHUP[soft,tun-abort] received, process restarting
Wed Jan 20 00:16:40 2016 OpenVPN 2.3.9 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO]
[PKCS11] [IPv6] built on Dec 16 2015
Wed Jan 20 00:16:40 2016 library versions: OpenSSL 1.0.1q 3 Dec 2015, LZO 2.09
Wed Jan 20 00:16:40 2016 Restart pause, 10 second(s)
Wed Jan 20 10:11:55 2016 WARNING: No server certificate verification method has
been enabled. See http://openvpn.net/howto.html#mitm for more info.
Wed Jan 20 10:11:55 2016 Socket Buffers: R=[8192->8192] S=[8192->8192]
Wed Jan 20 10:11:55 2016 Attempting to establish TCP connection with [AF_INET]69
.30.227.218:443 [nonblock]
Wed Jan 20 10:11:59 2016 TCP connection established with [AF_INET]69.30.227.218:
443
Wed Jan 20 10:11:59 2016 TCPv4_CLIENT link local: [undef]
Wed Jan 20 10:11:59 2016 TCPv4_CLIENT link remote: [AF_INET]69.30.227.218:443
Wed Jan 20 10:12:00 2016 TLS: Initial packet from [AF_INET]69.30.227.218:443, si
d=e34533f5 facee84b
Wed Jan 20 10:12:04 2016 VERIFY OK: depth=1, C=US, ST=Removed, L=Removed, O=Removed
, CN=Removed NA, emailAddress=[removed]
Wed Jan 20 10:12:04 2016 VERIFY OK: depth=0, C=US, ST=Removed, L=Removed, O=Removed
, CN=server, emailAddress=[removed]
Wed Jan 20 10:12:07 2016 Data Channel Encrypt: Cipher 'AES-256-CBC' initialized
with 256 bit key
Wed Jan 20 10:12:07 2016 Data Channel Encrypt: Using 160 bit message hash 'SHA1'
for HMAC authentication
Wed Jan 20 10:12:07 2016 Data Channel Decrypt: Cipher 'AES-256-CBC' initialized
with 256 bit key
Wed Jan 20 10:12:07 2016 Data Channel Decrypt: Using 160 bit message hash 'SHA1'
for HMAC authentication
Wed Jan 20 10:12:07 2016 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES2
56-SHA, 1024 bit RSA
Wed Jan 20 10:12:07 2016 [server] Peer Connection Initiated with [AF_INET]69.30.
227.218:443
Wed Jan 20 10:12:09 2016 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
Wed Jan 20 10:12:10 2016 PUSH: Received control message: 'PUSH_REPLY,redirect-ga
teway def1,dhcp-option DNS 8.8.8.8,dhcp-option DNS 8.8.4.4,route 10.100.159.0 25
5.255.255.0,topology net30,ping 10,ping-restart 60,ifconfig 10.100.159.6 10.100.
159.5'
Wed Jan 20 10:12:10 2016 OPTIONS IMPORT: timers and/or timeouts modified
Wed Jan 20 10:12:10 2016 OPTIONS IMPORT: --ifconfig/up options modified
Wed Jan 20 10:12:10 2016 OPTIONS IMPORT: route options modified
Wed Jan 20 10:12:10 2016 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options
modified
Wed Jan 20 10:12:10 2016 ROUTE_GATEWAY 192.168.1.1/255.255.255.0 I=17 HWADDR=40:
f0:2f:19:c3:19
Wed Jan 20 10:12:10 2016 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Wed Jan 20 10:12:10 2016 open_tun, tt->ipv6=0
Wed Jan 20 10:12:10 2016 TAP-WIN32 device [Local Area Connection 2] opened: \\.\
Global\{B8845E3C-A53F-436D-A6B8-FA993BAD4B07}.tap
Wed Jan 20 10:12:10 2016 TAP-Windows Driver Version 9.21
Wed Jan 20 10:12:10 2016 Notified TAP-Windows driver to set a DHCP IP/netmask of
10.100.159.6/255.255.255.252 on interface {B8845E3C-A53F-436D-A6B8-FA993BAD4B07
} [DHCP-serv: 10.100.159.5, lease-time: 31536000]
Wed Jan 20 10:12:10 2016 Successful ARP Flush on interface [20] {B8845E3C-A53F-4
36D-A6B8-FA993BAD4B07}
Wed Jan 20 10:12:12 2016 TEST ROUTES: 0/0 succeeded len=1 ret=0 a=0 u/d=down
Wed Jan 20 10:12:12 2016 Route: Waiting for TUN/TAP interface to come up...
Wed Jan 20 10:12:14 2016 TEST ROUTES: 0/0 succeeded len=1 ret=0 a=0 u/d=down
Wed Jan 20 10:12:14 2016 Route: Waiting for TUN/TAP interface to come up...
Wed Jan 20 10:12:15 2016 TEST ROUTES: 0/0 succeeded len=1 ret=0 a=0 u/d=down
Wed Jan 20 10:12:15 2016 Route: Waiting for TUN/TAP interface to come up...
Wed Jan 20 10:12:16 2016 TEST ROUTES: 0/0 succeeded len=1 ret=0 a=0 u/d=down
Wed Jan 20 10:12:16 2016 Route: Waiting for TUN/TAP interface to come up...
Wed Jan 20 10:12:17 2016 TEST ROUTES: 0/0 succeeded len=1 ret=0 a=0 u/d=down
Wed Jan 20 10:12:17 2016 Route: Waiting for TUN/TAP interface to come up...
Wed Jan 20 10:12:18 2016 TEST ROUTES: 0/0 succeeded len=1 ret=0 a=0 u/d=down
Wed Jan 20 10:12:18 2016 Route: Waiting for TUN/TAP interface to come up...
Wed Jan 20 10:12:19 2016 TEST ROUTES: 0/0 succeeded len=1 ret=0 a=0 u/d=down
Wed Jan 20 10:12:19 2016 Route: Waiting for TUN/TAP interface to come up...
Wed Jan 20 10:12:20 2016 TEST ROUTES: 0/0 succeeded len=1 ret=0 a=0 u/d=down
Wed Jan 20 10:12:20 2016 Route: Waiting for TUN/TAP interface to come up...
Wed Jan 20 10:12:21 2016 TEST ROUTES: 0/0 succeeded len=1 ret=0 a=0 u/d=down
Wed Jan 20 10:12:21 2016 Route: Waiting for TUN/TAP interface to come up...
Wed Jan 20 10:12:22 2016 TEST ROUTES: 0/0 succeeded len=1 ret=0 a=0 u/d=down
Wed Jan 20 10:12:22 2016 Route: Waiting for TUN/TAP interface to come up...
Wed Jan 20 10:12:23 2016 TEST ROUTES: 0/0 succeeded len=1 ret=0 a=0 u/d=down
Wed Jan 20 10:12:23 2016 Route: Waiting for TUN/TAP interface to come up...
Wed Jan 20 10:12:24 2016 TEST ROUTES: 0/0 succeeded len=1 ret=0 a=0 u/d=down
Wed Jan 20 10:12:24 2016 Route: Waiting for TUN/TAP interface to come up...
Wed Jan 20 10:12:25 2016 TEST ROUTES: 0/0 succeeded len=1 ret=0 a=0 u/d=down
Wed Jan 20 10:12:25 2016 Route: Waiting for TUN/TAP interface to come up...
Wed Jan 20 10:12:26 2016 TEST ROUTES: 0/0 succeeded len=1 ret=0 a=0 u/d=down
Wed Jan 20 10:12:26 2016 Route: Waiting for TUN/TAP interface to come up...
Wed Jan 20 10:12:28 2016 TEST ROUTES: 0/0 succeeded len=1 ret=0 a=0 u/d=down
Wed Jan 20 10:12:28 2016 Route: Waiting for TUN/TAP interface to come up...
Wed Jan 20 10:12:29 2016 TEST ROUTES: 0/0 succeeded len=1 ret=0 a=0 u/d=down
Wed Jan 20 10:12:29 2016 Route: Waiting for TUN/TAP interface to come up...
Wed Jan 20 10:12:31 2016 TEST ROUTES: 0/0 succeeded len=1 ret=0 a=0 u/d=down
Wed Jan 20 10:12:31 2016 Route: Waiting for TUN/TAP interface to come up...
Wed Jan 20 10:12:32 2016 TEST ROUTES: 0/0 succeeded len=1 ret=0 a=0 u/d=down
Wed Jan 20 10:12:32 2016 Route: Waiting for TUN/TAP interface to come up...
Wed Jan 20 10:12:33 2016 TEST ROUTES: 0/0 succeeded len=1 ret=0 a=0 u/d=down
Wed Jan 20 10:12:33 2016 Route: Waiting for TUN/TAP interface to come up...
Wed Jan 20 10:12:34 2016 TEST ROUTES: 0/0 succeeded len=1 ret=0 a=0 u/d=down
Wed Jan 20 10:12:34 2016 Route: Waiting for TUN/TAP interface to come up...
Wed Jan 20 10:12:36 2016 TEST ROUTES: 0/0 succeeded len=1 ret=0 a=0 u/d=down
Wed Jan 20 10:12:36 2016 Route: Waiting for TUN/TAP interface to come up...
Wed Jan 20 10:12:37 2016 TEST ROUTES: 0/0 succeeded len=1 ret=0 a=0 u/d=down
Wed Jan 20 10:12:37 2016 Route: Waiting for TUN/TAP interface to come up...
Wed Jan 20 10:12:38 2016 TEST ROUTES: 0/0 succeeded len=1 ret=0 a=0 u/d=down
Wed Jan 20 10:12:38 2016 Route: Waiting for TUN/TAP interface to come up...
Wed Jan 20 10:12:39 2016 TEST ROUTES: 0/0 succeeded len=1 ret=0 a=0 u/d=down
Wed Jan 20 10:12:39 2016 Route: Waiting for TUN/TAP interface to come up...
Wed Jan 20 10:12:40 2016 TEST ROUTES: 0/0 succeeded len=1 ret=0 a=0 u/d=down
Wed Jan 20 10:12:40 2016 Route: Waiting for TUN/TAP interface to come up...
Wed Jan 20 10:12:41 2016 TEST ROUTES: 0/0 succeeded len=1 ret=0 a=0 u/d=down
Wed Jan 20 10:12:41 2016 Route: Waiting for TUN/TAP interface to come up...
Wed Jan 20 10:12:42 2016 TEST ROUTES: 0/0 succeeded len=1 ret=0 a=0 u/d=down
Wed Jan 20 10:12:42 2016 C:\Windows\system32\route.exe ADD 69.30.227.218 MASK 25
5.255.255.255 192.168.1.1
Wed Jan 20 10:12:42 2016 ROUTE: CreateIpForwardEntry succeeded with dwForwardMet
ric1=25 and dwForwardType=4
Wed Jan 20 10:12:42 2016 Route addition via IPAPI succeeded [adaptive]
Wed Jan 20 10:12:42 2016 C:\Windows\system32\route.exe ADD 0.0.0.0 MASK 128.0.0.
0 10.100.159.5
Wed Jan 20 10:12:42 2016 Warning: route gateway is not reachable on any active n
etwork adapters: 10.100.159.5
Wed Jan 20 10:12:42 2016 Route addition via IPAPI failed [adaptive]
Wed Jan 20 10:12:42 2016 Route addition fallback to route.exe
Wed Jan 20 10:12:42 2016 env_block: add PATH=C:\Windows\System32;C:\Windows;C:\W
indows\System32\Wbem
Wed Jan 20 10:12:42 2016 C:\Windows\system32\route.exe ADD 128.0.0.0 MASK 128.0.
0.0 10.100.159.5
Wed Jan 20 10:12:42 2016 Warning: route gateway is not reachable on any active n
etwork adapters: 10.100.159.5
Wed Jan 20 10:12:42 2016 Route addition via IPAPI failed [adaptive]
Wed Jan 20 10:12:42 2016 Route addition fallback to route.exe
Wed Jan 20 10:12:42 2016 env_block: add PATH=C:\Windows\System32;C:\Windows;C:\W
indows\System32\Wbem
Wed Jan 20 10:12:42 2016 C:\Windows\system32\route.exe ADD 10.100.159.0 MASK 255
.255.255.0 10.100.159.5
Wed Jan 20 10:12:42 2016 Warning: route gateway is not reachable on any active n
etwork adapters: 10.100.159.5
Wed Jan 20 10:12:42 2016 Route addition via IPAPI failed [adaptive]
Wed Jan 20 10:12:42 2016 Route addition fallback to route.exe
Wed Jan 20 10:12:42 2016 env_block: add PATH=C:\Windows\System32;C:\Windows;C:\W
indows\System32\Wbem
SYSTEM ROUTING TABLE
0.0.0.0 0.0.0.0 192.168.1.1 p=0 i=17 t=4 pr=3 a=57164 h=0 m=25/0/0/0/0
0.0.0.0 128.0.0.0 10.100.159.5 p=0 i=17 t=4 pr=3 a=0 h=0 m=26/0/0/0/0
10.100.159.0 255.255.255.0 10.100.159.5 p=0 i=17 t=4 pr=3 a=0 h=0 m=26/0/0/0/0
69.30.227.218 255.255.255.255 192.168.1.1 p=0 i=17 t=4 pr=3 a=0 h=0 m=25/0/0/0/0

127.0.0.0 255.0.0.0 127.0.0.1 p=0 i=1 t=3 pr=3 a=165106 h=0 m=306/0/0/0/0
127.0.0.1 255.255.255.255 127.0.0.1 p=0 i=1 t=3 pr=3 a=165106 h=0 m=306/0/0/0/0
127.255.255.255 255.255.255.255 127.0.0.1 p=0 i=1 t=3 pr=3 a=165106 h=0 m=306/0/
0/0/0
128.0.0.0 128.0.0.0 10.100.159.5 p=0 i=17 t=4 pr=3 a=0 h=0 m=26/0/0/0/0
169.254.0.0 255.255.0.0 169.254.219.28 p=0 i=20 t=3 pr=3 a=28 h=0 m=276/0/0/0/0
169.254.219.28 255.255.255.255 169.254.219.28 p=0 i=20 t=3 pr=3 a=28 h=0 m=276/0
/0/0/0
169.254.255.255 255.255.255.255 169.254.219.28 p=0 i=20 t=3 pr=3 a=28 h=0 m=276/
0/0/0/0
192.168.1.0 255.255.255.0 192.168.1.102 p=0 i=17 t=3 pr=3 a=57164 h=0 m=281/0/0/
0/0
192.168.1.102 255.255.255.255 192.168.1.102 p=0 i=17 t=3 pr=3 a=57164 h=0 m=281/
0/0/0/0
192.168.1.255 255.255.255.255 192.168.1.102 p=0 i=17 t=3 pr=3 a=57164 h=0 m=281/
0/0/0/0
224.0.0.0 240.0.0.0 127.0.0.1 p=0 i=1 t=3 pr=3 a=165106 h=0 m=306/0/0/0/0
224.0.0.0 240.0.0.0 192.168.1.102 p=0 i=17 t=3 pr=3 a=57168 h=0 m=281/0/0/0/0
224.0.0.0 240.0.0.0 169.254.219.28 p=0 i=20 t=3 pr=3 a=46 h=0 m=276/0/0/0/0
255.255.255.255 255.255.255.255 127.0.0.1 p=0 i=1 t=3 pr=3 a=165106 h=0 m=306/0/
0/0/0
255.255.255.255 255.255.255.255 192.168.1.102 p=0 i=17 t=3 pr=3 a=57168 h=0 m=28
1/0/0/0/0
255.255.255.255 255.255.255.255 169.254.219.28 p=0 i=20 t=3 pr=3 a=46 h=0 m=276/
0/0/0/0
SYSTEM ADAPTER LIST
TAP-Windows Adapter V9 #2
Index = 20
GUID = [removed]
IP = 169.254.219.28/255.255.0.0
MAC = [removed]
GATEWAY = 0.0.0.0/255.255.255.255
DHCP SERV = 0.0.0.0/255.255.255.255
DHCP LEASE OBTAINED = Wed Jan 20 10:12:42 2016
DHCP LEASE EXPIRES = Wed Jan 20 10:12:42 2016
DNS SERV = [removed]
Index = 17
GUID = {63D0D8E6-8F63-42F5-9BDD-002FE9684312}
IP = 192.168.1.102/255.255.255.0
MAC = [removed]
GATEWAY = 192.168.1.1/255.255.255.255
DHCP SERV = 192.168.1.1/255.255.255.255
DHCP LEASE OBTAINED = Wed Jan 20 10:11:56 2016
DHCP LEASE EXPIRES = Thu Jan 21 10:11:56 2016
DNS SERV = 8.8.8.8/255.255.255.255 8.8.4.4/255.255.255.255
Wed Jan 20 10:12:42 2016 Initialization Sequence Completed With Errors ( see htt
p://openvpn.net/faq.html#dhcpclientserv )


Here is the client certificate used:
==============================
client
dev tun
proto tcp
route-delay 2
resolv-retry infinite
nobind
persist-key
persist-tun
auth-user-pass
cipher AES-256-CBC
verb 3
remote [removed ip] [removed port]
<ca>
-----BEGIN CERTIFICATE-----
[removed]
-----END CERTIFICATE-----
</ca>

User avatar
Traffic
OpenVPN Protagonist
Posts: 4081
Joined: Sat Aug 09, 2014 11:24 am

Re: 2.3.9 on windows server, sleep/wake problem

Postby Traffic » Wed Jan 27, 2016 2:33 pm

bvpn wrote:Yes, sleeping the server.
Out of curiosity, how do you wake the server ?

bvpn wrote: Are only client configs supported currently for sleep/resume?
I am not sure about this but client and server sleep does effect openvpn differently due to certain config options, particularly --ping-restart


Return to “Testing branch”

Who is online

Users browsing this forum: No registered users and 4 guests