Previously Centos5, pptp vpn can be installed according to the one-click installation package on the Internet, but after being replaced with Centos6.2, the file does not exist. The following is a one-click pptp vpn script and installation method for Centos6.5. I only tested it in the 64-bit centos system. Test it on your own for 32-bit instances.
Step 1: Download the one-click installation script of pptp vpn
Wget-c http://www.xiaohuai.com/down/vpn_centos6.sh & chmod + x vpn_centos6.sh
Step 2: execute the installer
Sh vpn_centos6.sh
Step 3, the English meanings of the three options are displayed.
1. Install the VPN service
2. VPN repair
3. Add a VPN user
Step 4: Enter 1 to install vpn
The system will give a random password, the user name is vpn
Step 5 enable IP forwarding
Modify/etc/sysctl. conf and net. ipv4.ip _ forward = 1.
Run sysctl-p to make the configuration take effect.