[lug] pptp client problems

D. Stimits stimits at idcomm.com
Sat Jan 26 16:45:57 MST 2002


dan radom wrote:
> 
> I'm trying to setup pptp to connect to my employers corporate vpn.  I'm fairly close.  I know the connection works through the iptables firewall, as windows running under vmware mac bridging works.  Here's where I'm at on the unix side.  The client system is NetBSD-1.5.2 i386.
> 
> pluto:/etc/ppp$ cat /etc/ppp/options
> debug
> lcp-echo-interval 10
> lcp-echo-failure 6
> noipdefault
> 
> I've tried this with and without the noipdefault and lcp options...
> 
> pluto:/etc/ppp$ cat /etc/ppp/chap-secrets

I know almost nothing about NetBSD, but do you have pap-secrets as well?
Not many systems actually use CHAP, a LOT use PAP. Try copying
/etc/ppp/chap-secrets to /etc/ppp/pap-secrets if you do not have
pap-secrets.

D. Stimits, stimits at idcomm.com

> # client        server                  secret                  IP addresses
> username          vpn1.company.com        secretpassword
> 
> I'm fairly certain that the chap-secrets is correct...
> 
> my command line pptp stuff...
> 
> pptp vpn1.company.com debug mtu 576 mru 576 noauth name username remotename vpn1.company.com
> 
> I've tried this with and without the mtu/mrt and noauth options
> 
> And finally the pptp and ppp debugs...
> 
> Jan 26 12:44:31 pluto pptp[9530]: log[main:pptp.c:74]: using remote IP address 155.53.1.13
> Jan 26 12:44:31 pluto pptp[9532]: log[pptp_conn_open:pptp_ctrl.c:162]: sending start ctrl conn rqst
> Jan 26 12:44:31 pluto pptp[9532]: log[pptp_dispatch_ctrl_packet:pptp_ctrl.c:535]: received start conn reply: v256 rcode 1 ecode 0 fcap 2 bcap 3 chans 0 fw 870 host `' vendor `Microsoft Windows NT'
> Jan 26 12:44:31 pluto pptp[9532]: log[pptp_dispatch_ctrl_packet:pptp_ctrl.c:558]: Client connection established.
> Jan 26 12:44:32 pluto pptp[9532]: log[pptp_call_open:pptp_ctrl.c:215]: sending out call rqst
> Jan 26 12:44:32 pluto pptp[9532]: log[pptp_dispatch_ctrl_packet:pptp_ctrl.c:689]: received out call reply: id 43d3 peer 0 result 1 err 0 cause 0 speed 14808325 rsize 16384 delay 0 channel 0
> Jan 26 12:44:32 pluto pptp[9532]: log[pptp_dispatch_ctrl_packet:pptp_ctrl.c:715]: Outgoing call established: cid 17363 @ 14808325 bps.
> Jan 26 12:44:32 pluto pppd[9534]: pppd 2.4.0 started by graffix, uid 0
> Jan 26 12:44:32 pluto pppd[9534]: Using interface ppp0
> Jan 26 12:44:32 pluto pppd[9534]: Connect: ppp0 <--> /dev/ttyp2
> Jan 26 12:44:36 pluto pptp[9532]: log[pptp_dispatch_ctrl_packet:pptp_ctrl.c:778]: received set link info: peer 0 res 0 send 0 recv ffffffff
> Jan 26 12:44:36 pluto pptp[9532]: log[pptp_dispatch_ctrl_packet:pptp_ctrl.c:783]: PPTP_SET_LINK_INFO recieved from peer_callid 0
> Jan 26 12:44:36 pluto pptp[9532]: log[pptp_dispatch_ctrl_packet:pptp_ctrl.c:786]:   send_accm is 00000000, recv_accm is FFFFFFFF
> Jan 26 12:44:36 pluto pptp[9532]: log[pptp_dispatch_ctrl_packet:pptp_ctrl.c:778]: received set link info: peer 0 res 0 send ffffffff recv ffffffff
> Jan 26 12:44:36 pluto pptp[9532]: log[pptp_dispatch_ctrl_packet:pptp_ctrl.c:783]: PPTP_SET_LINK_INFO recieved from peer_callid 0
> Jan 26 12:44:36 pluto pppd[9534]: LCP terminated by peer (yM->^U?^@<M-Mt^@^@^BM-f)
> Jan 26 12:44:36 pluto pptp[9532]: log[pptp_dispatch_ctrl_packet:pptp_ctrl.c:786]:   send_accm is FFFFFFFF, recv_accm is FFFFFFFF
> Jan 26 12:44:36 pluto pptp[9532]: log[pptp_dispatch_ctrl_packet:pptp_ctrl.c:734]: received call clear rqst: cid 17363 reserved 0
> Jan 26 12:44:39 pluto pppd[9534]: Connection terminated.
> Jan 26 12:44:40 pluto pppd[9534]: Exit.
> 
> Sometimes I even get a local / remote IP address in the debugs.  Any ideas where I'm off?  I've read every piece of pptp client documentation.  Any help is appreciated.
> 
> dan
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug



More information about the LUG mailing list