Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Mar 2004 00:45:40 +0200
From:      Martin Tsachev <martin@f2o.org>
To:        freebsd-questions@freebsd.org
Subject:   PPTP client LCP errors
Message-ID:  <200403220045.42780.martin@f2o.org>

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

Hi guys,

I'm having a problem connection to a PPTP server using FreeBSD 5.2 and pptp=
=20
linux 1.3.1. It works fine from a Debian box that's behind the FreeBSD=20
gateway that I want to connect to the VPN but since FreeBSD's ppp is=20
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=20
connect. The linux config is pretty straightforward but if you need that I=
=20
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=20
# open lcp
# set openmode passive

# set openmode passive
# set stopped 3
# disable lqr
=20
 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=20
Req-Sent=20
Mar 22 00:34:57 mtb ppp[9415]: tun0: LCP:  ACFCOMP[2]=20
Mar 22 00:34:57 mtb ppp[9415]: tun0: LCP:  PROTOCOMP[2]=20
Mar 22 00:34:57 mtb ppp[9415]: tun0: LCP:  ACCMAP[6] 0x00000000=20
Mar 22 00:34:57 mtb ppp[9415]: tun0: LCP:  MRU[4] 1500=20
Mar 22 00:34:57 mtb ppp[9415]: tun0: LCP:  MAGICNUM[6] 0xda445afa=20



