Date: Wed, 24 Mar 2004 22:45:46 +0800 From: "Paul Hamilton" <paul@bdug.org.au> To: "Martin Tsachev" <martin@f2o.org>, <freebsd-questions@freebsd.org> Subject: RE: PPTP client LCP errors Message-ID: <AGEHIFHGNEMPFNCPLONMEEBBGCAA.paul@bdug.org.au> In-Reply-To: <200403220045.42780.martin@f2o.org>
next in thread | previous in thread | raw e-mail | index | archive | help
How about using mpd, as your VPN server? Nice and easy to install and configure. See the mpd port. Cheers, Paul -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Martin Tsachev Sent: Monday, 22 March 2004 6:46 AM To: freebsd-questions@freebsd.org Subject: PPTP client LCP errors -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi guys, I'm having a problem connection to a PPTP server using FreeBSD 5.2 and pptp linux 1.3.1. It works fine from a Debian box that's behind the FreeBSD gateway that I want to connect to the VPN but since FreeBSD's ppp is different than the one in Linux I cannot simply copy my config. The server doesn't use mppe, on windows you have to disable LCP extensions to connect. The linux config is pretty straightforward but if you need that I can copy it too. Here's what I have on FreeBSD: /etc/ppp/ppp.conf vpn: # down lcp # disable vjcomp # disable MSCHAPv2 # disable mppe # enable deflate pred1 # close lcp # lcp-echo-interval 30 # lcp-echo-request 0 # open lcp # set openmode passive # set openmode passive # set stopped 3 # disable lqr set authname username set authkey password set timeout 0 set ifaddr 0 0 add 192.168.0.0/16 HISADDR # set log Phase LCP Connect tun Warning Alert set log phase chat lcp ipcp ccp tun command # alias enable yes # noauth I start it by doing ppp ip vpn. and in /var/log/ppp.log when trying to connect I get: The following part is repeated a few times and I think it's failing: Mar 22 00:34:57 mtb ppp[9415]: tun0: LCP: deflink: SendConfigReq(1) state = Req-Sent Mar 22 00:34:57 mtb ppp[9415]: tun0: LCP: ACFCOMP[2] Mar 22 00:34:57 mtb ppp[9415]: tun0: LCP: PROTOCOMP[2] Mar 22 00:34:57 mtb ppp[9415]: tun0: LCP: ACCMAP[6] 0x00000000 Mar 22 00:34:57 mtb ppp[9415]: tun0: LCP: MRU[4] 1500 Mar 22 00:34:57 mtb ppp[9415]: tun0: LCP: MAGICNUM[6] 0xda445afa Mar 22 00:34:52 mtb ppp[9415]: Phase: Using interface: tun0 Mar 22 00:34:52 mtb ppp[9415]: Phase: deflink: Created in closed state Mar 22 00:34:52 mtb ppp[9415]: tun0: Phase: PPP Started (direct mode). Mar 22 00:34:52 mtb ppp[9415]: tun0: Phase: bundle: Establish Mar 22 00:34:52 mtb ppp[9415]: tun0: Phase: deflink: closed -> opening Mar 22 00:34:52 mtb ppp[9415]: tun0: Phase: deflink: Connected! Mar 22 00:34:52 mtb ppp[9415]: tun0: Phase: deflink: opening -> carrier Mar 22 00:34:53 mtb ppp[9415]: tun0: Phase: deflink: carrier -> lcp Mar 22 00:34:53 mtb ppp[9415]: tun0: LCP: FSM: Using "deflink" as a transport Mar 22 00:34:53 mtb ppp[9415]: tun0: LCP: deflink: State change Initial --> Closed Mar 22 00:34:53 mtb ppp[9415]: tun0: LCP: deflink: State change Closed --> Stopped Mar 22 00:34:54 mtb ppp[9415]: tun0: LCP: deflink: LayerStart Mar 22 00:34:54 mtb ppp[9415]: tun0: LCP: deflink: SendConfigReq(1) state = Stopped Mar 22 00:34:54 mtb ppp[9415]: tun0: LCP: ACFCOMP[2] Mar 22 00:34:54 mtb ppp[9415]: tun0: LCP: PROTOCOMP[2] Mar 22 00:34:54 mtb ppp[9415]: tun0: LCP: ACCMAP[6] 0x00000000 Mar 22 00:34:54 mtb ppp[9415]: tun0: LCP: MRU[4] 1500 Mar 22 00:34:54 mtb ppp[9415]: tun0: LCP: MAGICNUM[6] 0xda445afa Mar 22 00:34:54 mtb ppp[9415]: tun0: LCP: deflink: State change Stopped --> Req-Sent Mar 22 00:34:57 mtb ppp[9415]: tun0: LCP: deflink: SendConfigReq(1) state = Req-Sent Mar 22 00:34:57 mtb ppp[9415]: tun0: LCP: ACFCOMP[2] Mar 22 00:34:57 mtb ppp[9415]: tun0: LCP: PROTOCOMP[2] Mar 22 00:34:57 mtb ppp[9415]: tun0: LCP: ACCMAP[6] 0x00000000 Mar 22 00:34:57 mtb ppp[9415]: tun0: LCP: MRU[4] 1500 Mar 22 00:34:57 mtb ppp[9415]: tun0: LCP: MAGICNUM[6] 0xda445afa Mar 22 00:35:00 mtb ppp[9415]: tun0: LCP: deflink: SendConfigReq(1) state = Req-Sent Mar 22 00:35:00 mtb ppp[9415]: tun0: LCP: ACFCOMP[2] Mar 22 00:35:00 mtb ppp[9415]: tun0: LCP: PROTOCOMP[2] Mar 22 00:35:00 mtb ppp[9415]: tun0: LCP: ACCMAP[6] 0x00000000 Mar 22 00:35:00 mtb ppp[9415]: tun0: LCP: MRU[4] 1500 Mar 22 00:35:00 mtb ppp[9415]: tun0: LCP: MAGICNUM[6] 0xda445afa Mar 22 00:35:03 mtb ppp[9415]: tun0: LCP: deflink: SendConfigReq(1) state = Req-Sent Mar 22 00:35:03 mtb ppp[9415]: tun0: LCP: ACFCOMP[2] Mar 22 00:35:03 mtb ppp[9415]: tun0: LCP: PROTOCOMP[2] Mar 22 00:35:03 mtb ppp[9415]: tun0: LCP: ACCMAP[6] 0x00000000 Mar 22 00:35:03 mtb ppp[9415]: tun0: LCP: MRU[4] 1500 Mar 22 00:35:03 mtb ppp[9415]: tun0: LCP: MAGICNUM[6] 0xda445afa Mar 22 00:35:06 mtb ppp[9415]: tun0: LCP: deflink: SendConfigReq(1) state = Req-Sent Mar 22 00:35:06 mtb ppp[9415]: tun0: LCP: ACFCOMP[2] Mar 22 00:35:06 mtb ppp[9415]: tun0: LCP: PROTOCOMP[2] Mar 22 00:35:06 mtb ppp[9415]: tun0: LCP: ACCMAP[6] 0x00000000 Mar 22 00:35:06 mtb ppp[9415]: tun0: LCP: MRU[4] 1500 Mar 22 00:35:06 mtb ppp[9415]: tun0: LCP: MAGICNUM[6] 0xda445afa Mar 22 00:35:09 mtb ppp[9415]: tun0: LCP: deflink: LayerFinish Mar 22 00:35:09 mtb ppp[9415]: tun0: LCP: deflink: State change Req-Sent --> Stopped Mar 22 00:35:09 mtb ppp[9415]: tun0: LCP: deflink: State change Stopped --> Closed Mar 22 00:35:09 mtb ppp[9415]: tun0: LCP: deflink: State change Closed --> Initial Mar 22 00:35:09 mtb ppp[9415]: tun0: Phase: deflink: Disconnected! Mar 22 00:35:09 mtb ppp[9415]: tun0: Phase: deflink: Connect time: 17 secs: 0 octets in, 260 octets out Mar 22 00:35:09 mtb ppp[9415]: tun0: Phase: deflink: 0 packets in, 5 packets out Mar 22 00:35:09 mtb ppp[9415]: tun0: Phase: total 15 bytes/sec, peak 20 bytes/sec on Mon Mar 22 00:34:57 2004 Mar 22 00:35:09 mtb ppp[9415]: tun0: Phase: deflink: lcp -> closed Mar 22 00:35:09 mtb ppp[9415]: tun0: Phase: bundle: Dead Mar 22 00:35:09 mtb ppp[9415]: tun0: Phase: PPP Terminated (normal). - -- Martin Tsachev http://martin.f2o.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQFAXhsWypytlz9Py3wRAmRJAJ9zSiyR9kRS5kKFnZvHtsqSFSKXFgCfRBfE kZWAtHVDUE0KgwTJakhCD5Y= =UXdF -----END PGP SIGNATURE----- _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AGEHIFHGNEMPFNCPLONMEEBBGCAA.paul>