Ubuntu 上的 PPTP VPN 无法连接

Ubuntu 上的 PPTP VPN 无法连接

我正在尝试在 Linux(Kubuntu 9.10)下配置我已经在 Windows 中使用的 VPN。

我安装了 network-manager-pptp 包,并在网络管理器下添加了 VPN。这些是“高级”按钮下的参数:

  • 身份验证方法:PAP、CHAP、MSCHAP、MSCHAP2、EAP
    (我也尝试过“MSCHAP、MSCHAP2”)
  • 使用 MPPE 加密: 是
  • 加密:任意
  • 使用状态加密:否
  • 允许 BSD 压缩:是
  • 允许 Deflate 压缩:是
  • 允许 TCP 头压缩:是
  • 发送 PPP 回显数据包: 否

当我尝试连接时,它不起作用,这是我在系统日志中得到的内容:

2010-04-08 13:53:47 pcelena NetworkManager  <info>  Starting VPN service 'org.freedesktop.NetworkManager.pptp'...
2010-04-08 13:53:47 pcelena NetworkManager  <info>  VPN service 'org.freedesktop.NetworkManager.pptp' started (org.freedesktop.NetworkManager.pptp), PID 4931
2010-04-08 13:53:47 pcelena NetworkManager  <info>  VPN service 'org.freedesktop.NetworkManager.pptp' just appeared, activating connections
2010-04-08 13:53:47 pcelena pppd[4932]  Plugin /usr/lib/pppd/2.4.5//nm-pptp-pppd-plugin.so loaded.
2010-04-08 13:53:47 pcelena NetworkManager  <info>  VPN plugin state changed: 3
2010-04-08 13:53:47 pcelena pppd[4932]  pppd 2.4.5 started by root, uid 0
2010-04-08 13:53:47 pcelena NetworkManager  <info>  VPN connection 'MYVPN' (Connect) reply received.
2010-04-08 13:53:47 pcelena NetworkManager     SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
2010-04-08 13:53:47 pcelena NetworkManager     SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/ppp0, iface: ppp0): no ifupdown configuration found.
2010-04-08 13:53:47 pcelena pppd[4932]  Using interface ppp0
2010-04-08 13:53:47 pcelena pppd[4932]  Connect: ppp0 <--> /dev/pts/2
2010-04-08 13:53:47 pcelena pptp[4934]  nm-pptp-service-4931 log[main:pptp.c:314]: The synchronous pptp option is NOT activated
2010-04-08 13:53:47 pcelena pptp[4927]  nm-pptp-service-4918 log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7 'Outgoing-Call-Request'
2010-04-08 13:53:47 pcelena pptp[4927]  nm-pptp-service-4918 log[ctrlp_disp:pptp_ctrl.c:858]: Received Outgoing Call Reply.
2010-04-08 13:53:47 pcelena pptp[4927]  nm-pptp-service-4918 log[ctrlp_disp:pptp_ctrl.c:897]: Outgoing call established (call ID 1, peer's call ID 14800).
2010-04-08 13:53:48 pcelena pppd[4932]  CHAP authentication succeeded
2010-04-08 13:53:48 pcelena pppd[4932]  CHAP authentication succeeded
2010-04-08 13:53:48 pcelena pppd[4932]  LCP terminated by peer
2010-04-08 13:53:48 pcelena pptp[4927]  nm-pptp-service-4918 log[ctrlp_disp:pptp_ctrl.c:929]: Call disconnect notification received (call id 14800)
2010-04-08 13:53:48 pcelena pptp[4927]  nm-pptp-service-4918 log[ctrlp_disp:pptp_ctrl.c:788]: Received Stop Control Connection Request.
2010-04-08 13:53:48 pcelena pptp[4927]  nm-pptp-service-4918 log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 4 'Stop-Control-Connection-Reply'
2010-04-08 13:53:48 pcelena pptp[4927]  nm-pptp-service-4918 log[callmgr_main:pptp_callmgr.c:258]: Closing connection (shutdown)
2010-04-08 13:53:48 pcelena pptp[4927]  nm-pptp-service-4918 log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 12 'Call-Clear-Request'
2010-04-08 13:53:48 pcelena pptp[4927]  nm-pptp-service-4918 log[callmgr_main:pptp_callmgr.c:258]: Closing connection (shutdown)
2010-04-08 13:53:48 pcelena pptp[4927]  nm-pptp-service-4918 log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 12 'Call-Clear-Request'
2010-04-08 13:53:48 pcelena pptp[4927]  nm-pptp-service-4918 log[call_callback:pptp_callmgr.c:79]: Closing connection (call state)
2010-04-08 13:53:48 pcelena pppd[4932]  Modem hangup
2010-04-08 13:53:48 pcelena pppd[4932]  Connection terminated.
2010-04-08 13:53:48 pcelena NetworkManager  <info>  VPN plugin failed: 1
2010-04-08 13:53:48 pcelena NetworkManager     SCPlugin-Ifupdown: devices removed (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
2010-04-08 13:53:48 pcelena pppd[4932]  Exit.
2010-04-08 13:53:48 pcelena NetworkManager  <info>  VPN plugin failed: 1
2010-04-08 13:53:48 pcelena NetworkManager  <info>  VPN plugin state changed: 6
2010-04-08 13:53:48 pcelena NetworkManager  <info>  VPN plugin state change reason: 0
2010-04-08 13:53:48 pcelena NetworkManager  <WARN>  connection_state_changed(): Could not process the request because no VPN connection was active.
2010-04-08 13:53:48 pcelena NetworkManager  <info>  Policy set 'Auto eth0' (eth0) as default for routing and DNS.
2010-04-08 13:54:01 pcelena NetworkManager  <debug> [1270727641.001390] ensure_killed(): waiting for vpn service pid 4931 to exit
2010-04-08 13:54:01 pcelena NetworkManager  <debug> [1270727641.001479] ensure_killed(): vpn service pid 4931 cleaned up

这里突出的错误是“pppd[4932] LCP 由对等端终止“。

有人对可能存在的问题以及如何解决它有什么建议吗?

答案1

我遇到了几乎完全相同的问题,下面是我解决问题的方法:

我启用了 128 位加密,并启用了所有其他选项。

现在它可以工作了!:)

相关内容