I have been struggling with setting up an IPSEC/L2TP based VPN for a couple of days, and I'm leaning towards that it's broken upstream. After running
sudo apt-get install l2tp-ipsec-vpn, the
ipsec verify command shows the following output:
Checking your system to see if IPsec got installed and started correctly:
Version check and ipsec on-path [OK]
Linux Openswan U2.6.38/K(no kernel code presently loaded)
Checking for IPsec support in kernel [FAILED]
SAref kernel support [N/A]
Checking that pluto is running [FAILED]
whack: Pluto is not running (no "/var/run/pluto/pluto.ctl")
Checking for 'ip' command [OK]
Checking /bin/sh is not /bin/dash [WARNING]
Checking for 'iptables' command [OK]
Opportunistic Encryption Support [DISABLED]
After running "sudo service ipsec start", this is what "sudo service ipsec status" outputs:
IPsec stopped but... has /var/run/pluto/ipsec.info file!
My guess so far is that ipsec/openswan somehow expects to find pluto in another location and thus is unable to start it. I can start pluto manually with
/usr/lib/ipsec/pluto --stderrlog, but for some reason ipsec can't seem to start it.
Has anyone succeeded in setting up an ipsec/l2tp vpn in Freya, and in that case, what did you do to make it work?