Changes between Version 1 and Version 2 of ManagingWindowsTAPDrivers


Ignore:
Timestamp:
08/11/11 19:43:05 (11 years ago)
Author:
Samuli Seppänen
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ManagingWindowsTAPDrivers

    v1 v2  
     1= Introduction =
     2
     3The OpenVPN TAP-drivers consists of four files for each platform (32/64-bit):
     4
     5 * ''<something>.cat:'' contains cryptographic signature for the actual drivers
     6 * ''<something>.sys:'' contains the actual driver
     7 * ''<something>.inf:'' contains driver metadata
     8
     9If you need to run OpenVPN on Windows Vista/7 64-bit you have to use signed TAP drivers. Unless you sign them yourself, you need to extract drivers from an existing OpenVPN installer. See below for instructions.
     10
    111= Installing an uninstalling the TAP-drivers =
    212
    3 Occasionally you may have to try out different versions of the Windows TAP-driver. This can be done with ''<openvpn-install-dir\bin\tapinstall.exe''. This tool is actually renamed [http://support.microsoft.com/kb/311272 Devcon.exe].
     13Occasionally you may have to try out different versions of the Windows TAP-driver. This can be done with ''<openvpn-install-dir\bin\tapinstall.exe''. This tool is actually a renamed [http://support.microsoft.com/kb/311272 Devcon.exe].
    414
    515It's fairly straighforward to use ''tapinstall.exe'' from a command-prompt. The <id> is an identifier which ''tapinstall.exe'' uses to detect the correct driver. In case of OpenVPN 2.2* it's ''tap0901''. This may be different in older/newer versions. To view information about an installer driver use
     
    1222
    1323{{{
    14 $ tapinstall.exe remove tap0901
     24$ tapinstall.exe remove <id>
    1525}}}
    1626
     
    2535= Extracting TAP-drivers from OpenVPN installers =
    2636
    27 If you need to run OpenVPN on Windows Vista/7 64-bit you have to use signed TAP drivers. Unless you sign them yourself, you need to do two extra steps:
    28 
    29  * Extract the TAP-drivers (*.cat, *.sys, *.inf) and ''tapinstall.exe'' from an official OpenVPN installer using [http://www.7-zip.org/ 7-zip]. The 64-bit versions are larger in size.
    30  * Place 32-bit signed TAP drivers and corresponding ''tapinstall.exe'' to ''<openvpn-build-root>\tap-prebuilt\i386''
    31  * Place 64-bit versions to ''<openvpn-build-root>\tap-prebuilt\amd64''
     37Extracting TAP-drivers from an OpenVPN installer is relatively easy: you can use [http://www.7-zip.org/ 7-zip] to open the installer executable. There are both 32-bit and 64-bit versions, but the latter are larger in size.