Mar 22 00:34:52 mtb ppp[9415]: Phase: Using interface: tun0=20
Mar 22 00:34:52 mtb ppp[9415]: Phase: deflink: Created in closed state=20
Mar 22 00:34:52 mtb ppp[9415]: tun0: Phase: PPP Started (direct mode).=20
Mar 22 00:34:52 mtb ppp[9415]: tun0: Phase: bundle: Establish=20
Mar 22 00:34:52 mtb ppp[9415]: tun0: Phase: deflink: closed -> opening=20
Mar 22 00:34:52 mtb ppp[9415]: tun0: Phase: deflink: Connected!=20
Mar 22 00:34:52 mtb ppp[9415]: tun0: Phase: deflink: opening -> carrier=20
Mar 22 00:34:53 mtb ppp[9415]: tun0: Phase: deflink: carrier -> lcp=20
Mar 22 00:34:53 mtb ppp[9415]: tun0: LCP: FSM: Using "deflink" as a transpo=
rt=20
Mar 22 00:34:53 mtb ppp[9415]: tun0: LCP: deflink: State change Initial -->=
=20
Closed=20
Mar 22 00:34:53 mtb ppp[9415]: tun0: LCP: deflink: State change Closed -->=
=20
Stopped=20
Mar 22 00:34:54 mtb ppp[9415]: tun0: LCP: deflink: LayerStart=20
Mar 22 00:34:54 mtb ppp[9415]: tun0: LCP: deflink: SendConfigReq(1) state =
=3D=20
Stopped=20
Mar 22 00:34:54 mtb ppp[9415]: tun0: LCP:  ACFCOMP[2]=20
Mar 22 00:34:54 mtb ppp[9415]: tun0: LCP:  PROTOCOMP[2]=20
Mar 22 00:34:54 mtb ppp[9415]: tun0: LCP:  ACCMAP[6] 0x00000000=20
Mar 22 00:34:54 mtb ppp[9415]: tun0: LCP:  MRU[4] 1500=20
Mar 22 00:34:54 mtb ppp[9415]: tun0: LCP:  MAGICNUM[6] 0xda445afa=20
Mar 22 00:34:54 mtb ppp[9415]: tun0: LCP: deflink: State change Stopped -->=
=20
Req-Sent=20
Mar 22 00:34:57 mtb ppp[9415]: tun0: LCP: deflink: SendConfigReq(1) state =
=3D=20
Req-Sent=20
Mar 22 00:34:57 mtb ppp[9415]: tun0: LCP:  ACFCOMP[2]=20
Mar 22 00:34:57 mtb ppp[9415]: tun0: LCP:  PROTOCOMP[2]=20
Mar 22 00:34:57 mtb ppp[9415]: tun0: LCP:  ACCMAP[6] 0x00000000=20
Mar 22 00:34:57 mtb ppp[9415]: tun0: LCP:  MRU[4] 1500=20
Mar 22 00:34:57 mtb ppp[9415]: tun0: LCP:  MAGICNUM[6] 0xda445afa=20
Mar 22 00:35:00 mtb ppp[9415]: tun0: LCP: deflink: SendConfigReq(1) state =
=3D=20
Req-Sent=20
Mar 22 00:35:00 mtb ppp[9415]: tun0: LCP:  ACFCOMP[2]=20
Mar 22 00:35:00 mtb ppp[9415]: tun0: LCP:  PROTOCOMP[2]=20
Mar 22 00:35:00 mtb ppp[9415]: tun0: LCP:  ACCMAP[6] 0x00000000=20
Mar 22 00:35:00 mtb ppp[9415]: tun0: LCP:  MRU[4] 1500=20
Mar 22 00:35:00 mtb ppp[9415]: tun0: LCP:  MAGICNUM[6] 0xda445afa=20
Mar 22 00:35:03 mtb ppp[9415]: tun0: LCP: deflink: SendConfigReq(1) state =
=3D=20
Req-Sent=20
Mar 22 00:35:03 mtb ppp[9415]: tun0: LCP:  ACFCOMP[2]=20
Mar 22 00:35:03 mtb ppp[9415]: tun0: LCP:  PROTOCOMP[2]=20
Mar 22 00:35:03 mtb ppp[9415]: tun0: LCP:  ACCMAP[6] 0x00000000=20
Mar 22 00:35:03 mtb ppp[9415]: tun0: LCP:  MRU[4] 1500=20
Mar 22 00:35:03 mtb ppp[9415]: tun0: LCP:  MAGICNUM[6] 0xda445afa=20
Mar 22 00:35:06 mtb ppp[9415]: tun0: LCP: deflink: SendConfigReq(1) state =
=3D=20
Req-Sent=20
Mar 22 00:35:06 mtb ppp[9415]: tun0: LCP:  ACFCOMP[2]=20
Mar 22 00:35:06 mtb ppp[9415]: tun0: LCP:  PROTOCOMP[2]=20
Mar 22 00:35:06 mtb ppp[9415]: tun0: LCP:  ACCMAP[6] 0x00000000=20
Mar 22 00:35:06 mtb ppp[9415]: tun0: LCP:  MRU[4] 1500=20
Mar 22 00:35:06 mtb ppp[9415]: tun0: LCP:  MAGICNUM[6] 0xda445afa=20
Mar 22 00:35:09 mtb ppp[9415]: tun0: LCP: deflink: LayerFinish=20
Mar 22 00:35:09 mtb ppp[9415]: tun0: LCP: deflink: State change Req-Sent --=
>=20
Stopped=20
Mar 22 00:35:09 mtb ppp[9415]: tun0: LCP: deflink: State change Stopped -->=
=20
Closed=20
Mar 22 00:35:09 mtb ppp[9415]: tun0: LCP: deflink: State change Closed -->=
=20
Initial=20
Mar 22 00:35:09 mtb ppp[9415]: tun0: Phase: deflink: Disconnected!=20
Mar 22 00:35:09 mtb ppp[9415]: tun0: Phase: deflink: Connect time: 17 secs:=
 0=20
octets in, 260 octets out=20
Mar 22 00:35:09 mtb ppp[9415]: tun0: Phase: deflink: 0 packets in, 5 packet=
s=20
out=20
Mar 22 00:35:09 mtb ppp[9415]: tun0: Phase:  total 15 bytes/sec, peak 20=20
bytes/sec on Mon Mar 22 00:34:57 2004=20
Mar 22 00:35:09 mtb ppp[9415]: tun0: Phase: deflink: lcp -> closed=20
Mar 22 00:35:09 mtb ppp[9415]: tun0: Phase: bundle: Dead=20
Mar 22 00:35:09 mtb ppp[9415]: tun0: Phase: PPP Terminated (normal).=20



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

iD8DBQFAXhsWypytlz9Py3wRAmRJAJ9zSiyR9kRS5kKFnZvHtsqSFSKXFgCfRBfE
kZWAtHVDUE0KgwTJakhCD5Y=3D
=3DUXdF
=2D----END PGP SIGNATURE-----



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