My host CENTOS6.564X Step 1: Download the one-key installation package for vpn (dedicated to CentOS6) # wgethttp: // uninstall:
My host CENTOS 6.5 64X
Step 1: Download the one-key installation package for vpn (dedicated to CentOS6)
#wget http://www.iamhackspace.com/download/shell/vpn_cent6.sh#chmod a+x vpn_centos6.sh
Step 2: run the one-click installation package
#bash vpn_centos6.sh
There are three options:
- Install VPN service
- VPN repair
- Add a VPN user
Enter 1, press enter, and VPS starts to install the VPN service. (after the VPN service is installed, a user with the username vpn and the password random number will be generated by default .)
To add a new VPN user, perform the following operations,
#bash vpn_centos6.sh
Select 3 and enter the user name and password. OK
- Fix the VPN service. if a VPN dialing error occurs, try to fix the VPN and restart the VPS.
#bash vpn_centos6.sh
Select 2, and then reboot