Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. 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 am wondering if someone has a recipe to configure IPSEC/LT2P-PSK VPN for the Pi. I am interested in being able to connect to it with an iDevice, and an Android phone.

share|improve this question

I dont have a recipe for installing a IPSEC / L2TP VPN; I tried to install it and after a couple of hours gave up in frustration and opted for a PPTP VPN.

PPTP is much easy to manage and install, although please take note its not as secure as IPSEC / L2TP, but it will support connections from iOS and Android devices unlike OpenVPN.

Depending on why you need a VPN, the increased risk associated to using PPTP over IPSEC/L2TP might be acceptable, if it is you will find a recipe for installing PPTP here http://www.stuffaboutcode.com/2012/08/raspberry-pi-use-as-vpn-server.html

share|improve this answer
Could you elaborate a bit (just the highlights) on how the level of security if lower with PPTP VPN, compared to OpenVPN ? – icarus74 Feb 18 '13 at 12:12
It uses an older cipher but is still pretty difficult to crack. Keep in mind that VPN can run pretty slow on the Pi because of allot of encryption. – ppumkin Feb 18 '13 at 15:09

I don't know if this exactly is what your looking for but this tut may help you: https://dl.dropbox.com/u/21429092/OpenVpn%20server%20Raspberry%20Pi.pdf

share|improve this answer
Can you provide a summary? – Jivings Nov 21 '12 at 0:32

OpenVPN now has Windows/Mac/Android/iOS clients. Here is a pretty good write up on OpenVPN for Raspberry Pi. http://sandeepmore.com/blog/2012/08/21/openvpn-for-raspberrypi-static-key/

A quick and easy write up for PPTP VPN on Raspberry Pi. http://www.sigwo.com/sshvpn-setup-guides-for-raspberry-pi/

share|improve this answer

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.