Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to install PPTP on my remote ubuntu server, so that it will connect back to the main office, so that backups, and and also data transfer can take place.

Can anyone suggest a good guide for getting an ubuntu headless server, (or any linux for that matter) dialing PPTP on bootup

share|improve this question
up vote 1 down vote accepted

Not PPTP related: If you can use OpenVPN, it's support on Ubuntu is excellent. Just edit /etc/default/openvpn to default some OpenVPN tunnels to auto-start on boot. On the client configuration, use some passphrase-less certificate and keys, so OpenVPN does not stop asking for a passphrase.

Alternatively, on the PPTP side of things, investigate using /etc/network/interfaces, to define

 auto callhome
 iface callhome inet ppp
 provider callhomeprovider

This creates a "callhome" pseudo interface, that is auto-brought-up on boot, that in turn calls ppp's /etc/ppp/peers/callhomeprovider config-file. This does not require any graphical clients. For configuring that, check out the standard PPTP-client's docs.

share|improve this answer
I will try this and get back to you as soon as I can, thank you for the tip. – Mister IT Guru Feb 14 '11 at 9:57

On the page here: there's a section labeled "Configuration, by hand." This includes CLI directions for the PPTP client.

share|improve this answer

Install Ubuntu Server and the pptpd package which is a pptp server listening for connections. Then you can use windows vpn client and the linux pppoeconf or kppp to connect to your server. You can use this guide: , which is a guide for Debian, but works on Ubuntu.

share|improve this answer
OP is asking for client, now server :) – Kristaps Jan 27 '11 at 14:44

For a headless/non-gui setup install and configure wvdial to call home and add wvdial to the bottom of /etc/rc.local as a background process to have it start on bootup.

share|improve this answer
looking into wvdial - it seems that this is used to dial the modem? The system is already has Internet connectivity, and just needs to connect to our vpn server. – Mister IT Guru Jan 30 '11 at 13:54

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.