OpenVPN / ovpn-dco-win

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

OVPN_IOCTL_SET_PEER Windows 11 #14

Closed joksik closed 2 years ago

joksik commented 2 years ago

hello i update under Windows 11 21h2 22000.613 drivers for ovpn-dco-win from version 0.6.8 to 0.7.1. now when i connect with openvpn i have this error in logs:

DeviceIoControl(OVPN_IOCTL_SET_PEER) failed with code 122

openvpn seems to be working but using previous drivers i don`t have any errors.

ps: i use openvpn 2.6 git from this link: https://build.openvpn.net/downloads/temp/ovpn-dco-win/msi/

lstipakov commented 2 years ago

Hi,

Version 0.7.1 introduced incompatible API change (setting TCP MSS with SET_PEER) so the client version you use won't work with it. You need the openvpn.exe binary build from the latest dco branch (https://github.com/OpenVPN/openvpn/tree/dco), which could be downloaded from GitHub Actions: https://github.com/OpenVPN/openvpn/suites/6075161490/artifacts/210176397

joksik commented 2 years ago

thanks. i download file from github actions and it works. thanks