Page 1 of 1

Help with IPsec on Linux client

Posted: Sun Apr 08, 2012 1:18 pm
by thomasps
Can someone help me with setting up IPsec VPN on ubuntu client? I have installed L2TP IPsec VPN Manager 1.0.6 as detailed here:
http://www.tuvpn.com/en/tutorials/l2tp- ... hal#step-0

Then i put the following:
Remote Server: myusername.yourhda.com
Server identity: <empty>
Use pre-shared key: <my psk as shown on IPsec Amahi app>

In PPP tab:
Allow these protocols: I checked only CHAP but played around with the others
Usernmae: myusername
Password: mypassword

So far it doesn't work. I noticed I did not place the "group name", not knowing where to put that.
Thanks for any help.

Re: Help with IPsec on Linux client

Posted: Sun Apr 08, 2012 6:03 pm
by bigfoot65
Have you checked out the wiki? There was some guidance there I believe.

Re: Help with IPsec on Linux client

Posted: Mon Apr 09, 2012 10:26 am
by thomasps
Yes, but it only covers clients for Win, Mac, Android, iOS :-(

Re: Help with IPsec on Linux client

Posted: Mon Apr 09, 2012 2:11 pm
by bigfoot65
Ah, did not know that. You may have to use google to find out how to do it. There may be a user here who has a similar setup and hopefully they can help.

Re: Help with IPsec on Linux client

Posted: Fri Apr 20, 2012 8:43 am
by thomasps
Ok no luck. So I'm going to use OpenVPN instead. Just one question: is having both OpenVPN and iPsec going to coause any problems/conflict?

Re: Help with IPsec on Linux client

Posted: Fri Apr 20, 2012 9:18 am
by bigfoot65
Should not have any problems. I am running both on my HDA and have successfully connected with both from clients.

Re: Help with IPsec on Linux client

Posted: Mon Apr 23, 2012 7:13 am
by dforbes
The IPsec-VPN app is a pure IPsec VPN not an L2TP/IPsec, so the client you've referred to in the original post won't work. I've not used a linux client with it previously as OpenVPN seemed to do the job most of the time; the main motivation for the app was to enable iOS devices to connect.

DF

Re: Help with IPsec on Linux client

Posted: Mon Apr 23, 2012 7:34 am
by thomasps
The IPsec-VPN app is a pure IPsec VPN not an L2TP/IPsec, so the client you've referred to in the original post won't work. I've not used a linux client with it previously as OpenVPN seemed to do the job most of the time; the main motivation for the app was to enable iOS devices to connect.

DF
Understood. Thanks for clarifying. I was hoping to have a single VPN server and not having to manage two different VPN.

Re: Help with IPsec on Linux client

Posted: Mon Apr 23, 2012 8:42 am
by bigfoot65
There is an L2TP/IPsec version in the wiki that you can install manually. I use it on my Android phone with 2.3.5 and no issues. The Amahi version is not compatible of course with Android < 4.0 so that's why I came up with this version.

http://wiki.amahi.org/index.php/IPSEC/L2TP_VPN_Server