Date: Mon, 14 Nov 2005 20:54:15 -0800 From: ross <ross.penner@gmail.com> To: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: Re: pptp connection to university VPN Message-ID: <op.sz9mkpc2w0tva9@ross.inet> In-Reply-To: <op.sz8semtzw0tva9@ross.inet> References: <op.sz8semtzw0tva9@ross.inet>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 14 Nov 2005 10:02:36 -0800, ross <ross.penner@gmail.com> wrote: > In order to use the resources of my library, I was hoping to connect to > it's VPN. The online guide provided is at > http://www.itservices.ubc.ca/support/service/vpn.html > > I also found a diary entry http://www.freebsddiary.org/pptp.php > > I followed the diary pretty much exactly using the general linux guide > on the ubc.ca website as a guide and the connection failed. the > /var/log/ppp is: > > Nov 14 08:59:17 ross ppp[2125]: Phase: Using interface: tun0 > Nov 14 08:59:17 ross ppp[2125]: Phase: deflink: Created in closed state > Nov 14 08:59:20 ross ppp[2125]: Warning: The alias command is deprecated > Nov 14 08:59:20 ross ppp[2125]: Phase: PPP Started (direct mode). > Nov 14 08:59:20 ross ppp[2125]: Phase: bundle: Establish > Nov 14 08:59:20 ross ppp[2125]: Phase: deflink: closed -> opening > Nov 14 08:59:20 ross ppp[2125]: Phase: deflink: Connected! > Nov 14 08:59:20 ross ppp[2125]: Phase: deflink: opening -> carrier > Nov 14 08:59:20 ross ppp[2125]: Phase: Signal 15, terminate. > Nov 14 08:59:20 ross ppp[2125]: Phase: deflink: Disconnected! > Nov 14 08:59:20 ross ppp[2125]: Phase: deflink: Connect time: 0 secs: 0 > octets i > n, 0 octets out > Nov 14 08:59:20 ross ppp[2125]: Phase: deflink: 0 packets in, 0 packets > out > Nov 14 08:59:20 ross ppp[2125]: Phase: total 0 bytes/sec, peak 0 > bytes/sec on M > on Nov 14 08:59:20 2005 > Nov 14 08:59:20 ross ppp[2125]: Phase: deflink: carrier -> closed > Nov 14 08:59:20 ross ppp[2125]: Phase: bundle: Dead > Nov 14 08:59:20 ross ppp[2125]: Phase: PPP Terminated (normal). > > I'm guessing that the problem has something to do with the requirement > of mppe128 or mppe-stateless. Browsing the mailing list archive and the > internet failed to help me. Can somebody out there help please? > > Thanks > I've further deduced I might be able to solve my problem with mpd instead of ptppclient. I still can't connect though and I'm unsure why. My mpd.conf file: vpn: new -i ng0 vpn vpn #set iface disable on-demand #set iface addrs 192.168.1.1 192.168.2.1 set iface idle 0 # disconnect the client after 8 hours set iface session 28800 set iface route default set bundle disable multilink set bundle authname "username" #Yes, I changed these from the defaults ;) set bundle password "password" set link yes acfcomp protocomp # set link no pap set link enable chap set link mtu 1460 # If remote machine is NT you need this.. # set link enable no-orig-auth set link keep-alive 10 75 set ipcp yes vjcomp # set ipcp ranges 192.168.1.1/32 192.168.2.1/32 # # The five lines below enable Microsoft Point-to-Point encryption # (MPPE) using the ng_mppc(8) netgraph node type. # set bundle enable compression set ccp yes mppc # set ccp yes mpp-e40 set ccp yes mpp-e128 set bundle enable crypt-reqd set ccp yes mpp-stateless open My mdb.links file: vpn: set link type pptp set pptp self roscar.dyndns.org set pptp peer vpn.ubc.ca set pptp enable originate incoming outcall When I run the command 'mpd vpn' I get the following output: Multi-link PPP for FreeBSD, by Archie L. Cobbs. Based on iij-ppp, by Toshiharu OHNO. mpd: pid 769, version 3.18 (root@ross.inet 13:46 14-Nov-2005) [vpn] ppp node is "mpd769-vpn" [vpn] using interface ng0 [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 142.103.203.46:1723 [vpn] device is now in state OPENING pptp0: connected to 142.103.203.46:1723 pptp0: attached to connection with 142.103.203.46:1723 pptp0-0: outgoing call connected at 64000 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 65a6a3ea AUTHPROTO CHAP MSOFTv2 [vpn] LCP: SendConfigReq #2 ACFCOMP PROTOCOMP MRU 1500 MAGICNUM 65a6a3ea AUTHPROTO CHAP MSOFTv2 [vpn] LCP: rec'd Configure Nak #2 link 0 (Req-Sent) AUTHPROTO CHAP MD5 [vpn] LCP: SendConfigReq #3 ACFCOMP PROTOCOMP MRU 1500 MAGICNUM 65a6a3ea AUTHPROTO CHAP MD5 [vpn] LCP: rec'd Configure Ack #3 link 0 (Req-Sent) ACFCOMP PROTOCOMP MRU 1500 MAGICNUM 65a6a3ea AUTHPROTO CHAP MD5 [vpn] LCP: state change Req-Sent --> Ack-Rcvd [vpn] LCP: rec'd Configure Request #246 link 0 (Ack-Rcvd) MRU 1500 ACCMAP 0x000a0000 AUTHPROTO CHAP MSOFTv2 MAGICNUM 115b55e9 PROTOCOMP ACFCOMP [vpn] LCP: SendConfigAck #246 MRU 1500 ACCMAP 0x000a0000 AUTHPROTO CHAP MSOFTv2 MAGICNUM 115b55e9 PROTOCOMP ACFCOMP [vpn] LCP: state change Ack-Rcvd --> Opened [vpn] LCP: phase shift ESTABLISH --> AUTHENTICATE [vpn] LCP: auth: peer wants CHAP, I want CHAP [vpn] CHAP: sending CHALLENGE [vpn] LCP: LayerUp [vpn] LCP: rec'd Terminate Request #247 link 0 (Opened) [vpn] LCP: state change Opened --> Stopping [vpn] LCP: phase shift AUTHENTICATE --> TERMINATE [vpn] LCP: SendTerminateAck #4 [vpn] LCP: LayerDown pptp0-0: peer call disconnected res=admin action err=none pptp0-0: killing channel [vpn] PPTP call terminated pptp0: closing connection with 142.103.203.46:1723 [vpn] device: DOWN event in state UP [vpn] device is now in state DOWN [vpn] link: DOWN event [vpn] LCP: Down event [vpn] LCP: state change Stopping --> Starting [vpn] LCP: phase shift TERMINATE --> DEAD [vpn] device: OPEN event in state DOWN [vpn] pausing 9 seconds before open [vpn] device is now in state DOWN pptp0: killing connection with 142.103.203.46:1723 ^Cmpd: caught fatal signal int mpd: fatal error, exiting [vpn] IPCP: Down event [vpn] IFACE: Close event [vpn] IPCP: Close event [vpn] IPCP: state change Starting --> Initial [vpn] IPCP: LayerFinish mpd: process 769 terminated I'm sure there is some fault on my end, but my inexperience is blinding me. hopefully this more detailed assesment will get a response. -- What time is it? Dodgeball Time!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.sz9mkpc2w0tva9>