How to install pptpd on Ubuntu Edgy

The most widely used virtual private network protocol is PPTP for sure. I don't know why but my friend would like to have this own VPN server for use in some special case. He has a server with Ubuntu Edgy. That's my story. Fortunately, we have Poptop aka Open Source PPTP server for Linux and it is available on Ubuntu Edgy by default.

Suppose you have Ubuntu Edgy. You may install Poptop using below command.

sudo apt-get install pptpd

One more thing you have to know is pptpd came with Ubuntu Edgy was compiled against PPP 2.4.3 but the current version of PPP is 2.4.4. That means you are unable to use additional plugins in pptpd package, e.g., logwtmp.

So you have to comment the use of logwtmp in /etc/pptpd.conf. And if you prefer, you may specify localip and remoteip as you wish. The last thing you have to do is to add user/password pair in /etc/ppp/chap-secrets.

username    pptpd   password    *

Tags: , ,

Post new comment