Only three steps are required to quickly build a vpn in Centos
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