PPTP – Point-to-Point Tunneling Protocol – extends the Point to Point Protocol (PPP) standard for traditional dial-up networking. Which enables the secure transfer of data from a remote client to a private enterprise server by creating a virtual private network (VPN) across TCP/IP-based data networks. PPTP supports on-demand, multi-protocol, virtual private networking over public networks, such as the Internet.

PPTP and PPTPD insatallation on cpanel servers

1) Install PPP.

2) Download the appropriate RPM from here (select required version of your centOS version).

3)Install the RPM.

4) Edit the file /etc/pptd.conf.

Add the following lines to the fies at end.

5) Second configuration file to be edited is /etc/ppp/options.pptpd

Set DNS at ms-dns lines

6) Edit the file /etc/ppp/chap-secrets to add users.

Firewall configuration

7) Edit /etc/sysctl.conf .

Enable IP forwarding by editing the follwing line

8) Load in sysctl settings from the file /etc/sysctl.conf .

9) Configuring IPtables for NAT

That’s all !!