OpenVPN error on network device

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
mdkb
OpenVpn Newbie
Posts: 4
Joined: Sun Feb 05, 2023 7:08 am

OpenVPN error on network device

Post by mdkb » Sun Feb 05, 2023 7:23 am

I have installed OpenVPN 2.6.0 on windows 10 22H2

I am trying to use OpenVPN to access the Protonvpn servers and following their instructions here https://protonvpn.com/support/openvpn-windows-setup/ to set it up.

Protonvpn works on my machine by itself fine, but OpenVPN is giving me the following error in the logs with any ProtonVPN server config for UDP or TCP configured:
2023-02-05 16:57:36 DEPRECATED OPTION: --cipher set to 'AES-256-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM). OpenVPN ignores --cipher for cipher negotiations.
2023-02-05 16:57:36 OpenVPN 2.6.0 [git:v2.6.0/b999466418dddb89] Windows-MSVC [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] [DCO] built on Jan 25 2023
2023-02-05 16:57:36 Windows version 10.0 (Windows 10 or greater), amd64 executable
2023-02-05 16:57:36 library versions: OpenSSL 3.0.7 1 Nov 2022, LZO 2.10
2023-02-05 16:57:36 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25342
2023-02-05 16:57:36 Need hold release from management interface, waiting...
2023-02-05 16:57:36 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:49963
2023-02-05 16:57:37 MANAGEMENT: CMD 'state on'
2023-02-05 16:57:37 MANAGEMENT: CMD 'log on all'
2023-02-05 16:57:37 MANAGEMENT: CMD 'echo on all'
2023-02-05 16:57:37 MANAGEMENT: CMD 'bytecount 5'
2023-02-05 16:57:37 MANAGEMENT: CMD 'state'
2023-02-05 16:57:37 MANAGEMENT: CMD 'hold off'
2023-02-05 16:57:37 MANAGEMENT: CMD 'hold release'
2023-02-05 16:57:39 MANAGEMENT: CMD 'username "Auth" "xxxxxxxxx"'
2023-02-05 16:57:39 MANAGEMENT: CMD 'password [...]'
2023-02-05 16:57:39 NOTE: --fast-io is disabled since we are running on Windows
2023-02-05 16:57:39 Outgoing Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication
2023-02-05 16:57:39 Incoming Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication
2023-02-05 16:57:39 TCP/UDP: Preserving recently used remote address: [AF_INET]x.x.x.x:51820
2023-02-05 16:57:39 CreateFile failed on ovpn-dco device: \\?\ROOT#NET#0004#{cac88484-7515-4c03-82e6-71a87abac361}\ovpn-dco
2023-02-05 16:57:39 MANAGEMENT: Client disconnected
2023-02-05 16:57:39 All ovpn-dco adapters on this system are currently in use or disabled.

2023-02-05 16:57:39 Exiting due to fatal error

My hunch is that it is trying to read the wrong network adaptor but not sure how to figure out which one it is trying to look at, or how to fix it.

My network adaptors include the following in order of listing on windows:

Realtek ethernet, Virtual hostbox ethernet, TAP-ProtonVPN, TAP-OpenVPN, VMWare Network adaptor VMNet1, VMWare Network adaptorVMNet8.

Any advice how to address this would be of great help.

mdkb
OpenVpn Newbie
Posts: 4
Joined: Sun Feb 05, 2023 7:08 am

Re: OpenVPN error on network device

Post by mdkb » Sun Feb 05, 2023 11:22 pm

not having much luck getting help but will post my findings here in the hope someone might be able to point me in the right direction if I don't solve it myself first...

I checked Windows network adaptors to try to find the faulty adaptor issue shown in the logs as "ovpn-dco device: \\?\ROOT#NET#0004#"
In the properties\details\Device Instance Path I found that information,
My "OpenVPN TAP- Windows6" network adaptor is is listed as "ROOT\NET\0003"
while the error is with ROOT#NET#0004# turns out this is my "OpenVPN Data Channel Offload" network adaptor.

I am now thinking this should probably be looking at OpenVPN TAP- Windows6 not the other one.
I'm going to try to figure out how to tell it to look at it.

If any genius would like to chime in at any point that would be good.

mdkb
OpenVpn Newbie
Posts: 4
Joined: Sun Feb 05, 2023 7:08 am

Re: OpenVPN error on network device

Post by mdkb » Sun Feb 05, 2023 11:38 pm

Bodged it into working but I don't like this approach: If I disable the "OpenVPN Data Channel Offload" network adaptor this all starts working and I can connect using OpenVPN to ProtonVPN servers.

User avatar
stipa
OpenVPN Inc.
Posts: 17
Joined: Mon Nov 03, 2014 10:17 am

Re: OpenVPN error on network device

Post by stipa » Mon Feb 13, 2023 10:16 am

It is a bit hard to troubleshoot here, may I ask to to open an issue https://github.com/OpenVPN/ovpn-dco-win/issues?

Please reinstall the client and provide client installation log - you can get it with

Code: Select all

msiexec /i OpenVPN-2.6.0-I004-amd64.msi /L*V log.txt
Also provide the relevant parts of driver installation log at

Code: Select all

C:\Windows\INF\setupapi.dev.log

mdkb
OpenVpn Newbie
Posts: 4
Joined: Sun Feb 05, 2023 7:08 am

Re: OpenVPN error on network device

Post by mdkb » Wed Feb 15, 2023 9:41 pm

thanks I have logged the ticket here if anyone else needs it in the future - https://github.com/OpenVPN/ovpn-dco-win/issues/38

Post Reply