Deploy OpenVPN Server on CentOS 6
References:Https://www.digitalocean.com/community/tutorials/how-to-setup-and-configure-an-openvpn-server-on-centos-6Http://www.unixmen.com/setup-openvpn-server-client-centos-6-5/Http://docs.ucloud.cn/software/vpn/OpenVPN4CentOS.html
Background:Recently, GFW began to block VPN, and the PPTP/L2TP VPN built on VPS began to become un
Build OpenVPN server with CentOS6
OpenVPN is a free open-source software used to create a Virtual Private Network (VPC) encrypted channel. OpenVPN allows you to easily build a dedicated network channel similar to a LAN between different network access sites, such as home, office, and hotel accommodation.
Using OpenVPN
Openvpn construction in linux and linuxopenvpn ConstructionTags: original vpn files, which can be reprinted. During reprinting, you must use hyperlinks to indicate the original source, author information, and this statement. Otherwise, legal liability will be held. Http://304076020.blog.51cto.com/7503470/1605312
Lab EnvironmentSystem: centos 6.5Hostname: openvpn-serverIp: 192.168.1.236
Installation Package
Install OpenVPN in CentOS6.6
VPN basic concepts
VPN
Function: establishes a secure private network on an insecure public network for encrypted data transmission.
VPN and tunneling Technology
Tunnel protocols include
Passenger Protocol: encapsulated protocol, such as PPP and SLIP
Encapsulation protocols: establish, maintain, and disconnect tunnels, such as L2TP and IPSec
Bearer Protocol: the protocol that carries encapsulated data packets, such as IP
OpenVPN introduction:OpenVPN can run on most common system platforms and is a VPN solution based on SSL/TLS. OpenVPN can implement layer-2 and layer-3 links based on the TAP/TUN virtual device driver, and provides industry-level encryption based on SSL/TLS, and implements all the features of most common VPN solutions. However, there are not many VPN hardware vendors that integrate
1.Case Demand Analysis
This case uses the RHEL5 and Windows XP system environment to establish a secure ssl vpn connection 8.2 for two remote LAN and remote network management workstations across insecure Internet networks ).
The gateway servers of Beijing headquarters and Shanghai Branch both use the RHEL5 system. OpenVPN must be configured separately to connect two remote LAN LAN1 and lan2. In addition, the network management workstation located on
Download and install openvpn:Use flashget or any other method to download the openvpn installation package and install it. Remember to select the easy-RSA script,The bat script used to manage the CA.Http://openvpn.se/files/install_packages/openvpn-2.0.5-gui-1.0.3-install.exeAfter installation, easy-RSA is in the c: \ Program Files \ openvpn \ directory.Start conf
OpenVPN is a software package used to create a VPC encrypted channel. It implements a two-or three-tier tunnel-based VPN. It was first written by James Yonan. OpenVPN allows the created VPN to use a public key, digital certificate, or user name/password for authentication. It uses a large number of SSLv3/TLSv1 protocol libraries in the OpenSSL encryption library.
Currently,
OpenVPN client configuration tutorial in Ubuntu generally, Linux servers that provide Web services seldom need to connect to OpenVPN, but personal Linux computers often need to connect to OpenVPN. For example, if you use Linux as the development environment, you need to connect to the company's OpenVPN. In this article
Environment company Intranet One CentOS 6.6 Server A, the network card eth0 intranet ip:192.168.8.60, the company public network IP is 116.228 12.88, uses the router's DMZ function to map the public net to the intranet server A (namely Intranet ip:192.168.8.60).
1, install OpenVPN on the server. Because there are no OpenVPN packages in the default CentOS software source, you can yum install
In windows, use openvpn in linux to log on to the Intranet of the remote server, and use linuxopenvpn.
Requirement: in some environments with strict network requirements, we are unable to remotely access the company's Intranet in a remote location, which brings us great inconvenience. However, we can achieve it easily through openvpn, next we will introduce it.
Note: This experiment is performed when the fi
Use openvpn in linux to log on to the Intranet of the remote server
Requirement: in some environments with strict network requirements, we are unable to remotely access the company's Intranet in a remote location, which brings us great inconvenience. However, we can achieve it easily through openvpn, next we will introduce it.
1. Network Environment:
Company openvpn
One, OpenVPN server-side configuration file details
################################################## Example of a server-side configuration file for OpenVPN 2.0 for multiple clients## This file is used for multi-client ## OpenVPN also supports stand-alone ## This configuration supports Windows or LINUX/BSD systems. Also, on Windows, remember to enclose the pat
I. OpenVPN installation Environment Server-Side environmentRedhat, kernel version: 2.4.20-31.9, IP for 70.8.7.6Kernel need to support Tun devices and need to load iptables modules. Check to see if Tun is installed: Code:root@a [/]# Modinfo TunFileName:/LIB/MODULES/2.4.20-31.9/KERNEL/DRIVERS/NET/TUN.ODescriptionAuthorLicense: "GPL" If there is no modinfo command, just look for it and see if there are any tun.o files in kernel: Code:Find-name TUN.O./lib
Install Openvpn in CentOS
Principle:
The core technology of OpenVpn is virtual Nic, followed by SSL protocol implementation. Here we will introduce the virtual nic and its Working Mechanism in OpenVpn:
A virtual Nic is a driver software implemented by using underlying network programming technology. After installation, an Eni appears on the host and can be config
IPSecVPN and OpenVPN-IPSec are talking about OpenVPN and other SSLVPN over the IPSec protocol, as a result, IPSec gradually fades out of sight and becomes a dedicated VPN for core networks and ultra-high-end devices. Www.2cto.com if you want to develop a VPN product, OpenVPN is like the pull personnel standing outside the bainahui Mall in different regions, attra
OpenVPN Optimization-Establishment of TLS handshake Control CHannel
An optimization of the OpenVPN data tunnel is in progress. After referring to the concept and idea of the "giant frame", I carefully considered the design and implementation of the TCP/IP protocol stack, so I come up with a possible error, but at least it is very practical in my scenario: although the upper-layer protocol sends data, it doe
OpenVPN server verified by account and password
EnvironmentServer: CentOS 6.7 32-bitClient: Windows XP
Server Configuration# Disable SELinuxSed-I '/^ SELINUX \ B/s/=. */= disabled/'/etc/selinux/configSetenforce 0
# Install mysql-serverYum-y install mysql-server
# Start the mysqld serviceService mysqld start
# Initialize the mysql administrator passwordMysqladmin-uroot password RedHat
# Create a radius DatabaseMysqladmin-uroot-predhat create radius
# I
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.