I have recommended how to set up the PPTP VPN service in the article "VPs initial experience and self-built VPN service". This article has made some modifications and supplements based on the original article, and added"How to connect to pptp vpn on Linux.
The running enviro
disadvantage is that many communities and network devices do not support PPTP, which is not accessible, open source software PPTP(2)SSL VPN typical Open VPN, not only suitable for PPTP scenarios, but also suitable for enterprises
This article describes how to build a PPTP VPN service on a Xen VPS that installs the CentOS operating system. Includes the installation, configuration, and corresponding iptables rules for PPTP. This article temporarily does not involve the PPTP traffic control part, waits for the time to learn to understand the Freer
Next to the content in the previous section:
What is PPTP?
The following is an official explanation of Microsoft (the first draft submitted by Microsoft ):
Point-to-Point Tunneling Protocol (PPTP) is a network protocol thatEnables the secure transfer of data from a remote client to a private enterprise serverBy creating a virtualPrivate Network (VPN) Upload SSTC
creating on-demand, multi-protocol, and virtual private networks through public networks (such as the Internet. PPTP allows encrypted IP communication, and then encapsulates it in the IP header sent across the company's IP network or public IP network (such as the Internet. The typical open-source software for linux is pptpPPTP (Point to point Tunneling Protocol, Point to point tunnel Protocol). The defaul
, pay attention to the network conditions between two encrypted tunnels. If there is a high latency or a large number of packet loss, select TCP as the underlying protocol, due to the absence of connection and retransmission mechanisms, UDP protocol is inefficient because it requires the upper-layer protocol to be retransmitted. OpenVPN is a pure application-layer VPN protocol based on SSL encryption. It is a type of ssl
Pptp settings and local vpn (and solve the problem that ssh cannot access the remote host under the vpn)1. Install pptpSudo apt-get install-y ppp pptpdsudo vim/etc/pptpd. conf modification: option/etc/ppp/pptpd-optionslocalip 172.31.26.19 (local vpn address) remoteip 172.31.26.20-200 (
About PPTP
Point-to-Point Tunneling Protocol (English: point to Point Tunneling Protocol, abbreviated to PPTP) is one way to implement a virtual private network (VPN). PPTP uses Transmission Control Protocol (TCP) to create controlling channels to send control commands and to encapsulate Point-to-Point Protocol (PPP)
Pptp settings and local vpn (and solve the problem that ssh cannot access the remote host under the vpn), pptpssh1. Install pptpSudo apt-get install-y ppp pptpdsudo vim/etc/pptpd. conf modification: option/etc/ppp/pptpd-optionslocalip 172.31.26.19 (local vpn address) remoteip 172.31.26.20-200 (
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 decrypt the data to be exchanged.
SSL is independe
VPN (Virtual Private Network) is an extension of a Private Network. It can simulate a point-to-point Private connection through a shared Internet or public Network connection, send data between a local computer and a remote computer. It has good confidentiality and is not subject to authorization, so that both parties can establish a free and secure point-to-point connection.There are two common VPN service
connected and available IP network between the PPTP client and the PPTP server. Therefore, if the PPTP client set Step 1 is already part of the IP network, it can be connected to the PPTP server through that IP network, and if the PPTP client is not already connected to the
Pptp vpn Server in CentOS6 Architecture
For more information, see http://www.178-go.com/archives/vpn-on-centos-vps.html. There are also many articles about installation and configuration on the Internet, which are also detailed. It is not difficult to configure according to steps. Because my application scenarios are a little different from those described in the
VPN (Virtual Private Network) is an extension of a Private Network. It can simulate a point-to-point Private connection through a shared Internet or public Network connection, send data between a local computer and a remote computer.It has good confidentiality and is not subject to authorization, so that both parties can establish a free and secure point-to-point connection.There are two common VPN services
Experimental environment:
(1) The company all game servers, only allow an extranet IP to access, need to maintain the server, must first dial to the designated extranet IP.
(2) The company and headquarters communications are to take the VPN channel, the company's internal IP and VPN devices are different network segments, need to be under the VPN device to conn
are encrypted with IPSec. An internet-based PPTP server is a VPN server that uses the PPTP protocol, one with an interface on the Internet and another interface on an intranet.
PPTP connection process and tunnel maintenance
The PPTP control connection is established bet
support from the PPP and iptables software. Here, yum is used for installation,
Enter this command: YumInstall-y PPP iptables
AveragePPP is installed by default in centos.
2. Install PPTP
Installation Package http://poptop.sourceforge.net/yum/stable/packages/Select the latestWget http://poptop.sourceforge.net/yum/stable/packages/pptpd-1.3.4-2.rhel5.x86_64.rpm
If wget is invalid, yum install-y wget
Rpm-IVH
VPN (Virtual private network) is an extension of a private network that sends data between a local computer and a remote computer by sharing an Internet or public network connection to simulate point-to-point private connections.
It has good confidentiality and immunity from interference, allowing both sides to be free and secure point-to-point connection.
There are two common VPN services under Linux, on
The full name of VPN is "Virtual Private Network", which is translated as "Virtual Private Network ". As the name suggests, we can regard a virtual private network as an internal private line of an enterprise. It can establish a proprietary communication line between two or more enterprise intranets connected to the Internet in different places through special encrypted communication protocols, it is like setting up a leased line, but it does not need
and stable tunnel through a chaotic public network. A Virtual Private Network is an extension of the enterprise intranet. Virtual Private Network can help remote users, company branches, business partners and suppliers to establish trusted and secure connections with the company's Intranet, and ensure secure data transmission. A virtual private network can be used for the global Internet access of increasing mobile users to achieve secure connections. It can be used to implement virtual private
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.