If you need fast and stable VPN server – I can recommend SoftEther VPN, installation and usage are pretty simple.
1. Install Development packages:
yum -y groupinstall "Development Tools"
2. Download server installation package here
wget http://www.softether-download.com/files/softether/v4.10-9473-beta-2014.07.12-tree/Linux/SoftEther_VPN_Server/64bit_-_Intel_x64_or_AMD64/softether-vpnserver-v4.10-9473-beta-2014.07.12-linux-x64-64bit.tar.gz
or from my source
3. Unpack into /usr/local/
tar -xvzf softether-vpnserver-v4.10-9473-beta-2014.07.12-linux-x64-64bit.tar.gz -C /usr/local/
4. Change permissions and install
chmod -R 744 /usr/local/vpnserver
cd /usr/local/vpnserver
make
5. Create init start/stop script
vi /etc/init.d/vpnserver
6. Now server can be started and added to autostart
chmod 755 /etc/init.d/vpnserver
/etc/init.d/vpnserver start
chkconfig vpnserver on
7. VPN configuration, you need to run vpn cosole
cd /usr/local/vpnserver
./vpncmd
8. In VPN command line select option “1. Management of VPN Server or VPN Bridge”
9. In “Hostname of IP Address of Destination:” inpit your server IP and port
example: 192.168.11.12:5555
In “Specify Virtual Hub Name:”
just press ENTER
10. to check server installation – execute command check
to set ADMIN password, use command ServerPasswordSet
11. Download VPN SERVER MANAGER here
or from my source
and install it on your PC
P.S. It is only for Windows, but you can read SoftEther FAQ, there are listed all vpn console commands
12. Connect to your VPN server using IP:port (by default port 5555) with ADMIN password (step 7)
13. After login – click on option IPsec / L2TP Setting and enable all option (or some of them, there are detailed information for each)
14. Also you need to modify (or create new) VirtualHub and enable Virtual NAT and Virtual DHCP Server (SecureNAT)
15. Now you can create user/pass for your client and connect using VPN CLIENT, you can download it here
or from my source