From owner-freebsd-net Thu Jun 13 12: 6:46 2002 Delivered-To: freebsd-net@freebsd.org Received: from m20.unixathome.org (m20.unixathome.org [216.187.106.227]) by hub.freebsd.org (Postfix) with ESMTP id 8A1F337B44B for ; Thu, 13 Jun 2002 12:04:10 -0700 (PDT) Received: by m20.unixathome.org (Postfix, from userid 1001) id EEC307A11; Thu, 13 Jun 2002 15:01:38 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by m20.unixathome.org (Postfix) with ESMTP id B68A21F03; Thu, 13 Jun 2002 15:01:38 -0400 (EDT) Date: Thu, 13 Jun 2002 15:01:38 -0400 (EDT) From: Dan Langille X-X-Sender: dan@m20.unixathome.org To: Archie Cobbs Cc: freebsd-net@freebsd.org Subject: Re: mpd for pptp - can't connect In-Reply-To: <200206131834.g5DIYkE19471@arch20m.dellroad.org> Message-ID: <20020613150052.P15223-100000@m20.unixathome.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, 13 Jun 2002, Archie Cobbs wrote: > [ moving discussion to freebsd-net ] > > Dan Langille writes: > > A while back, mpd was suggested as a pptp client. I've started looking at > > it. However, I'm having trouble getting it to connect. The office has a > > MS server and I'm trying to connect using mpd. FWIW, I can connect via > > pptp-client. > > > > The office IP is 1.2.3.4 > > My dual homed gateway has an internal address of 192.168.0.21 (ie. that's > > my default address for boxes on the home LAN). > > The office server has internal address of 10.0.0.18 > > I can connect using MS CHAP V2, MPPE 128, MPPC from my W2K box. > > > > Of note, I see this in the logs but don't know the significance: "pptp0: > > CID 0xbc51 in SetLinkInfo not found" > > That can be safely ignored. Just another harmless Windows bug. > > > vpn: > > new -i ng1 vpn vpn > > set iface disable on-demand > > set iface addrs 192.168.0.21 10.0.1.18 > > set iface idle 0 > > set iface route 10.0.1.0/24 > > set pptp peer 1.2.3.4 > > set bundle disable multilink > > set bundle authname dan > > set bundle password secret > > set link yes acfcomp protocomp > > set link no pap > > set link enable chap > ^^^^^^^^^^^^^^^^^^^^ > > set link accept chap > > set ipcp no vjcomp > > Try "set link disable chap" instead. The Windows box may be > getting confused when you try to authenticate it. Thanks. [root@bast:/home/dan] # /usr/local/sbin/mpd Multi-link PPP for FreeBSD, by Archie L. Cobbs. Based on iij-ppp, by Toshiharu OHNO. mpd: pid 88277, version 3.8 (root@bast.unixathome.org 06:56 13-Jun-2002) [vpn] ppp node is "mpd88277-vpn" [vpn] using interface ng1 [vpn] IFACE: Open event [vpn] IPCP: Open event [vpn] IPCP: state change Initial --> Starting [vpn] IPCP: LayerStart [vpn:vpn] [vpn] bundle: OPEN event in state CLOSED [vpn] opening link "vpn"... [vpn] link: OPEN event [vpn] LCP: Open event [vpn] LCP: state change Initial --> Starting [vpn] LCP: LayerStart [vpn] device: OPEN event in state DOWN pptp0: connecting to 1.2.3.4:1723 [vpn] device is now in state OPENING pptp0: connected to 1.2.3.4:1723 pptp0: attached to connection with 1.2.3.4:1723 pptp0-0: outgoing call connected at 14808325 bps [vpn] PPTP call successful [vpn] device: UP event in state OPENING [vpn] device is now in state UP [vpn] link: UP event [vpn] link: origination is local [vpn] LCP: Up event [vpn] LCP: state change Starting --> Req-Sent [vpn] LCP: phase shift DEAD --> ESTABLISH [vpn] LCP: SendConfigReq #1 ACFCOMP PROTOCOMP MRU 1500 MAGICNUM 3edcfa59 [vpn] LCP: rec'd Configure Request #0 link 0 (Req-Sent) AUTHPROTO CHAP MSOFTv2 MAGICNUM 7ef15c22 PROTOCOMP ACFCOMP CALLBACK Not supported MP MRRU 1614 ENDPOINTDISC [LOCAL] 71 35 8f ec 71 33 4c 72 b2 5e 3e c3 c4 1f 11 c5 00 00 00 00 UNKNOWN[23] len=4 [vpn] LCP: SendConfigRej #0 CALLBACK MP MRRU 1614 UNKNOWN[23] len=4 [vpn] LCP: rec'd Configure Ack #1 link 0 (Req-Sent) ACFCOMP PROTOCOMP MRU 1500 MAGICNUM 3edcfa59 [vpn] LCP: state change Req-Sent --> Ack-Rcvd [vpn] LCP: rec'd Configure Request #1 link 0 (Ack-Rcvd) AUTHPROTO CHAP MSOFTv2 MAGICNUM 7ef15c22 PROTOCOMP ACFCOMP ENDPOINTDISC [LOCAL] 71 35 8f ec 71 33 4c 72 b2 5e 3e c3 c4 1f 11 c5 00 00 00 00 [vpn] LCP: SendConfigAck #1 AUTHPROTO CHAP MSOFTv2 MAGICNUM 7ef15c22 PROTOCOMP ACFCOMP ENDPOINTDISC [LOCAL] 71 35 8f ec 71 33 4c 72 b2 5e 3e c3 c4 1f 11 c5 00 00 00 00 [vpn] LCP: state change Ack-Rcvd --> Opened [vpn] LCP: phase shift ESTABLISH --> AUTHENTICATE [vpn] LCP: auth: peer wants CHAP, I want nothing [vpn] LCP: LayerUp pptp0: CID 0xf158 in SetLinkInfo not found [vpn] CHAP: rec'd CHALLENGE #0 Name: "ROGERT" Using authname "dan" [vpn] CHAP: sending RESPONSE [vpn] CHAP: rec'd SUCCESS #0 MESG: S=BABBB2EEDA09AEB119FD3A08673B8AAC8C4587E8 [vpn] LCP: authorization successful [vpn] LCP: phase shift AUTHENTICATE --> NETWORK [vpn] up: 1 link, total bandwidth 64000 bps [vpn] IPCP: Up event [vpn] IPCP: state change Starting --> Req-Sent [vpn] IPCP: SendConfigReq #1 IPADDR 192.168.0.21 [vpn] rec'd unexpected protocol CCP on link 0, rejecting [vpn] IPCP: rec'd Configure Request #4 link 0 (Req-Sent) IPADDR 10.0.1.18 10.0.1.18 is OK [vpn] IPCP: SendConfigAck #4 IPADDR 10.0.1.18 [vpn] IPCP: state change Req-Sent --> Ack-Sent [vpn] IPCP: rec'd Configure Nak #1 link 0 (Ack-Sent) IPADDR 10.0.1.26 10.0.1.26 is unacceptable [vpn] IPCP: SendConfigReq #2 IPADDR 192.168.0.21 pptp0: CID 0xf158 in SetLinkInfo not found [vpn] LCP: rec'd Terminate Request #5 link 0 (Opened) [vpn] LCP: state change Opened --> Stopping [vpn] LCP: phase shift NETWORK --> TERMINATE [vpn] up: 0 links, total bandwidth 9600 bps [vpn] IPCP: Down event [vpn] IPCP: state change Ack-Sent --> Starting [vpn] LCP: SendTerminateAck #2 [vpn] LCP: LayerDown [vpn] LCP: rec'd Terminate Request #6 link 0 (Stopping) [vpn] LCP: SendTerminateAck #3 [vpn] LCP: state change Stopping --> Stopped [vpn] LCP: phase shift TERMINATE --> ESTABLISH [vpn] LCP: LayerFinish [vpn] device: CLOSE event in state UP pptp0-0: clearing call [vpn] device is now in state CLOSING [vpn] device: DOWN event in state CLOSING [vpn] device is now in state DOWN [vpn] link: DOWN event [vpn] LCP: Down event [vpn] LCP: state change Stopped --> Starting [vpn] LCP: phase shift ESTABLISH --> DEAD [vpn] LCP: LayerStart [vpn] device: OPEN event in state DOWN [vpn] pausing 7 seconds before open [vpn] device is now in state DOWN [vpn] device: OPEN event in state DOWN [vpn] device is now in state DOWN pptp0-0: peer call disconnected res=zero? err=none pptp0-0: killing channel pptp0: closing connection with 1.2.3.4:1723 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message