From owner-freebsd-questions Mon Jul 15 10:49: 6 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5495F37B478 for ; Mon, 15 Jul 2002 10:48:54 -0700 (PDT) Received: from cypress.adhesivemedia.com (cypress.adhesivemedia.com [207.202.159.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7236343E42 for ; Mon, 15 Jul 2002 10:48:53 -0700 (PDT) (envelope-from philip@adhesivemedia.com) Received: from cypress.adhesivemedia.com (localhost [127.0.0.1]) by cypress.adhesivemedia.com (8.12.3/8.12.3) with ESMTP id g6FHMcdq045406; Mon, 15 Jul 2002 10:22:38 -0700 (PDT) (envelope-from philip@adhesivemedia.com) Received: from localhost (philip@localhost) by cypress.adhesivemedia.com (8.12.3/8.12.3/Submit) with ESMTP id g6FHMc2o045403; Mon, 15 Jul 2002 10:22:38 -0700 (PDT) X-Authentication-Warning: cypress.adhesivemedia.com: philip owned process doing -bs Date: Mon, 15 Jul 2002 10:22:38 -0700 (PDT) From: Philip Hallstrom To: fred@timogen.com Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Ask help for MPD pptp server In-Reply-To: <002101bfee71$e151c1d0$8c16a93d@fred> Message-ID: <20020715102233.P43596-100000@cypress.adhesivemedia.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG this worked for me. http://stuff.adhesivemedia.com/freebsd/mpd.php On Sat, 15 Jul 2000 fred@timogen.com wrote: > Hi sir. > > I had encouter problems when I set up the pptp server. I want to set up a > pptp server using mpd on freebsd and the windows 2000 client can set up the > PPTP connection to the PPTP Server and then can access the Lan Network, I > had install mpd and see it run successfully, but I cannot make connections > to pptp server. > > I have install a mpd 3.8 on my freebsd(5.0-dp1) box. > It is used as a pptp server and also as a gatewy. > > I see the mpd runs successfully by the log messages, but I cannot connect > the pptp server from the windows 2000 client, the error messages is: > "There is no answer". > > Could u give me some suggestion? > > =====log messages: > Jul 13 08:15:15 pearl mpd: mpd: pid 6208, version 3.8 (root@pearl 16:28 > 12-Jul-2002) > Jul 13 08:15:15 pearl mpd: [pptp1] ppp node is "mpd6208-pptp1" > Jul 13 08:15:15 pearl mpd: mpd: local IP address for PPTP is 192.168.5.99 > Jul 13 08:15:15 pearl mpd: [pptp1] using interface ng2 > Jul 13 08:15:15 pearl mpd: [pptp2] ppp node is "mpd6208-pptp2" > Jul 13 08:15:15 pearl mpd: [pptp2] using interface ng3 > > > =====================MPD.conf======= > > pearl# more mpd.conf > default: > load client1 > load client2 > > pptp_common_settings: > set iface disable on-demand > set iface enable proxy-arp > set iface idle 0 > set bundle enable multilink > set link yes acfcomp protocomp > set link no pap chap > set link enable chap > set link keep-alive 25 60 > set ipcp yes vjcomp > set ipcp dns 192.168.5.99 > set ipcp nbns 192.168.5.99 > > set bundle enable compression > set ccp yes mppc > > # I've been trying mpp-compress every couple > # months... it doesn't work for me. :) > # set ccp yes mpp-compress > > set ccp yes mpp-e40 > set ccp yes mpp-e128 > set ccp yes mpp-stateless > > client1: > new -i ng2 pptp1 pptp1 > set ipcp ranges 192.168.5.126/32 192.168.5.128/32 > load pptp_common_settings > > client2: > new -i ng3 pptp2 pptp2 > set ipcp ranges 192.168.5.126/32 192.168.5.128/32 > load pptp_common_settings > > > ========================mpd.links======================== > pptp1: > set link type pptp > set pptp self 192.168.5.99 > set pptp enable incoming > set pptp disable originate > > pptp2: > set link type pptp > set pptp self 192.168.5.99 > set pptp enable incoming > set pptp disable originate > > > Regards, > Fred Zhang > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message