From owner-freebsd-net Mon Jul 1 2:54:17 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 A3B7137B400 for ; Mon, 1 Jul 2002 02:54:11 -0700 (PDT) Received: from smtp07.wxs.nl (smtp07.wxs.nl [195.121.6.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8689843E09 for ; Mon, 1 Jul 2002 02:54:10 -0700 (PDT) (envelope-from Peter.Blok@inter.NL.net) Received: from bsdpc ([80.60.248.65]) by smtp07.wxs.nl (Netscape Messaging Server 4.15) with ESMTP id GYKE6702.LXM for ; Mon, 1 Jul 2002 11:54:07 +0200 From: "Peter J. Blok" To: freebsd-net@freebsd.org Subject: mpd netgraph pptp server Date: Mon, 1 Jul 2002 10:22:13 +0200 User-Agent: KMail/1.4.1 MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="------------Boundary-00=_1X9KWS7IL37ZUWTQVY8I" Message-Id: <200207011022.13398.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 --------------Boundary-00=_1X9KWS7IL37ZUWTQVY8I Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8bit Hi, 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? Am I doing something wrong here? See attachments Thx, Peter --------------Boundary-00=_1X9KWS7IL37ZUWTQVY8I Content-Type: text/plain; charset="us-ascii"; name="mpd.conf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="mpd.conf" default: load pptp1 load pptp2 pptp1: new -i ng1 pptp1 pptp1 log +auth +ccp +chat +fsm +iface +pptp +ipcp +lcp +link +phys set iface disable on-demand set iface enable proxy-arp set iface idle 0 set bundle disable multilink set link yes acfcomp protocomp set link no pap chap set link enable chap set link keep-alive 10 60 set ipcp yes vjcomp set ipcp ranges 192.168.10.1/32 192.168.10.2/32 set ipcp dns 192.168.1.1 set ipcp nbns 192.168.1.135 set bundle enable compression set ccp yes mppc pptp2: new -i ng2 pptp2 pptp2 log +auth +ccp +chat +fsm +iface +pptp +ipcp +lcp +link +phys set iface disable on-demand set iface enable proxy-arp set iface idle 0 set bundle disable multilink set link yes acfcomp protocomp set link no pap chap set link enable chap set link keep-alive 10 60 set ipcp yes vjcomp set ipcp ranges 192.168.2.1/32 192.168.2.2/32 set ipcp dns 192.168.2.1 set ipcp nbns 192.168.2.1 set bundle enable compression set ccp yes mppc --------------Boundary-00=_1X9KWS7IL37ZUWTQVY8I Content-Type: text/plain; charset="us-ascii"; name="mpd.links" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="mpd.links" pptp1: set link type pptp set pptp self 192.168.10.1 set pptp enable incoming set pptp disable originate pptp2: set link type pptp set pptp self 192.168.2.1 set pptp enable incoming set pptp disable originate --------------Boundary-00=_1X9KWS7IL37ZUWTQVY8I-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message