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.

User avatar
TinCanTech
OpenVPN Protagonist
Posts: 7936
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

Post Reply