Page 1 of 1

ovpncli.exe on Windows error

Posted: Fri Sep 18, 2020 7:29 pm
by mtnview
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.

Re: ovpncli.exe on Windows error

Posted: Fri Sep 18, 2020 7:52 pm
by TinCanTech
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