ovpncli.exe on Windows error

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!
Post Reply
mtnview
OpenVpn Newbie
Posts: 1
Joined: Fri Sep 18, 2020 7:21 pm

ovpncli.exe on Windows error

Post by mtnview » Fri Sep 18, 2020 7:29 pm

Hi.

I am trying to run ovpncli.exe (command line) from the build https://github.com/OpenVPN/openvpn3 on Window.

I have created ovpn file and trying to create tunnel but I am facing the following error.

Code: Select all

Fri Sep 18 12:06:15 2020 TAP ADAPTERS:

Open TAP device "" PATH="" FAILED
Fri Sep 18 12:06:15 2020 TUN Error: cannot acquire TAP handle
Fri Sep 18 12:06:15 2020 EVENT: TUN_IFACE_CREATE cannot acquire TAP handle [FATAL-ERR]
Fri Sep 18 12:06:15 2020 EVENT: DISCONNECTED
Fri Sep 18 12:06:15 2020 Client exception in transport_recv: tun_exception: not connected
Thread finished
STATS:
  BYTES_IN : 3469
  BYTES_OUT : 3098
  PACKETS_IN : 9
  PACKETS_OUT : 8
  TUN_IFACE_CREATE : 1
but my configuration have

dev tun
dev-type tun

so I tried to switch to set tap instead of tun, ovpncli.exe says not supporting.

Can anyone have any idea?

Thank you.

TinCanTech
OpenVPN Protagonist
Posts: 11128
Joined: Fri Jun 03, 2016 1:17 pm

Re: ovpncli.exe on Windows error

Post by TinCanTech » Fri Sep 18, 2020 7:52 pm

NOTE: As of 2017, OpenVPN 3 is primarily of interest to developers, as it does not yet replicate the full functionality of OpenVPN 2.x

candylife9
OpenVpn Newbie
Posts: 1
Joined: Fri Mar 11, 2022 7:36 am

Re: ovpncli.exe on Windows error

Post by candylife9 » Fri Mar 11, 2022 7:38 am

exactly the same problem with me . Googled a lot but got no answer. Is there any problem with ovpncli ? Have you solved your problem ?

Post Reply