I contacted the VPS host also have a period of time, the accumulation of tutorials can basically meet the novice webmaster learning and use the VPS to build the site. Recently, the old left to do a survey, consulted a lot of the use of VPS host webmaster, found that many parts of the purchase of VPS Webmaster is not used to build stations, but to build their own needs of the VPN service. Earlier, the old left blog also shared a "combat Linux VPS CentOS to build a VPN tutorial", the tutorial is definitely complete, every tutorial in the blog has been successfully published through my test, that tutorial may not describe too good, or maybe I used the VPS as a drill just success, A lot of friends in the use of the time directly with a key script installed in their own VPS, found and not easy to use, so we also see comments have said can, have said no.
Of course, the test environment of the VPS is Xen CENTOS5 32, of course, not all such environment can be successful, in view of this, but also many users of the request I can publish for which one, which program of the tutorial, so use when there is no problem. I have my hands on the Interserver VPS in use, so just before writing the tutorial successfully, solid released this tutorial. (Note: Originally wanted to use the OVZ scheme, found that OVZ does not support Tun, so switch to the KVM architecture)
The first step is to check the environment
Let's take a look at my installation environment:
I'm using a KVM architecture, with the CentOS 5 version of 64 bits installed.
If we default to install the system is not above, need to reinstall the system, the theatrical troupes must be the right, last night I installed CENTOS6 is not successful.
Step two, one-click Installation
We use the SSH tool to login to our VPS, and then install the PPTP VPN with a single key installation package
Curl Http://myvps-scripts.googlecode.com/files/pptpd.sh|sh
After the installation, you will see the image below the interface is successful.
So we installed successfully, we can use the above account, landing their mobile PPTP (the following picture is my previous configuration, used for reference settings)
We need to set the above successfully installed PPTP generated server IP, account and password, and then save the link after this specific own pondering, old left think already enough detail. In the next tutorial, I will use the PPTP account to set up our computer's global VPN, because the global demand for more users.