pptpclient problem

Gunter Wambaugh unixgeek at six-two.net
Sat Sep 10 11:55:39 PDT 2005


I am having trouble connecting to my work VPN from my freebsd box.  I  
seem to be authenticating okay, but I can't ping/ssh any of the boxes  
at work using hostnames or ips.  I have been able to connect from by  
ibook (Running OSX Tiger), so I am confident that its not a router/ 
firewall or credentials issue.  Could someone please, please throw me  
a bone?  My Gentoo friends are starting to laugh at me because they  
got it working with "no problems".  The VPN server is using MPPE and  
MPPC.

My ppp.conf with some changes to protect the lame:
WORK:
set authname gwambau
set authkey SNIPPED
set timeout 0
set ifaddr 0 0
add 192.168.2.0/24 HISADDR
alias enable yes
disable ipv6cp

pptp WORK.COM WORK

ifconfig:
tun1: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
         inet 192.168.2.230 --> 192.168.2.6 netmask 0xffffffff

leLast login: Thu Sep  8 20:45:21 on ttyp2
Welcome to Darwin!
s$ ssh isengard.six-two.net less pptp.txt
Enter passphrase for key '/Users/gunter/.ssh/id_dsa':
[ppp.conf]
lifeway:
set authname gwambau
set authkey SNIPPED
set timeout 0
set ifaddr 0 0
add 192.168.2.0/24 HISADDR
alias enable yes
disable ipv6cp

[pptp]
pptp WORK.COM WORK

[ifconfig]
tun1: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
         inet 192.168.2.230 --> 192.168.2.6 netmask 0xffffffff

