verification, and information integrity. The SSL protocol consists of many sub-protocols, two of which are handshake protocol and record protocol. The handshake protocol allows the server and client to confirm each other before the application protocol transmits the First Data byte and negotiate an encryption algorithm and password key. During data transmission, the record protocol uses the key generated by the handshake protocol to encrypt and decry
.
Details of the four servers used in this article:
Code:
IP address of the operating system server in IDC Vpn Mode
Vpn server RedHat 9.0 public network IP1 (China Netcom)
Public Network IP2 (China Telecom)
Guangzhou IDC Vpn client FreeBSD4.9 10.1.0.1
Hebei data center Vpn client RedHat9.0 10.2.0.1
Hangzhou data center Vpn client FreeBsd4.9 10.3.0.1
3.2 Network Security
In addition to the vpn server, vpn clients in other data centers do not need public IP addresses, so the vpn server n
configuration here will be used as the default configuration
---------------------
Export KEY_COUNTRY = "CN"
Export KEY_PROVINCE = "SX"
Export KEY_CITY = "Xian"
Export KEY_ORG = "example"
Export KEY_EMAIL = "user01@example.com"
---------------------
Perform the SSL configuration file soft link:
# Ln-s openssl-1.0.0.cnf openssl. cnf
Modify the vars file executable and call
# Chmod + x vars
# Source./vars
-----------------
NOTE: If you run./clean-all,
I. openvpn introduction openvpn is an SSL-based vpn. it uses the industrial standard SSL/TLS protocol to implement the Layer 2 and Layer 3 secure data link VPN. it has the following advantages: 1. based on the SSL protocol, security, and using a single TCP or UDP port can ac
TCP packet, which will affect the sliding of the TCP window, resulting in the illusion of "a long journey" to both ends of the transmission and receiving, Thus adjusting the RTT.2. If the Tun Nic load is UDP:UDP originally better supports real-time, but does not care much about packet loss. The modified Tun Nic adds a single packet delay, and the real-time performance is not as good as before.3. Parameter associativity:Several parameters are important. The first is the user-state buffer size, t
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
{node ID, the IP/port} ing table shows the VPN processing node to which the data is sent.
5. to use BIO instead of the network to implement TLS between nodes, you must understand that the SSL handshake has nothing to do with the network elements, just as the OpenVPN implements, you can use the BIO/Realiable layer to implement TLS negotiation between two memory buffers. In this way, a tunnel can be establis
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,
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
1 openvpn OverviewVPN replaces expensive leased lines to implement a virtual network on the open Internet. The virtual network itself provides security protection for data on an insecure real network.Openvpn implements a flexible VPN. openvpn has the following advantages compared with the IPsec-based VPN implemented by modifying the Protocol Stack:1. openvpn does
Mud: openvpn configuration file details, openvpn configuration file
This document consistsXiuyi Lin FengProviding friendship sponsorship, first launchedThe world
In the previous article "build OpenVPN server in ubuntu 14.04", we mainly explained how to build and use openvpn. In this article, we will detail the config
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
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, t
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.
, almost no one analyzed the OpenVPN protocol, and my analysis was only due to interest. It was useless. Looking at the messy code generation of OpenVPN, it was so painful to use the packet capture analysis protocol. At that time, I had the urge to write the Wireshark plug-in of OpenVPN protocol, if it was not restricted by the Windows and Gnome/QT programming en
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 supp
connection may fail.
3. Build a linux server environment:
(1) Software Installation
A) yum-y install gcc-c ++ openssl-devel
B) lzo compilation and Installation
Cd/usr/local/src
Wget http://www.oberhumer.com/opensource/lzo/download/lzo-2.03.tar.gz
Tar -zxvflzo-2.03.tar.gz
Cd lzo-2.03
./Configure -- prefix =/usr/local/lzo
Make make install
C) install openvpn2.2.2
Cd/usr/local/src
Tar-zxvf openvpn-2.2.2.tar.gz
Cd
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.