Назад | Перейти на главную страницу

VPN-сервер Windows XP с клиентом Ubuntu

Я пытаюсь настроить VPN-соединение с сервером Windows XP со статическим общедоступным IP-адресом с моей машины Ubuntu. Используемый VPN - это стандартный встроенный в Windows PPTP.

У меня проблема при подключении. Вот клиентские логи:

Dec  4 21:42:52  NetworkManager[715]: <info> Starting VPN service 'pptp'...
Dec  4 21:42:52  NetworkManager[715]: <info> VPN service 'pptp' started (org.freedesktop.NetworkManager.pptp), PID 8948
Dec  4 21:42:52  NetworkManager[715]: <info> VPN service 'pptp' appeared; activating connections
Dec  4 21:42:56  NetworkManager[715]: <info> VPN plugin state changed: starting (3)
Dec  4 21:42:56  NetworkManager[715]: <info> VPN connection 'dinus network' (Connect) reply received.
Dec  4 21:42:56  pppd[8952]: Plugin /usr/lib/pppd/2.4.5/nm-pptp-pppd-plugin.so loaded.
Dec  4 21:42:56  pppd[8952]: pppd 2.4.5 started by root, uid 0
Dec  4 21:42:56  pppd[8952]: Using interface ppp0
Dec  4 21:42:56  pppd[8952]: Connect: ppp0 <--> /dev/pts/0
Dec  4 21:42:56  NetworkManager[715]:    SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
Dec  4 21:42:56  NetworkManager[715]:    SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/ppp0, iface: ppp0): no ifupdown configuration found.
Dec  4 21:42:56  NetworkManager[715]: <warn> /sys/devices/virtual/net/ppp0: couldn't determine device driver; ignoring...
Dec  4 21:42:56  pptp[8955]: nm-pptp-service-8948 log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Dec  4 21:42:56  pptp[8967]: nm-pptp-service-8948 log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 'Start-Control-Connection-Request'
Dec  4 21:42:56  pptp[8967]: nm-pptp-service-8948 log[ctrlp_disp:pptp_ctrl.c:739]: Received Start Control Connection Reply
Dec  4 21:42:56  pptp[8967]: nm-pptp-service-8948 log[ctrlp_disp:pptp_ctrl.c:773]: Client connection established.
Dec  4 21:42:57  pptp[8967]: nm-pptp-service-8948 log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7 'Outgoing-Call-Request'
Dec  4 21:42:57  pptp[8967]: nm-pptp-service-8948 log[ctrlp_disp:pptp_ctrl.c:858]: Received Outgoing Call Reply.
Dec  4 21:42:57  pptp[8967]: nm-pptp-service-8948 log[ctrlp_disp:pptp_ctrl.c:897]: Outgoing call established (call ID 0, peer's call ID 49183).
Dec  4 21:43:27  pppd[8952]: LCP: timeout sending Config-Requests
Dec  4 21:43:27  pppd[8952]: Connection terminated.
Dec  4 21:43:27  NetworkManager[715]: <warn> VPN plugin failed: 1
Dec  4 21:43:27  avahi-daemon[764]: Withdrawing workstation service for ppp0.
Dec  4 21:43:27  pppd[8952]: Modem hangup
Dec  4 21:43:27  pptp[8955]: nm-pptp-service-8948 warn[decaps_hdlc:pptp_gre.c:204]: short read (-1): Input/output error
Dec  4 21:43:27  pptp[8955]: nm-pptp-service-8948 warn[decaps_hdlc:pptp_gre.c:216]: pppd may have shutdown, see pppd log
Dec  4 21:43:27  pppd[8952]: Exit.
Dec  4 21:43:27  NetworkManager[715]:    SCPlugin-Ifupdown: devices removed (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
Dec  4 21:43:27  NetworkManager[715]: <warn> VPN plugin failed: 1
Dec  4 21:43:27  pptp[8967]: nm-pptp-service-8948 log[callmgr_main:pptp_callmgr.c:234]: Closing connection (unhandled)
Dec  4 21:43:27  pptp[8967]: nm-pptp-service-8948 log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 12 'Call-Clear-Request'
Dec  4 21:43:27  NetworkManager[715]: <warn> VPN plugin failed: 1
Dec  4 21:43:27  pptp[8967]: nm-pptp-service-8948 log[ctrlp_disp:pptp_ctrl.c:929]: Call disconnect notification received (call id 0)
Dec  4 21:43:27  pptp[8967]: nm-pptp-service-8948 log[ctrlp_error:pptp_ctrl.c:199]: Result code is 0 'Unknown Result Code'. Error code is 0, Cause code is 0
Dec  4 21:43:27  pptp[8967]: nm-pptp-service-8948 log[call_callback:pptp_callmgr.c:79]: Closing connection (call state)
Dec  4 21:43:27  NetworkManager[715]: <info> VPN plugin state changed: stopped (6)
Dec  4 21:43:27  NetworkManager[715]: <info> VPN plugin state change reason: 0
Dec  4 21:43:27  NetworkManager[715]: <info> Policy set 'Energy' (wlan0) as default for IPv4 routing and DNS.
Dec  4 21:43:27  NetworkManager[715]: <warn> error disconnecting VPN: Could not process the request because no VPN connection was active.
Dec  4 21:43:33  NetworkManager[715]: <info> VPN service 'pptp' disappeared

Некоторый поиск сделал предположение, что что-то не так с доставкой пакетов GRE на сервер. У меня есть возможность изменить настройки сервера и, очевидно, настройки клиента. Можно ли исправить без поддержки сервера интернет-провайдера? Я также могу использовать другое программное обеспечение для VPN-серверов. Но что можно использовать в таких условиях? Могу ли я добиться успеха с OpenVPN?