openVPN or IPSec/L2tp Setup

October 21, 2012 19.6k views
Hello, I was wondering if you could add an article and/or tutorial on how to setup a VPN tunnel with openvnp or with IPSec/L2TP. I have been playing around with openvpn and still can't make it work properly. I have also spent alot of time trying to make a VPN tunnel using IPSec and L2TP and that is also not work. I think having a tutorial would be great. I have followed many different guides found online but none of them seem to work properly. Thanks
11 Answers
Without any previous experience with setting up VPN, I used the script below. It was ready in less than 5 minutes. :)

1. Launch a new 512MB droplet. I used Debian x86.
2. I am using port 443 instead of the default port 1194, port 53 as backup.
3. Downloaded the certificates created.
4. I am using Tunnelblick OSX client for OpenVPN.
5. It works great!
  • Hello gio.arteaga,

    Thank you for the recommendation!
    I tried it and the installation is ok (all configurations are default).
    However when I connect it from tunnelblick, it show connected but not data transmission.

    I can see ERROR log in /var/syslog in server side:

    TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
    TLS Error: TLS handshake failed
    SIGUSR1[soft,tls-error] received, client-instance restarting

    My environment:
    Ubuntu 14.4


That's a great suggestion I'm going to pass it along to Etel to write up an intro tutorial on OpenVPN.

In the meantime open a support ticket and we can look into your account and see if we can help.

I'll put in a vote on this as well. Always looking for a great guide for setting up openVPN.
I'm waiting for one tutorial to how setup a VPN connection too.
To tide you over, I know people who swear by this walkthough:
And how about Openswan do you have a tutorial, becouse I'm trying to make a site-to-site VPN tunnel of my droplet and one pfsense firewall.
Do you have a tutorial for this?
Unfortunately we do not currently have a tutorial for that.
L2TP/IPSec tutorial

if you need any help with this just email me I have a lot of vpn servers I'm running OpenVPN, PPTP, and L2TP/IPSec
Any word on the openVPN tutorial? Really want to try this out myself
Based on & vitobotta
But, still can't run l2tp / openswan base on my server.

Did you try this one?
Have another answer? Share your knowledge.