VPN no Ubuntu falha toda vez

2

Estou tentando configurar uma conexão vpn no Ubuntu 10.04 para usar o serviço do relakks.com

Eu usei o gerenciador de rede para adicionar a conexão vpn e as configurações são:

Gateway: pptp.relakks.com
Username: user
Password: pwd

IPv4 Settings: Automatic (VPN)

Advanced:

MSCHAP & MSCHAPv2 checked

Use point-to-point encryption (security:default)
Allow BSD data compression checked
Allow deflate data compression checked
Use TCP header compression checked

A conexão sempre falha, aqui está o syslog:

Jun 27 20:11:56 desktop NetworkManager: <info>  Starting VPN service 'org.freedesktop.NetworkManager.pptp'...
Jun 27 20:11:56 desktop NetworkManager: <info>  VPN service 'org.freedesktop.NetworkManager.pptp' started (org.freedesktop.NetworkManager.pptp), PID 2064
Jun 27 20:11:56 desktop NetworkManager: <info>  VPN service 'org.freedesktop.NetworkManager.pptp' just appeared, activating connections
Jun 27 20:11:56 desktop NetworkManager: <info>  VPN plugin state changed: 3
Jun 27 20:11:56 desktop NetworkManager: <info>  VPN connection 'Relakks' (Connect) reply received.
Jun 27 20:11:56 desktop pppd[2067]: Plugin /usr/lib/pppd/2.4.5//nm-pptp-pppd-plugin.so loaded.
Jun 27 20:11:56 desktop pppd[2067]: pppd 2.4.5 started by root, uid 0
Jun 27 20:11:56 desktop NetworkManager:    SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/ppp1, iface: ppp1)
Jun 27 20:11:56 desktop NetworkManager:    SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/ppp1, iface: ppp1): no ifupdown configuration found.
Jun 27 20:11:56 desktop pppd[2067]: Using interface ppp1
Jun 27 20:11:56 desktop pppd[2067]: Connect: ppp1 <--> /dev/pts/0
Jun 27 20:11:56 desktop pptp[2071]: nm-pptp-service-2064 log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Jun 27 20:11:57 desktop pptp[2079]: nm-pptp-service-2064 log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 'Start-Control-Connection-Request'
Jun 27 20:11:58 desktop pptp[2079]: nm-pptp-service-2064 log[ctrlp_disp:pptp_ctrl.c:739]: Received Start Control Connection Reply
Jun 27 20:11:58 desktop pptp[2079]: nm-pptp-service-2064 log[ctrlp_disp:pptp_ctrl.c:773]: Client connection established.
Jun 27 20:11:58 desktop pptp[2079]: nm-pptp-service-2064 log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7 'Outgoing-Call-Request'
Jun 27 20:11:59 desktop pptp[2079]: nm-pptp-service-2064 log[ctrlp_disp:pptp_ctrl.c:858]: Received Outgoing Call Reply.
Jun 27 20:11:59 desktop pptp[2079]: nm-pptp-service-2064 log[ctrlp_disp:pptp_ctrl.c:897]: Outgoing call established (call ID 0, peer's call ID 1024).
Jun 27 20:11:59 desktop kernel: [   56.564074] Inbound IN=ppp0 OUT= MAC= SRC=93.182.139.2 DST=186.110.76.26 LEN=61 TOS=0x00 PREC=0x00 TTL=52 ID=40460 DF PROTO=47 
Jun 27 20:11:59 desktop kernel: [   56.944054] Inbound IN=ppp0 OUT= MAC= SRC=93.182.139.2 DST=186.110.76.26 LEN=60 TOS=0x00 PREC=0x00 TTL=52 ID=40461 DF PROTO=47 
Jun 27 20:11:59 desktop pptp[2079]: nm-pptp-service-2064 log[pptp_read_some:pptp_ctrl.c:544]: read returned zero, peer has closed
Jun 27 20:11:59 desktop pptp[2079]: nm-pptp-service-2064 log[callmgr_main:pptp_callmgr.c:258]: Closing connection (shutdown)
Jun 27 20:11:59 desktop pptp[2079]: nm-pptp-service-2064 log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 12 'Call-Clear-Request'
Jun 27 20:11:59 desktop pptp[2079]: nm-pptp-service-2064 log[pptp_read_some:pptp_ctrl.c:544]: read returned zero, peer has closed
Jun 27 20:11:59 desktop pptp[2079]: nm-pptp-service-2064 log[call_callback:pptp_callmgr.c:79]: Closing connection (call state)
Jun 27 20:11:59 desktop pppd[2067]: Modem hangup
Jun 27 20:11:59 desktop pppd[2067]: Connection terminated.
Jun 27 20:11:59 desktop NetworkManager: <info>  VPN plugin failed: 1
Jun 27 20:11:59 desktop NetworkManager:    SCPlugin-Ifupdown: devices removed (path: /sys/devices/virtual/net/ppp1, iface: ppp1)
Jun 27 20:11:59 desktop pppd[2067]: Exit.

Alguém pode identificar algo no syslog? Estive pesquisando e lendo sobre pptp mas não consegui encontrar nada sobre o erro "read returned zero, peer has closed"

    
por fazpas 28.06.2010 / 01:40

1 resposta

2

Eu tive os mesmos problemas. Isso provavelmente ajudará:

link

    
por 10.11.2010 / 21:12