Obviously, L2TP is a more reliable and more secured VPN protocol than PPTP. And for people who wish to set up a L2TP VPN for themselves, the choice of virtualisation is usually limited to Xen and KVM, due to OpenVZ's limitations.
As we all know, a standard implement of L2TP relies on IPSEC server, which is mostly unsupported by OpenVZ — even on kernel 2.6.32:
[root@test ~]# uname -r
2.6.32-042stab074.10
[root@test ~]# ipsec verify
Checking your system to see if IPsec got installed and started correctly:
Version check and ipsec on-path [OK]
Linux Openswan U2.6.24/K(no kernel code presently loaded)
Checking for IPsec support in kernel [FAILED]
...
So I was thinking if there's an alternative implement for L2TP inside an OpenVZ container? For example, use racoon instead of openswan (unlikely going to work), or use an alternative security achieve other than IPSEC?
(Surely we can use OpenVPN with TUN/TAP, but L2TP is much easier to set up on a normal device.)
I know it is virtually impossible, but still wish someone to have an ultimate solution.