[daemon.log]
Sep 10 11:50:18 isengard pptp[929]: anon log[main:pptp.c:243]: The  
synchronous pptp option is NOT activated
Sep 10 11:50:18 isengard pptp[932]: anon log[ctrlp_rep:pptp_ctrl.c: 
243]: Sent control packet type is 1 'Start-Control-Connection-Request'
Sep 10 11:50:18 isengard pptp[932]: anon log[ctrlp_disp:pptp_ctrl.c: 
721]: Received Start Control Connection Reply
Sep 10 11:50:18 isengard pptp[932]: anon log[ctrlp_disp:pptp_ctrl.c: 
755]: Client connection established.
Sep 10 11:50:19 isengard pptp[932]: anon log[ctrlp_rep:pptp_ctrl.c: 
243]: Sent control packet type is 7 'Outgoing-Call-Request'
Sep 10 11:50:19 isengard pptp[932]: anon log[ctrlp_disp:pptp_ctrl.c: 
841]: Received Outgoing Call Reply.
Sep 10 11:50:19 isengard pptp[932]: anon log[ctrlp_disp:pptp_ctrl.c: 
880]: Outgoing call established (call ID 0, peer's call ID 19).
Sep 10 11:50:20 isengard ppp[929]: Phase: Using interface: tun1
Sep 10 11:50:20 isengard ppp[929]: Phase: deflink: Created in closed  
state
Sep 10 11:50:20 isengard ppp[929]: Warning: The alias command is  
deprecated
Sep 10 11:50:20 isengard ppp[929]: Phase: PPP Started (direct mode).
Sep 10 11:50:20 isengard ppp[929]: Phase: bundle: Establish
Sep 10 11:50:20 isengard ppp[929]: Phase: deflink: closed -> opening
Sep 10 11:50:20 isengard ppp[929]: Phase: deflink: Connected!
Sep 10 11:50:20 isengard ppp[929]: Phase: deflink: opening -> carrier
Sep 10 11:50:21 isengard ppp[929]: Phase: deflink: carrier -> lcp
Sep 10 11:50:22 isengard pptp[933]: anon log[decaps_gre:pptp_gre.c: 
395]: discarding duplicate or old packet 1 (expecting 3)
Sep 10 11:50:25 isengard ppp[929]: Phase: bundle: Authenticate
Sep 10 11:50:25 isengard ppp[929]: Phase: deflink: his = CHAP 0x81,  
mine = none
Sep 10 11:50:25 isengard ppp[929]: Phase: Chap Input: CHALLENGE (16  
bytes from watchguard)
Sep 10 11:50:25 isengard ppp[929]: Phase: Chap Output: RESPONSE  
(gwambau)
Sep 10 11:50:26 isengard ppp[929]: Phase: Chap Input: SUCCESS  
(S=C8136D3178689C6C3AA34D5FCE2EA8344262A4EF)
Sep 10 11:50:26 isengard ppp[929]: Phase: deflink: lcp -> open
Sep 10 11:50:26 isengard ppp[929]: Phase: bundle: Network
Sep 10 11:50:27 isengard pptp[933]: anon log[decaps_gre:pptp_gre.c: 
404]: buffering packet 9 (expecting 8, lost or reordered)
Sep 10 11:50:27 isengard ppp[929]: Warning: ff02:5::/32: Change route  
failed: errno: Network is unreachable
Sep 10 11:50:27 isengard ppp[929]: Warning: ff02:5::/32: Change route  
failed: errno: Network is unreachable
Sep 10 11:51:19 isengard pptp[932]: anon log[ctrlp_rep:pptp_ctrl.c: 
243]: Sent control packet type is 5 'Echo-Request'
Sep 10 11:51:19 isengard pptp[932]: anon log[logecho:pptp_ctrl.c: 
659]: Echo Reply received.
Sep 10 11:51:38 isengard ppp[929]: Phase: Caught signal 2, abort  
connection(s)
Sep 10 11:51:38 isengard ppp[929]: Phase: deflink: open -> lcp
Sep 10 11:51:38 isengard pptp[932]: anon log 
[callmgr_main:pptp_callmgr.c:249]: Closing connection
Sep 10 11:51:38 isengard pptp[932]: anon log[ctrlp_rep:pptp_ctrl.c: 
243]: Sent control packet type is 12 'Call-Clear-Request'
Sep 10 11:51:38 isengard ppp[929]: Warning: ff02:5::/32: Change route  
failed: errno: Network is unreachable
Sep 10 11:51:38 isengard ppp[929]: Phase: bundle: Terminate
Sep 10 11:51:38 isengard ppp[929]: Phase: deflink: Disconnected!
Sep 10 11:51:38 isengard ppp[929]: Phase: deflink: Connect time: 78  
secs: 440 octets in, 479 octets out
Sep 10 11:51:38 isengard ppp[929]: Phase: deflink: 11 packets in, 13  
packets out
Sep 10 11:51:38 isengard ppp[929]: Phase:  total 11 bytes/sec, peak  
151 bytes/sec on Sat Sep 10 11:50:28 2005
Sep 10 11:51:38 isengard ppp[929]: Phase: deflink: lcp -> closed
Sep 10 11:51:38 isengard ppp[929]: Phase: bundle: Dead
Sep 10 11:51:38 isengard ppp[929]: Phase: Signal 15, terminate.
Sep 10 11:51:38 isengard ppp[929]: Phase: PPP Terminated (normal).
Sep 10 11:51:38 isengard pptp[933]: anon warn[decaps_hdlc:pptp_gre.c: 
197]: short read (0): Invalid argument
Sep 10 11:51:42 isengard pptp[932]: anon log[ctrlp_rep:pptp_ctrl.c: 
243]: Sent control packet type is 12 'Call-Clear-Request'
Sep 10 11:51:42 isengard pptp[932]: anon log 
[pptp_conn_close:pptp_ctrl.c:425]: Closing PPTP connection
Sep 10 11:51:42 isengard pptp[932]: anon log[ctrlp_rep:pptp_ctrl.c: 
243]: Sent control packet type is 3 'Stop-Control-Connection-Request'
Sep 10 11:51:46 isengard pptp[932]: anon log 
[call_callback:pptp_callmgr.c:77]: Closing connection

$ ssh isengard.six-two.net cat pptp.txt | less

Sep 10 11:50:18 isengard pptp[929]: anon log[main:pptp.c:243]: The  
synchronous pptp option is NOT activated
Sep 10 11:50:18 isengard pptp[932]: anon log[ctrlp_rep:pptp_ctrl.c: 
243]: Sent control packet type is 1 'Start-Control-Connection-Request'
Sep 10 11:50:18 isengard pptp[932]: anon log[ctrlp_disp:pptp_ctrl.c: 
721]: Received Start Control Connection Reply
Sep 10 11:50:18 isengard pptp[932]: anon log[ctrlp_disp:pptp_ctrl.c: 
755]: Client connection established.
Sep 10 11:50:19 isengard pptp[932]: anon log[ctrlp_rep:pptp_ctrl.c: 
243]: Sent control packet type is 7 'Outgoing-Call-Request'
Sep 10 11:50:19 isengard pptp[932]: anon log[ctrlp_disp:pptp_ctrl.c: 
841]: Received Outgoing Call Reply.
Sep 10 11:50:19 isengard pptp[932]: anon log[ctrlp_disp:pptp_ctrl.c: 
880]: Outgoing call established (call ID 0, peer's call ID 19).
Sep 10 11:50:20 isengard ppp[929]: Phase: Using interface: tun1
Sep 10 11:50:20 isengard ppp[929]: Phase: deflink: Created in closed  
state
Sep 10 11:50:20 isengard ppp[929]: Warning: The alias command is  
deprecated
Sep 10 11:50:20 isengard ppp[929]: Phase: PPP Started (direct mode).
Sep 10 11:50:20 isengard ppp[929]: Phase: bundle: Establish
Sep 10 11:50:20 isengard ppp[929]: Phase: deflink: closed -> opening
Sep 10 11:50:20 isengard ppp[929]: Phase: deflink: Connected!
Sep 10 11:50:20 isengard ppp[929]: Phase: deflink: opening -> carrier
Sep 10 11:50:21 isengard ppp[929]: Phase: deflink: carrier -> lcp
Sep 10 11:50:22 isengard pptp[933]: anon log[decaps_gre:pptp_gre.c: 
395]: discarding duplicate or old packet 1 (expecting 3)
Sep 10 11:50:25 isengard ppp[929]: Phase: bundle: Authenticate
Sep 10 11:50:25 isengard ppp[929]: Phase: deflink: his = CHAP 0x81,  
mine = none
Sep 10 11:50:25 isengard ppp[929]: Phase: Chap Input: CHALLENGE (16  
bytes from watchguard)
Sep 10 11:50:25 isengard ppp[929]: Phase: Chap Output: RESPONSE  
(gwambau)
Sep 10 11:50:26 isengard ppp[929]: Phase: Chap Input: SUCCESS  
(S=C8136D3178689C6C3AA34D5FCE2EA8344262A4EF)
Sep 10 11:50:26 isengard ppp[929]: Phase: deflink: lcp -> open
Sep 10 11:50:26 isengard ppp[929]: Phase: bundle: Network
Sep 10 11:50:27 isengard pptp[933]: anon log[decaps_gre:pptp_gre.c: 
404]: buffering packet 9 (expecting 8, lost or reordered)
Sep 10 11:50:27 isengard ppp[929]: Warning: ff02:5::/32: Change route  
failed: errno: Network is unreachable
Sep 10 11:50:27 isengard ppp[929]: Warning: ff02:5::/32: Change route  
failed: errno: Network is unreachable
Sep 10 11:51:19 isengard pptp[932]: anon log[ctrlp_rep:pptp_ctrl.c: 
243]: Sent control packet type is 5 'Echo-Request'
Sep 10 11:51:19 isengard pptp[932]: anon log[logecho:pptp_ctrl.c: 
659]: Echo Reply received.
Sep 10 11:51:38 isengard ppp[929]: Phase: Caught signal 2, abort  
connection(s)
Sep 10 11:51:38 isengard ppp[929]: Phase: deflink: open -> lcp
Sep 10 11:51:38 isengard pptp[932]: anon log 
[callmgr_main:pptp_callmgr.c:249]: Closing connection
Sep 10 11:51:38 isengard pptp[932]: anon log[ctrlp_rep:pptp_ctrl.c: 
243]: Sent control packet type is 12 'Call-Clear-Request'
Sep 10 11:51:38 isengard ppp[929]: Warning: ff02:5::/32: Change route  
failed: errno: Network is unreachable
Sep 10 11:51:38 isengard ppp[929]: Phase: bundle: Terminate
Sep 10 11:51:38 isengard ppp[929]: Phase: deflink: Disconnected!
Sep 10 11:51:38 isengard ppp[929]: Phase: deflink: Connect time: 78  
secs: 440 octets in, 479 octets out
Sep 10 11:51:38 isengard ppp[929]: Phase: deflink: 11 packets in, 13  
packets out
Sep 10 11:51:38 isengard ppp[929]: Phase:  total 11 bytes/sec, peak  
151 bytes/sec on Sat Sep 10 11:50:28 2005
Sep 10 11:51:38 isengard ppp[929]: Phase: deflink: lcp -> closed
Sep 10 11:51:38 isengard ppp[929]: Phase: bundle: Dead
Sep 10 11:51:38 isengard ppp[929]: Phase: Signal 15, terminate.
Sep 10 11:51:38 isengard ppp[929]: Phase: PPP Terminated (normal).
:


More information about the freebsd-questions mailing list