-----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 client.

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

> Nice and easy to install and configure.  See the mpd port.
>
> Cheers,
>
> Paul
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Martin Tsachev
> Sent: Monday, 22 March 2004 6:46 AM
> To: [EMAIL PROTECTED]
> Subject: PPTP client LCP errors
>
>
> 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://www.mtweb.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFAYahEypytlz9Py3wRApeHAJ9+jwc3CuHxzQK2XRl8dDJiXv1UfwCcCIfa
0hTx21FqmXBHa6L3Ficr3ps=
=I9h+
-----END PGP SIGNATURE-----
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to