Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

5 Answers 5

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: http://pptpclient.sourceforge.net/howto-ubuntu.phtml 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: http://poptop.sourceforge.net/dox/debian-howto.phtml , which is a guide for Debian, but works on Ubuntu.

share|improve this answer
1  
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
1  
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

 
discard

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.