From owner-freebsd-net Thu Nov 22 22: 0:13 2001 Delivered-To: freebsd-net@freebsd.org Received: from InterJet.dellroad.org (adsl-63-194-81-26.dsl.snfc21.pacbell.net [63.194.81.26]) by hub.freebsd.org (Postfix) with ESMTP id 9D73537B416 for ; Thu, 22 Nov 2001 22:00:04 -0800 (PST) Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.1.1.20]) by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id VAA39243; Thu, 22 Nov 2001 21:50:31 -0800 (PST) Received: (from archie@localhost) by arch20m.dellroad.org (8.11.6/8.11.6) id fAN5oVZ90201; Thu, 22 Nov 2001 21:50:31 -0800 (PST) (envelope-from archie) From: Archie Cobbs Message-Id: <200111230550.fAN5oVZ90201@arch20m.dellroad.org> Subject: Re: mpd-netgraph configuration files In-Reply-To: "from Thor Legvold at Nov 21, 2001 06:42:59 pm" To: Thor Legvold Date: Thu, 22 Nov 2001 21:50:31 -0800 (PST) Cc: freebsd-net@freebsd.org X-Mailer: ELM [version 2.4ME+ PL82 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII 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 Thor Legvold writes: > Still debugging, some questions to verify I have the proper config. > > FBSD dual homed host/gw for a home LAN > dc0 home LAN 192.168.128.0/24 > wi0 ISP WAN 10.10.0.0/16 > > IPFW and NAT are running, ipfw is wide open at present, natd running -m -s > -dynamic on wi0. Don't know if I need anything else special on nat for PPTP > to work. > > My ISP has a pool of dynamically assignable (DHCP) routable IP's that they > assign via a PPTP server at 10.10.1.1. The routable IP's are in the range > 213.225.121.0/24 as far as I understand. > > My config looks like this: > > # mpd.conf > access: > new -i ng0 access access > set iface idle 0 > set iface route default > set iface disable on-demand > set bundle disable multilink > set bundle authname "myreallogin" > set bundle password "myrealpassword" > set link yes pap > set link yes chap Replace "yes" with "allow" in the above two lines. > set link no mppc Not a valid command.. maybe you mean 'set ccp no mppc' ? > set link disable no-orig-auth > set ipcp ranges 0.0.0.0/0 10.10.1.1/0 > and links like this: > > # mpd.links > access: > set link type pptp > set pptp mode active > set pptp peer 10.10.1.1 > set pptp enable originate outcall > Does this appear at all correct? My ISP knows a bit about Linux (they use it > for the PPTP/VPN server, running PoPToP), and said I needed a "name" > variable somewhere, at least when connecting from Linux (but not Windows). > Should I use the "set link ident" for this? Are you sure they don't want you to do PPPoE instead of PPTP? PPPoE requires a name, but PPTP doesn't. -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