ben_fp
By:
ben_fp

openVPN or IPSec/L2tp Setup

October 21, 2012 24.5k 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
Hello,
L2TP/IPSec tutorial
https://raymii.org/s/tutorials/IPSEC_L2TP_vpn_with_Ubuntu_12.04.html

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
black.dragon90000@gmail.com
Without any previous experience with setting up VPN, I used the script below. It was ready in less than 5 minutes. :)

https://github.com/Nyr/openvpn-install

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.
https://code.google.com/p/tunnelblick/
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

    Thanks,
    Librae

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.

Thanks
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: http://openvpn.net/index.php/open-source/documentation/howto.html
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.
Any word on the openVPN tutorial? Really want to try this out myself
Based on raymii.org & vitobotta
But, still can't run l2tp / openswan base on my server.


Did you try this one? http://wiki.nikoforge.org/L2TP/IPSec_VPN_Setup_on_Centos_6_(64-bit)_for_use_with_Android_ICS_and_iOS_5_Clients
Have another answer? Share your knowledge.