Sunday, May 18, 2014

Installing PPTP VPN on OpenVZ VPS



PPTP for OpenVZ:

PPTP stands  for Point-to-Point Tunneling Protocol. It is a traditional dial up networking system which is using for VPN (virtual private network). It supports many operating system without having extra client like OpenVPN. Also it supports Android and iOS operating system. In both cases, no client needed for setting up PPTP VPN. 

 

How to setup:

You can setup PPTP on your OpenVZ VPS by using script (very easy) or manually (moderate). For installing PPTP VPN by script, you need to follow the step by step tutorial below.

1. At first, you should prepare your VPS for installing PPTP. Execute the following command in SSH via PUTTY to check your VPS is ready or not.

cat /dev/ppp


if you see this message "cat: /dev/ppp: No such device or address", then you are ready to go.

If you do not see this message then you have to turn on TUN/TAP and PPP module from your VPS control panel. After that, follow the next steps.

2. Write down or copy paste the following line to download the installation script on your server

wget https://raw.github.com/cwaffles/ezpptp/master/ezpptp.sh

3. Set the necessary permission for the script and execute the script to start the automatic installation

chmod +x ezpptp.sh && ./ezpptp.sh


During installation, you will be prompted for setting username & password. You can also set multiple usernames & passwords. After successfully setup, you have to create new dial up connection in your machine to use PPTP VPN. 
Credits goes to Commander Waffles for this handy script.

No comments:

Post a Comment