Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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'm trying to connect to a VPN service over L2TP using Karmic as a client and it's not working.

The only details I have are the remote IP address, username & password, and a shared secret string; this is enough for Windows but doesn't appear to be enough for Ubuntu.

I've tried using network-manager-vpnc and vpnc from the terminal to connect and I get "no supported authentication", and trying with OpenSwan it says "unable to identify either side of the connection".

I'd really appreciate some help here if anyone else has implemented this successfully.

share|improve this question
This is pretty much a duplicate except that is the following is for Jaunty: . I'm not going to vote for close though because I am hopeful there have maybe been some new developments in this. – Kyle Brandt Mar 14 '10 at 14:16
Can you post the actual error log – topdog Sep 21 '12 at 4:20

Good luck.

IPSEC+L2TP is a beast to get working. The last resort first: this guide is fairly exhaustive.

If you're comfortable compiling things and moving libraries around, you can try my NetworkManager plugin which works at least with SonicWall's GroupVPN when set reasonably Windows+Mac compatible.

share|improve this answer

Why dont you just try and use an ssh tunnel to imitate a VPN, Heres a guide: .

share|improve this answer
I don't have SSH access to that server (or a server in that location). Thanks for the answer though, I really appreciate it after so long. – James L Dec 16 '10 at 11:34

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.