An error occurred while installing openvpn: "An error ocurred installing the tap device driver"
The cause of this problem is: this error occurs when the TAP-Win32 network adapter has been disabled, Windows hardware installation Verification Failed. It will cause failures in the subsequent openvpn connection failures.
Some time ago, the virtual network card installation was required.ProgramSo in the website to collect some, find to find, did not see a separate installation, most of the said to install openvpn, and then only install the virtual network card of the tap-win32. In this case, the program of openvpnis used to run tapinstall.exe install oemwin2k. run the command line INF tap0x01 to install the tool (these files
is a production environment, we recommend that you use the TCP protocol.
Dev tun
; Dev tap
Defines which mode is used when openvpn is running. openvpn has two modes: tap mode and tun mode.
The tap mode is the bridge mode. A tap
step. press enter as prompted by default.
5. Generate The diffie hellman parameter to enhance openvpn security (the generation takes a long wait)
#./Build-dh
6. pack keys
# Tar zcvf keys.tar.gz keys/
7. send the terminal to the client for backup
# Yum install lrzsz-y
# Sz keys.tar.gz
5. configure openvpn server:
# Vi/etc/openvpn/server. conf
Note: the configur
/openvpn/easy-rsa]# CD ...
[root@ss-usa-odo01/etc/openvpn]# VI server.conf
# # #下面是我的配置文件可以参考
[root@ss-usa-odo01/etc/openvpn]# Grep-ev ' ^ ($|#) ' server.conf
; The local a.b.c.d #Specifies the local IP of the listener (because some computers have multiple IP addresses), the command is optional and all IP addresses are monitored by default.
Port 2
-2.0_rc16.tar.gz
Because openvpn requires data compression, you also need to install the lzo package:
Http://www.oberhumer.com/opensource/lzo/download/lzo-1.08.tar.gz
4.3 Installation
Linux:
Code:
Software compilation and Installation
Lzo./configure Make make install
Openvpn./configure-prefix =/opt/openvpn Make make install
FreeBSD:
Code:
Lzo./config
The first bottleneck of openvpn is that the Tun character device reads and writes frames at one link layer. The reason why the user-mode openvpn process must have the same link-MTU on both ends, it is because each time openvpn reads a complete Ethernet frame from the/dev/NET/TUN character device, there are not many, and the library interface: ssize_t read (int fd
-shared key is required to enable the tls-auth function. this password is often stored with files such as certificates. the pre-shared key can be generated using the following command:[Root @ openvpn 2.0] # openvpn -- genkey -- secret ta. key8 configure the openvpn master configuration file on the openvpn Server# Mkdir
Rotten mud: ubuntu 14.04 OpenVPN server, 14.04 openvpn
This article is written by Xiuyi Lin FengProviding friendship sponsorship, first launched in the dark world
The company branch needs to connect to the company's internal server, but the server only allows access to the company's internal network.
To solve this problem, we plan to use VPN. PPTP is the most widely used solution for VPN in the past, but
application software (such as IE) sends data to the virtual network card, the service program can read the data, if the service program writes appropriate data to the virtual network card, the application software can also receive the data. Virtual NICs are implemented in many operating systems, which is also an important reason for OpenVpn to be cross-platform.
In OpenVpn, if a user accesses a remote virt
Official manual page.Server 10.8.0.0 255.255.255.0
# Specifies the file that is used to record the association relationship between the client and the virtual IP address.# when the OpenVPN is restarted, the reconnected client is assigned the same virtual IP address as the previous assignmentIfconfig-pool-persist Ipp.txt
# This directive is only for Ethernet bridging mode.# First, you must use the operating system bridge capability to bridge the Eth
, routing technology, and SSL. The first three have built a virtual network-tunnel connection network, finally, SSL ensures the security of Virtual Network Communication-authentication and encryption of tunnel communication. Therefore, the process of using openvpn is basically the process of configuring the above four aspects.2. openvpn parameter set and configuration instance2.1 Parameter DetailsOpenvpn ha
OpenVPN is another VPN software package different from PPTP and L2TP. it is based on ssl vpn. The use of OpenVPN requires client support. Here the system is CentOS6.2. I. check the environment required by OpenVPN. OpenVPN requires support from TUN devices and nat module support from iptables. 1. check the TUN module: m
client. A typical stand-alone host with private DNS server.Code:Rpm-qa | grep bind/etc/init.d/named startIn addition, you must ensure that there are three configurations in the server.conf configuration:Code:Push "Dhcp-option DNS 10.8.0.1"Push "Dhcp-option DNS 70.88.98.10" # Name server addressPush "Dhcp-option DNS 70.88.99.11" # Name server addressWhen the client connection succeeds and executes Ipconfig/all under CMD, there should be output like this:Code:Ethernet Adapter Local Area Connectio
listening port. The corresponding port 1194 must be enabled in the firewall # Set the TCP or UDP protocol? Proto tcp proto udp # Set the Route IP channel for creating tun or the Ethernet channel for creating tap # It is easy to control the Route IP, so we recommend using it; however, if IPX and so on must # use the second layer for communication, you can use the tap mode, that is,
firewall # Set the TCP or UDP protocol? Proto tcp proto udp # Set the Route IP channel for creating tun or the Ethernet channel for creating tap # It is easy to control the Route IP, so we recommend using it; however, if IPX and so on must # use the second layer for communication, you can use the tap mode, that is, tap # Ethernet bridging; dev
sample and then modify it on this basis:
# Cp/usr/share/doc/openvpn/examples/sample-config-files/server.conf.gz/etc/openvpn/
# Cd/etc/openvpn/
# Gunzip server.conf.gz
This will decompress a server. open the conf file and edit it. If you follow my steps from the beginning, you can copy my configuration directly. In this case, modify the configuration according to
# the ip address here is the ip address of the NIC on your machine.
# Which TCP/UDP port shoshould OpenVPN listen on?# If you want to run multiple OpenVPN instances# On the same machine, use a different port# Number for each one. You will need# Open up this port on your firewall.Port 1194 # Set the port, which must be consistent with the client Configuration
# TCP or UDP server?; Proto tcpProto udp # used
OpenVPN: OpenVPN can run on most common system platforms. it is a VPN solution based on SSL/TLS. OpenVPN can implement link between Layer 2 and Layer 3 based on the TAP/TUN virtual device driver, provide industry-level encryption function based on SSL/TLS, and implement most common VPN solutions... "/>
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.