Pauli_the_gamer
My openvpn client (windows 10) gives me this error: 'netsh command failed: returned error code 1', when I'm trying to connect. I've included my log below if that helps.
thanks Pauli
Sun Oct 02 22:58:13 2016 OpenVPN 2.3.12 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [PKCS11] [IPv6] built on Aug 23 2016
Sun Oct 02 22:58:13 2016 Windows version 6.2 (Windows 8 or greater) 64bit
Sun Oct 02 22:58:13 2016 library versions: OpenSSL 1.0.1t 3 May 2016, LZO 2.09
Sun Oct 02 22:58:14 2016 Socket Buffers: R=[65536->65536] S=[65536->65536]
Sun Oct 02 22:58:14 2016 Attempting to establish TCP connection with [AF_INET]127.0.0.1:1337 [nonblock]
Sun Oct 02 22:58:14 2016 TCP connection established with [AF_INET]127.0.0.1:1337
Sun Oct 02 22:58:14 2016 TCPv4_CLIENT link local: [undef]
Sun Oct 02 22:58:14 2016 TCPv4_CLIENT link remote: [AF_INET]127.0.0.1:1337
Sun Oct 02 22:58:14 2016 TLS: Initial packet from [AF_INET]127.0.0.1:1337, sid=c22a661a 6bc1d74b
Sun Oct 02 22:58:14 2016 VERIFY OK: depth=1, C=UK, L=London, O=Possula, CN=pp-vpn
Sun Oct 02 22:58:14 2016 Validating certificate key usage
Sun Oct 02 22:58:14 2016 ++ Certificate has key usage 00a0, expects 00a0
Sun Oct 02 22:58:14 2016 VERIFY KU OK
Sun Oct 02 22:58:14 2016 Validating certificate extended key usage
Sun Oct 02 22:58:14 2016 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
Sun Oct 02 22:58:14 2016 VERIFY EKU OK
Sun Oct 02 22:58:14 2016 VERIFY OK: depth=0, C=UK, L=London, O=Possula, CN=pp-vpn
Sun Oct 02 22:58:15 2016 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Sun Oct 02 22:58:15 2016 WARNING: this cipher's block size is less than 128 bit (64 bit). Consider using a --cipher with a larger block size.
Sun Oct 02 22:58:15 2016 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Sun Oct 02 22:58:15 2016 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Sun Oct 02 22:58:15 2016 WARNING: this cipher's block size is less than 128 bit (64 bit). Consider using a --cipher with a larger block size.
Sun Oct 02 22:58:15 2016 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Sun Oct 02 22:58:15 2016 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 2048 bit RSA
Sun Oct 02 22:58:15 2016 [pp-vpn] Peer Connection Initiated with [AF_INET]127.0.0.1:1337
Sun Oct 02 22:58:18 2016 SENT CONTROL [pp-vpn]: 'PUSH_REQUEST' (status=1)
Sun Oct 02 22:58:18 2016 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1 bypass-dhcp,dhcp-option DNS 8.8.8.8,dhcp-option DNS 8.8.4.4,route 10.8.0.1,topology net30,ping 5,ping-restart 30,ifconfig 10.8.0.6 10.8.0.5'
Sun Oct 02 22:58:18 2016 OPTIONS IMPORT: timers and/or timeouts modified
Sun Oct 02 22:58:18 2016 OPTIONS IMPORT: --ifconfig/up options modified
Sun Oct 02 22:58:18 2016 OPTIONS IMPORT: route options modified
Sun Oct 02 22:58:18 2016 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Sun Oct 02 22:58:18 2016 ROUTE_GATEWAY 192.168.1.254/255.255.255.0 I=5 HWADDR=b6:c3:97:ff:1a:e5
Sun Oct 02 22:58:18 2016 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Sun Oct 02 22:58:18 2016 open_tun, tt->ipv6=0
Sun Oct 02 22:58:18 2016 TAP-WIN32 device [Ethernet 3] opened: \\.\Global\{BF13CF22-BDF8-4DC8-986E-87E6C70847B8}.tap
Sun Oct 02 22:58:18 2016 TAP-Windows Driver Version 9.21
Sun Oct 02 22:58:19 2016 NETSH: C:\WINDOWS\system32\netsh.exe interface ip set address Ethernet 3 dhcp
Sun Oct 02 22:58:19 2016 ERROR: netsh command failed: returned error code 1
Sun Oct 02 22:58:24 2016 NETSH: C:\WINDOWS\system32\netsh.exe interface ip set address Ethernet 3 dhcp
Sun Oct 02 22:58:24 2016 ERROR: netsh command failed: returned error code 1
Sun Oct 02 22:58:29 2016 NETSH: C:\WINDOWS\system32\netsh.exe interface ip set address Ethernet 3 dhcp
Sun Oct 02 22:58:30 2016 ERROR: netsh command failed: returned error code 1
Sun Oct 02 22:58:35 2016 NETSH: C:\WINDOWS\system32\netsh.exe interface ip set address Ethernet 3 dhcp
Sun Oct 02 22:58:35 2016 ERROR: netsh command failed: returned error code 1
Sun Oct 02 22:58:39 2016 NETSH: command failed
Sun Oct 02 22:58:39 2016 Exiting due to fatal error
Press any key to continue...
hatbrox
Hello,
after a couple of years of VPN without a problem, this morning, my OpenVPN client (windows 10 - 64 bits) shows the same error as yours.
Have you solved it and how?
Thanks!