客户端无法连接到Ubuntu 12.04和14.04 LTS上的L2TP服务器

我正尝试在AWS上搭build一个运行Ubuntu 14.04LTS的实例的L2TP / IPSec服务器。 我遵循我在这里find的说明: https : //raymii.org/s/tags/vpn.html 。

我试图使用12.04LTS和14.04LTS安装VPN服务器,但都给了我Windows客户端上的错误789。

Error: 789 "The L2TP connection attempt failed because the security layer encountered a processing error during initial negotiations with the remote computer" 

任何人都可以给我一些想法或build议我能做些什么来解决这个问题? 除了Openswan有没有更好的应用程序? 谢谢。

对于Windows用户,registry更改需要能够连接到NAT后面的IPsec / L2TP VPN(例如在EC2中)。 请按照这些说明 。 向下滚动到底部可以查看Windows XP以及Vista,7和Server 2008的单独步骤。