[FUG-BR] Problemas com pptpclient

Marcello Barreto marcellobm em gmail.com
Quarta Fevereiro 25 23:27:03 BRT 2009


Olá pessoal,
	tenho o freebsd 7 instalado e estou precisando conectar numa VPN PPTP, rodando num server linux (Debian etch + poptop). Quando vou executar tenho este problema (Instalação correu sem nenhum problema):

[root em musashi /var/log]# tail /usr/ports/net/pptpclient/distinfo 
MD5 (pptp-1.7.2.tar.gz) = 4c3d19286a37459a632c7128c92a9857
SHA256 (pptp-1.7.2.tar.gz) = e98ae0065d2a39fa3131654ff28cb7070e996f668ed6d0e7d9a445b8d37694bc
SIZE (pptp-1.7.2.tar.gz) = 81113

[root em musashi /usr/home/marcellobm]# /usr/local/sbin/pptp <ip_server> JPA
/bin/ip: not found
/bin/ip: not found
Loading /lib/libalias_cuseeme.so
Loading /lib/libalias_ftp.so
Loading /lib/libalias_irc.so
Loading /lib/libalias_nbt.so
Loading /lib/libalias_pptp.so
Loading /lib/libalias_skinny.so
Loading /lib/libalias_smedia.so

	Segue abaixo minha conf:
[root em musashi /usr/home/marcellobm]# cat /etc/ppp/ppp.conf
JPA:
 set authname <meu_user>
 set authkey <senha>
 set timeout 0
 set ifaddr 0 0
 add 192.168.199.0/24 HISADDR
 alias enable yes

	Noto que a interface tun chega a aparecer no ifconfig, bem como no server, porém não é possível pingar nenhuma das direções.
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> metric 0 mtu 1500
	inet 192.168.199.2 --> 192.168.199.1 netmask 0xffffffff 
	Opened by PID 8514


	Abaixo segue dois trechos de log.
[root em musashi /var/log]# tail -n20 messages
Feb 25 18:45:25 musashi pptp[8514]: anon log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Feb 25 18:45:25 musashi pptp[8522]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 'Start-Control-Connection-Request'
Feb 25 18:45:25 musashi pptp[8522]: anon log[ctrlp_disp:pptp_ctrl.c:739]: Received Start Control Connection Reply
Feb 25 18:45:25 musashi pptp[8522]: anon log[ctrlp_disp:pptp_ctrl.c:773]: Client connection established.
Feb 25 18:45:26 musashi pptp[8522]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7 'Outgoing-Call-Request'
Feb 25 18:45:26 musashi pptp[8522]: anon log[ctrlp_disp:pptp_ctrl.c:858]: Received Outgoing Call Reply.
Feb 25 18:45:26 musashi pptp[8522]: anon log[ctrlp_disp:pptp_ctrl.c:897]: Outgoing call established (call ID 0, peer's call ID 40576).
Feb 25 18:45:29 musashi ppp[8514]: Warning: ff02:3::/32: Change route failed: errno: Network is unreachable
Feb 25 18:45:29 musashi ppp[8514]: Warning: ff02:3::/32: Change route failed: errno: Network is unreachable
Feb 25 18:45:49 musashi sudo: marcellobm : TTY=ttyp4 ; PWD=/usr/home/marcellobm ; USER=root ; COMMAND=/usr/local/bin/bash
Feb 25 18:46:26 musashi pptp[8522]: anon log[logecho:pptp_ctrl.c:677]: Echo Reply received.
Feb 25 18:47:26 musashi pptp[8522]: anon log[logecho:pptp_ctrl.c:677]: Echo Reply received.
Feb 25 18:49:26 musashi last message repeated 2 times
Feb 25 18:55:26 musashi last message repeated 6 times
Feb 25 18:55:26 musashi pptp[8522]: anon log[logecho:pptp_ctrl.c:679]: no more Echo Reply/Request packets will be reported.
Feb 25 20:41:01 musashi pptp[8525]: anon log[decaps_gre:pptp_gre.c:414]: buffering packet 448 (expecting 447, lost or reordered)
Feb 25 20:49:31 musashi pptp[8525]: anon log[decaps_gre:pptp_gre.c:414]: buffering packet 465 (expecting 464, lost or reordered)
Feb 25 20:52:01 musashi pptp[8525]: anon log[decaps_gre:pptp_gre.c:414]: buffering packet 470 (expecting 469, lost or reordered)
Feb 25 20:57:01 musashi pptp[8525]: anon log[decaps_gre:pptp_gre.c:414]: buffering packet 480 (expecting 479, lost or reordered)
Feb 25 20:59:31 musashi pptp[8525]: anon log[decaps_gre:pptp_gre.c:414]: buffering packet 485 (expecting 484, lost or reordered)

[root em musashi /var/log]# tail -n20 ppp.log 
Feb 25 18:45:26 musashi ppp[8514]: Phase: Using interface: tun0
Feb 25 18:45:26 musashi ppp[8514]: Phase: deflink: Created in closed state
Feb 25 18:45:26 musashi ppp[8514]: Phase: PPP Started (direct mode).
Feb 25 18:45:26 musashi ppp[8514]: Phase: bundle: Establish
Feb 25 18:45:26 musashi ppp[8514]: Phase: deflink: closed -> opening
Feb 25 18:45:26 musashi ppp[8514]: Phase: deflink: Connected!
Feb 25 18:45:26 musashi ppp[8514]: Phase: deflink: opening -> carrier
Feb 25 18:45:27 musashi ppp[8514]: Phase: deflink: carrier -> lcp
Feb 25 18:45:29 musashi ppp[8514]: Phase: bundle: Authenticate
Feb 25 18:45:29 musashi ppp[8514]: Phase: deflink: his = CHAP 0x05, mine = none
Feb 25 18:45:29 musashi ppp[8514]: Phase: Chap Input: CHALLENGE (19 bytes from pptpd)
Feb 25 18:45:29 musashi ppp[8514]: Phase: Chap Output: RESPONSE (marcellobm)
Feb 25 18:45:29 musashi ppp[8514]: Phase: Chap Input: SUCCESS (Access granted)
Feb 25 18:45:29 musashi ppp[8514]: Phase: deflink: lcp -> open
Feb 25 18:45:29 musashi ppp[8514]: Phase: bundle: Network
Feb 25 18:45:29 musashi ppp[8514]: Phase: deflink: IPV6CP protocol reject closes IPV6CP !
Feb 25 18:45:29 musashi ppp[8514]: Warning: ff02:3::/32: Change route failed: errno: Network is unreachable
Feb 25 18:45:29 musashi ppp[8514]: Warning: ff02:3::/32: Change route failed: errno: Network is unreachable
Feb 25 18:45:29 musashi ppp[8514]: Phase: deflink: IPV6CP protocol reject closes IPV6CP !
Feb 25 18:45:41 musashi last message repeated 4 times


Mais detalhes sobre a lista de discussão freebsd