From owner-freebsd-net Tue Jul 2 14:15:39 2002 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 37C0C37C1B5 for ; Tue, 2 Jul 2002 14:13:13 -0700 (PDT) Received: from smtp01.wxs.nl (smtp01.wxs.nl [195.121.6.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF1BB44CB0 for ; Tue, 2 Jul 2002 13:26:44 -0700 (PDT) (envelope-from Peter.Blok@inter.NL.net) Received: from bsdpc ([80.60.248.65]) by smtp01.wxs.nl (Netscape Messaging Server 4.15) with ESMTP id GYN24J02.0JV; Tue, 2 Jul 2002 22:26:43 +0200 Content-Type: text/plain; charset="iso-8859-1" From: "Peter J. Blok" To: Archie Cobbs Subject: Re: mpd netgraph pptp server Date: Tue, 2 Jul 2002 22:26:20 +0200 User-Agent: KMail/1.4.1 Cc: freebsd-net@FreeBSD.ORG References: <200207021914.g62JEiG99589@arch20m.dellroad.org> In-Reply-To: <200207021914.g62JEiG99589@arch20m.dellroad.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200207022226.20185.Peter.Blok@inter.NL.net> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tuesday 02 July 2002 21:14, Archie Cobbs wrote: > Peter J. Blok writes: > > I have a gateway/firewall which is the spider in the web for different IP > > segments. From two segments 192.168.2.0/24 and 192.168.10.0/24 I am > > trying to setup PPTP tunnels. I have two different pptp sections (pptp1 > > and pptp2) in both mpd.conf and mpd.links with unique names. Each pptp > > section has its own "pptp self" listen address. > > > > The problem is that the mpd daemon only listens on the first pptp (pptp1) > > section and doesn't listen on the 2nd (pptp2). When I load pptp2 first > > before pptp1 it is the other way around. I am using sockstat -l to > > confirm where mpd is listening on? > > Mpd only supports listening on one IP address for PPTP connections. > > Can you try changing both IP addresses to 0.0.0.0? Yes, I have done that after I looked at the source. The problem remained that it was picking the wrong link. Then I saw that based on the pptp peer address the best link is picked, which is what I use right now. Thx for the help anyway, Peter > > -Archie > > __________________________________________________________________________ > Archie Cobbs * Packet Design * http://www.packetdesign.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message