Openvpn

在 Windows7 上安裝 OpenVPN

  • May 5, 2021

看來我無法安裝目前版本的 OpenVPN (2.1.2),因為 TAP 驅動程序未簽名,因此 windows 7 x64 拒絕安裝它。

它顯示在設備管理器中,但帶有黃色驚嘆號。

這是一個全新的系統,之前從未安裝過 OpenVPN。

當我啟動 OpenVPN 客戶端時,它似乎連接正常,但隨後停止

CreateFile failed on TAP device: ...
All TAP-Win32 adapters on this system are currently in use.

如何安裝未簽名的驅動程序,或者在某處有可用的簽名驅動程序?

要安裝,該應用程序必須在 Vista 兼容模式下執行。

下載 OpenVPN 2.1 然後:

1) After downloading, right-click on the file and select 'properties' then 'compatibility mode'
2) Select 'Windows Vista (Service Pack 1)'
3) For privilege level, select 'Run this program as administrator'
4) Click 'Apply' and then 'OK' to exit
5) Double-click on the installation file install. Agree to any questions that pop up. Click next where prompted.
Note: The installation of the TAP adapter can sometimes take up to a minute. Do not exit the installer while the TAP adapter is being processed.

安裝程序後,您需要將 OpenVPN-GUI 標記為與 Vista(SP1) 的兼容模式,然後選中復選框“以管理員身份執行”。

引用自:https://serverfault.com/questions/173059