Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Mar 2004 17:24:52 +0200
From:      Martin Tsachev <martin@f2o.org>
To:        "Paul Hamilton" <paul@bdug.org.au>, <freebsd-questions@freebsd.org>
Subject:   Re: PPTP client LCP errors
Message-ID:  <200403241724.52615.martin@f2o.org>
In-Reply-To: <AGEHIFHGNEMPFNCPLONMEEBBGCAA.paul@bdug.org.au>
References:  <AGEHIFHGNEMPFNCPLONMEEBBGCAA.paul@bdug.org.au>

next in thread | previous in thread | raw e-mail | index | archive | help
=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 24 March 2004 16:45, Paul Hamilton wrote:
> How about using mpd, as your VPN server?

Sorry Paul, the I cannot control the VPN server. I can only choose the clie=
nt.

Thanks for the tip, if you've got any more suggestions can you cc me as I a=
m=20
currently off the list.

> 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
>
>
> Hi guys,
>
> I'm having a problem connection to a PPTP server using FreeBSD 5.2 and pp=
tp
> 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=
 =3D
> 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 -=
=2D>
> 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=
 =3D
> 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 -=
=2D>
> Req-Sent
> Mar 22 00:34:57 mtb ppp[9415]: tun0: LCP: deflink: SendConfigReq(1) state=
 =3D
> 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=
 =3D
> 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=
 =3D
> 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=
 =3D
> 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 -=
=2D>
> 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 sec=
s:
> 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).

=2D --=20
Martin Tsachev
http://www.mtweb.org
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFAYahEypytlz9Py3wRApeHAJ9+jwc3CuHxzQK2XRl8dDJiXv1UfwCcCIfa
0hTx21FqmXBHa6L3Ficr3ps=3D
=3DI9h+
=2D----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403241724.52615.martin>