Posts Tagged ‘pptp’

Create VPN In Linux Using PPTP (PoPToP)

VPN (Vitual Private Network)  is very much in the market now. VPN is fix to many problems with respect to network and many IT professionals are using it to overcome various issues. Lets see how we can create our own VPN in Linux using PoPTop (pptp) Protocol.

PoPTop is a utility which creates VPN. Simply run the following command to install poptop (pptp) on Linux based system:

yum install pptp

Once the installation is over, you will find its configuration files located in the /etc directory. There are four configurations which we need to take care in order to work with pptp. Here are they:

  • /etc/modules.conf
  • /etc/pptp.conf
  • /etc/ppp/options.pptp
  • /etc/ppp/chap-secrets

Lets see what each file contains and what settings are required in these configuration files.

/etc/pptp.conf

It contains the default configurations of the pptp, like the executable name ctc. The default settings of this file work and no change is required except any exceptional situation.

/etc/modules.conf

It contains the list of the installed modules w.r.t to poptop. So the default configurations of this file should be kept untouched.

/etc/ppp/chap-secrets

This is the one file which should be changed, here you actually create the users for accessing this VPN. Here you specify the username and password and then these username and password can be used to connect to this VPN. Here is my chap-secrets file. I have created one user with name aun and raza12 and here are contents of my chap-secrets file:

» Read more