I need to connect to a L2TP IPsec VPN using Ubuntu 14.10. I previously used L2TP IPsec VPN Manager 1.0.9 from Werner Jaeger in Ubuntu 14.04, and it worked great, but that no longer appears to be supported in 14.10. I have xl2tpd installed. I no longer see the option to add a L2TP Ipsec VPN connection under the VPN Connections menu in Network Connections. Any help or guidance is appreciated.
The lt2p-ipsec-vpn package was deprecated along with OpenSwan. Ubuntu has replaced OpenSwan with StrongSwan, which is available in the
main, along with a corresponding network manager plugin in
apt-get install strongswan network-manager-strongswan
StrongSwan should work with xl2tpd
I know it's a best practice to paste the actual scripts but it's quite a bit. And honestly a link here would have saved me some trouble so hopefully someone finds this useful...
Maybe after I'm done I'll share the final script.
A few implementation notes
- I had to remove the
lockkeyword from /etc/ppp/options.l2tpd.client
- Username and password should be specified when
rightsubnet=0.0.0.0/0was added to the connection in /etc/ipsec.conf even though mine was a site-to-site VPN
ip linklists your devices. There should be a
pppNin the list where N is a number from
- For site-to-site I used the following to add a new route...
ip route add 192.168.192.0/24 dev ppp0
protected by Community♦ Jun 13 '16 at 10:06
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?