Successfully setup a PPTP VPN Server on Ubuntu, following the instructions here.
All went smoothly. Just one thing to be noticed that don’t install OpenVPN and PPTP VPN on the same host. I did that and neither of them work. Guess there might be some kind of confliction.
And for my first impression, PPTP VPN appears easier to use than OpenVPN. Although OpenVPN provides a web page to setup the configuration in graphical UI, but that’s probably becuase there’s too much configurations to set. And PPTP just needs several lines of command to setup everything.
The general process as below.
Installation
1 | apt-get install pptpd -y |
##Configuration##
1 | vim /etc/pptpd.conf |
##Start Service##
1 | service pptpd restart |
##Forwording##
1 | vim /etc/sysctl.conf |