Ubuntu 14.04에서 VPN 연결

Ubuntu 14.04에서 VPN 연결

따라서 문제는 기본적으로 Ubuntu 14.04에서 내 사무실 VPN에 연결하려는 시도가 실패한다는 것입니다.

특별한 설정은 없지만 PPTP에 대해 언급할 가치가 있습니다.

서버에 충분히 쉽게 핑을 보낼 수 있습니다. 더 쉽게 진단할 수 있도록 여기에 어떤 종류의 정보를 넣을 수 있을지 잘 모르겠지만 알려주세요.

출력은 다음과 같습니다.

Sep 29 17:24:27 pedri-home NetworkManager[912]: <info> Starting VPN service 'pptp'...
Sep 29 17:24:27 pedri-home NetworkManager[912]: <info> VPN service 'pptp' started (org.freedesktop.NetworkManager.pptp), PID 18760
Sep 29 17:24:27 pedri-home NetworkManager[912]: <info> VPN service 'pptp' appeared; activating connections
Sep 29 17:24:27 pedri-home NetworkManager[912]: <info> VPN plugin state changed: init (1)
Sep 29 17:24:27 pedri-home NetworkManager[912]: <info> VPN plugin state changed: starting (3)
Sep 29 17:24:27 pedri-home pppd[18764]: Plugin /usr/lib/pppd/2.4.5/nm-pptp-pppd-plugin.so loaded.
Sep 29 17:24:27 pedri-home NetworkManager[912]: <info> VPN connection 'Test2' (Connect) reply received.
Sep 29 17:24:27 pedri-home pppd[18764]: pppd 2.4.5 started by root, uid 0
Sep 29 17:24:27 pedri-home pppd[18764]: Using interface ppp0
Sep 29 17:24:27 pedri-home pppd[18764]: Connect: ppp0 <--> /dev/pts/26
Sep 29 17:24:27 pedri-home pptp[18767]: nm-pptp-service-18760 log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Sep 29 17:24:27 pedri-home NetworkManager[912]:    SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
Sep 29 17:24:27 pedri-home NetworkManager[912]:    SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/ppp0, iface: ppp0): no ifupdown configuration found.
Sep 29 17:24:27 pedri-home NetworkManager[912]: <warn> /sys/devices/virtual/net/ppp0: couldn't determine device driver; ignoring...
Sep 29 17:24:28 pedri-home pptp[18780]: nm-pptp-service-18760 log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 'Start-Control-Connection-Request'
Sep 29 17:24:29 pedri-home pptp[18780]: nm-pptp-service-18760 log[ctrlp_disp:pptp_ctrl.c:739]: Received Start Control Connection Reply
Sep 29 17:24:29 pedri-home pptp[18780]: nm-pptp-service-18760 log[ctrlp_disp:pptp_ctrl.c:773]: Client connection established.
Sep 29 17:24:29 pedri-home pptp[18780]: nm-pptp-service-18760 log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7 'Outgoing-Call-Request'
Sep 29 17:24:29 pedri-home pptp[18780]: nm-pptp-service-18760 log[ctrlp_disp:pptp_ctrl.c:858]: Received Outgoing Call Reply.
Sep 29 17:24:29 pedri-home pptp[18780]: nm-pptp-service-18760 log[ctrlp_disp:pptp_ctrl.c:897]: Outgoing call established (call ID 0, peer's call ID 150).
Sep 29 17:24:58 pedri-home pppd[18764]: LCP: timeout sending Config-Requests
Sep 29 17:24:58 pedri-home pppd[18764]: Connection terminated.
Sep 29 17:24:58 pedri-home NetworkManager[912]: <warn> VPN plugin failed: 1
Sep 29 17:24:58 pedri-home pppd[18764]: Modem hangup
Sep 29 17:24:58 pedri-home pptp[18767]: nm-pptp-service-18760 warn[decaps_hdlc:pptp_gre.c:204]: short read (-1): Input/output error
Sep 29 17:24:58 pedri-home pptp[18767]: nm-pptp-service-18760 warn[decaps_hdlc:pptp_gre.c:216]: pppd may have shutdown, see pppd log
Sep 29 17:24:58 pedri-home pppd[18764]: Exit.
Sep 29 17:24:58 pedri-home NetworkManager[912]: message repeated 2 times: [ <warn> VPN plugin failed: 1]
Sep 29 17:24:58 pedri-home NetworkManager[912]: <info> VPN plugin state changed: stopped (6)
Sep 29 17:24:58 pedri-home NetworkManager[912]: <info> VPN plugin state change reason: 0
Sep 29 17:24:58 pedri-home NetworkManager[912]: <info> Policy set 'Wired connection 1' (eth0) as default for IPv4 routing and DNS.
Sep 29 17:24:58 pedri-home pptp[18780]: nm-pptp-service-18760 log[callmgr_main:pptp_callmgr.c:234]: Closing connection (unhandled)
Sep 29 17:24:58 pedri-home pptp[18780]: nm-pptp-service-18760 log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 12 'Call-Clear-Request'
Sep 29 17:24:58 pedri-home pptp[18780]: nm-pptp-service-18760 log[call_callback:pptp_callmgr.c:79]: Closing connection (call state)
Sep 29 17:24:58 pedri-home NetworkManager[912]: <warn> error disconnecting VPN: Could not process the request because no VPN connection was active.
Sep 29 17:24:58 pedri-home NetworkManager[912]:    SCPlugin-Ifupdown: devices removed (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
Sep 29 17:25:03 pedri-home NetworkManager[912]: <info> VPN service 'pptp' disappeared

답변1

내 집 ADSL 연결을 통해 VPN을 설정하려고 할 때 비슷한 문제가 발생했습니다. 내가 어느 정도 성공한 것 중 하나는 PPPoE 연결의 MTU를 수동으로 변경하고 1432로 설정한 것입니다. 여전히 때때로 무작위로 떨어지지만 일부 작업을 수행할 수 있을 만큼 오래 유지됩니다...

관련 정보