OpenVPN / ovpn-dco-win

OpenVPN Data Channel Offload driver for Windows
MIT License
47 stars 22 forks source link

ovpn-agent support? #23

Closed OPstriker closed 1 year ago

OPstriker commented 1 year ago

I would first like to say that this project is amazing and ik its still under-dev,

but when I use ovpnagent with ovpn-dco i get:

Tue Nov 15 21:00:48 2022 HTTP request received from NAMED_PIPE
HTTP Request
method=POST
uri=/tun-open
version=1/1
[0] Host=\\.\pipe\ovpnagent
[1] Content-Type=application/json
[2] Content-Length=81
[3] Accept=*/*

Tue Nov 15 21:00:48 2022 TUN SETUP
TAP ADAPTERS:
guid='{ID}' index=85 name='Local Area Connection 2'
Open TAP device "Local Area Connection 2" PATH="\\?\ROOT#NET#0002#{ID}\ovpn-dco" SUCCEEDED
Tue Nov 15 21:00:48 2022 TUN CONFIRM
Tue Nov 15 21:00:49 2022 connection from C:\Path\to\Client.exe
Tue Nov 15 21:00:49 2022 HTTP request received from NAMED_PIPE
HTTP Request
method=POST
uri=/tun-setup
version=1/1
[0] Host=\\.\pipe\ovpnagent
[1] Content-Type=application/json
[2] Content-Length=809
[3] Accept=*/*

Tue Nov 15 21:00:49 2022 EXCEPTION
Destroyed previous TAP instance due to exception
json_parse: int adapter_index is missing
Tue Nov 15 21:00:51 2022 connection from C:\Path\to\Client.exe
Tue Nov 15 21:00:51 2022 HTTP request received from NAMED_PIPE
HTTP Request
method=POST
uri=/tun-open
...

But works Perfectly Fine without ovpn-agent, but my Client has to have admin privilages...

OPstriker commented 1 year ago

Oops Its fixed, I had an older commit.

lstipakov commented 1 year ago

Glad it works.

OPstriker commented 1 year ago

@lstipakov, Any update on signed Drivers?

lstipakov commented 1 year ago

@OPstriker What do you mean? You can get the latest version from here . You can also install openvpn-gui client built from the latest master branch, it will install the latest driver.

OPstriker commented 1 year ago

The test device I'm using to run the adapter has to have secure boot turned off which causes some issues during boot which I'm not sure why. So, I was wondering if signed drivers are available.

lstipakov commented 1 year ago

The test device I'm using to run the adapter has to have secure boot turned off which causes some issues during boot which I'm not sure why. So, I was wondering if signed drivers are available.

The drivers from the links I've posted above are signed. Sieppaa

OPstriker commented 1 year ago

Works Now!, had to uninstall and reinstall for some reason.